ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
LB::CouplingBookkeeping Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CouplingBookkeeping()

LB::CouplingBookkeeping::CouplingBookkeeping ( CellStructure const &  cell_structure)
inlineexplicit

Definition at line 112 of file particle_coupling.hpp.

Member Function Documentation

◆ should_be_coupled()

bool LB::CouplingBookkeeping::should_be_coupled ( Particle const &  p)
inline

The documentation for this class was generated from the following file: