Chombo + EB + MF  3.2
Static Public Member Functions | List of all members
ParticleBC Class Reference

#include <ParticleBC.H>

Static Public Member Functions

template<class P >
static void enforcePeriodic (ParticleData< P > &a_particleData, const RealVect &a_leftEdge, const RealVect &a_rightEdge)
 

Member Function Documentation

◆ enforcePeriodic()

template<class P >
void ParticleBC::enforcePeriodic ( ParticleData< P > &  a_particleData,
const RealVect a_leftEdge,
const RealVect a_rightEdge 
)
static

enforces periodic boundary conditions on the particles in a_particleData. Particles that are outside the range given by a_leftEdge and a_rightEdge will have their positions periodiocally shifted until that is no longer true

References CH_SPACEDIM, CH_TIME, ParticleData< P >::getBoxes(), LayoutIterator::ok(), and LayoutIterator::reset().


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