interface for particle insertion/removal on coupling cell basis.
Definition ParticleInsertion.h:23
ParticleInsertion(unsigned int insertDeleteMassEveryTimestep)
a simple constructor
Definition ParticleInsertion.h:64
Action
Definition ParticleInsertion.h:27
@ NoAction
No action was taken / Nothing changed.
Definition ParticleInsertion.h:28
@ Deletion
A molecule was deleted.
Definition ParticleInsertion.h:30
@ Insertion
A molecule was inserted.
Definition ParticleInsertion.h:29
bool insertDeleteMassAtTimestep(unsigned int t) const
returns true if mass needs to be inserted or removed in a time step t
Definition ParticleInsertion.h:81
virtual ~ParticleInsertion()
a simple destructor
Definition ParticleInsertion.h:74
virtual coupling::ParticleInsertion< LinkedCell, dim >::Action insertDeleteMass(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, const tarch::la::Vector< dim, double > &couplingCellPosition, const tarch::la::Vector< dim, double > &couplingCellSize, const tarch::la::Vector< dim, double > &meanVelocity, const double &temperature, const coupling::BoundaryForceController< LinkedCell, dim > &boundaryForceController)=0
adds or removes particles to the coupling cell, simulates a mass flow.
virtual bool requiresPotentialEnergyLandscape()=0
returns true, if a potential energy landscape is needed for the insertion/removal.
const unsigned int _insertDeleteMassEveryTimestep
Definition ParticleInsertion.h:85
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15