ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Keep track of ghost particles that have already been coupled once. More...
#include <particle_coupling.hpp>
Public Member Functions | |
CouplingBookkeeping (CellStructure const &cell_structure) | |
bool | should_be_coupled (Particle const &p) |
Determine if a given particle should be coupled. | |
Keep track of ghost particles that have already been coupled once.
In certain cases, there may be more than one ghost for the same particle. To make sure these are only coupled once, ghosts' ids are recorded.
Definition at line 102 of file particle_coupling.hpp.
|
inlineexplicit |
Definition at line 112 of file particle_coupling.hpp.
|
inline |
Determine if a given particle should be coupled.
Definition at line 116 of file particle_coupling.hpp.
References Particle::id(), Particle::is_ghost(), Particle::propagation(), PropagationMode::ROT_VS_RELATIVE, PropagationMode::SYSTEM_DEFAULT, PropagationMode::TRANS_LB_MOMENTUM_EXCHANGE, PropagationMode::TRANS_LB_TRACER, and PropagationMode::TRANS_VS_RELATIVE.