94 #ifdef CONTACT_LIST_HGRID
98 void InsertCell(
int x,
int y,
int z,
unsigned int l,
BaseParticle* obj);
The DPMBase header includes quite a few header files, defining all the handlers, which are essential...
void hGridRemoveParticle(BaseParticle *obj) override
Removes a BaseParticle from the HGrid.
virtual void hGridFindContactsWithinTargetCell(int x, int y, int z, unsigned int l)
Finds contacts between particles in the target cell.
void constructor()
Function that sets the SystemDimension and ParticleDimension to 3.
void hGridFindOneSidedContacts(BaseParticle *obj) override
Finds contacts with the BaseParticle; avoids multiple checks.
bool hGridHasContactsInTargetCell(int x, int y, int z, unsigned int l, const BaseParticle *obj) const
Tests if the BaseParticle has contacts with other Particles in the target cell.
void hGridUpdateParticle(BaseParticle *obj) override
Updates the cell (not the level) of a BaseParticle.
This is the base class for both Mercury2D and Mercury3D. Note the actually abstract grid is defined i...
Mercury3D()
This is the default constructor. All it does is set sensible defaults.
This adds on the hierarchical grid code for 3D problems.
bool hGridHasParticleContacts(const BaseParticle *obj) override
Tests if a BaseParticle has any contacts in the HGrid.
virtual void hGridFindContactsWithTargetCell(int x, int y, int z, unsigned int l, BaseParticle *obj)
Finds contacts between the BaseParticle and the target cell.