ParticleCellBase defines the interface for cells used by the LinkedCells data structure to store mole...
Definition: ParticleCellBase.h:23
Definition: ParticleCellRMM.h:8
bool isEmpty() const override
Check if current cell contains no molecules.
Definition: ParticleCellRMM.cpp:74
bool addParticle(Molecule &particle, bool checkWhetherDuplicate=false) override
Add a particle to the cell.
Definition: ParticleCellRMM.cpp:34
bool findMoleculeByID(size_t &index, unsigned long molid) const override
Find the index of a molecule in a cell based on its molecule ID.
Definition: ParticleCellRMM.cpp:17