SPH
|
Handler unconditionally merging the overlapping particles. More...
#include <Collision.h>
Public Member Functions | |
MergeOverlapHandler () | |
virtual void | initialize (Storage &storage) override |
virtual bool | overlaps (const Size UNUSED(i), const Size UNUSED(j)) const override |
virtual void | handle (const Size i, const Size j, FlatSet< Size > &toRemove) override |
Handles the overlap of two particles. More... | |
Public Member Functions inherited from IOverlapHandler | |
virtual bool | overlaps (const Size i, const Size j) const =0 |
Returns true if two particles overlaps. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Handler unconditionally merging the overlapping particles.
Behaves similarly to collision handler MergingCollisionHandler, but there is no check for relative velocities of particles nor angular frequency of the merger - particles are always merged.
Definition at line 392 of file Collision.h.
|
inline |
Definition at line 397 of file Collision.h.
|
inlineoverridevirtual |
Handles the overlap of two particles.
When called, the particles must actually overlap (overlaps must return true). This is checked by assert.
Implements IOverlapHandler.
Definition at line 408 of file Collision.h.
|
inlineoverridevirtual |
Implements IOverlapHandler.
Definition at line 400 of file Collision.h.
|
inlineoverridevirtual |
Definition at line 404 of file Collision.h.