MaMiCo 1.2
|
This class deletes a certain particle from a coupling cell. More...
#include <DeleteParticleMapping.h>
Public Member Functions | |
DeleteParticleMapping (const unsigned int &particle, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) | |
~DeleteParticleMapping () | |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
coupling::datastructures::Molecule< dim > | getDeletedMolecule () const |
Private Attributes | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
const unsigned int | _particle |
unsigned int | _particleCounter |
coupling::datastructures::Molecule< dim > | _deletedMoleculeCopy |
This class deletes a certain particle from a coupling cell.
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor
particle | |
mdSolverInterface |
|
inline |
Destructor
|
inline |
sets the particle counter to zero, before the iteration process begins.
|
inline |
empty function
|
inline |
returns a copy of the deleted molecule.
|
inline |
This function saves a copy of particle that has to be deleted, then deletes the molecule from MD simulation. It does nothiung, if the particle is already deleted.
cell |