![]() |
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 110 of file particle_coupling.hpp.
|
inlineexplicit |
Definition at line 121 of file particle_coupling.hpp.
|
inline |
Determine if a given particle should be coupled.
Definition at line 125 of file particle_coupling.hpp.
References Particle::id(), Particle::is_ghost(), Particle::propagation(), PropagationMode::ROT_VS_INDEPENDENT, PropagationMode::ROT_VS_RELATIVE, PropagationMode::SYSTEM_DEFAULT, PropagationMode::TRANS_LB_MOMENTUM_EXCHANGE, PropagationMode::TRANS_LB_TRACER, and PropagationMode::TRANS_VS_RELATIVE.
Referenced by System::System::lb_couple_particles(), and lb_tracers_add_particle_force_to_fluid().