Chombo + EB + MF
3.2
|
#include <ParticleValidRegion.H>
Public Member Functions | |
ParticleValidRegion () | |
Default constructor. User must subsequently call define(). More... | |
~ParticleValidRegion () | |
Destructor. More... | |
ParticleValidRegion (const DisjointBoxLayout &a_domain, const LevelData< BaseFab< bool > > *a_crseValid, const int a_refRatio, const int a_buffer) | |
Full constructor. More... | |
void | define (const DisjointBoxLayout &a_domain, const LevelData< BaseFab< bool > > *a_crseValid, const int a_refRatio, const int a_buffer) |
Like the full constructor. More... | |
const LevelData< BaseFab< bool > > * | mask () const |
Return pointer to valid region. More... | |
Protected Member Functions | |
void | bufferGhostJob (BaseFab< bool > &a_valid, const Box &a_box, const Box &a_domain, const int a_buffer, const int a_dir) |
internal use only More... | |
Protected Attributes | |
bool | m_isDefined |
LevelData< BaseFab< bool > > | m_valid |
levelData mask of valid region More... | |
This class defines the region in which the particle data is valid. The invalid region is a layer of a_buffer cells abutting the next coarser level. The buffer is computed in such a way that during two successive synchronization points the particles deposition/interpolation stencil remains fully contained on this level
|
inline |
Default constructor. User must subsequently call define().
Referenced by ~ParticleValidRegion().
|
inline |
Destructor.
References define(), and ParticleValidRegion().
ParticleValidRegion::ParticleValidRegion | ( | const DisjointBoxLayout & | a_domain, |
const LevelData< BaseFab< bool > > * | a_crseValid, | ||
const int | a_refRatio, | ||
const int | a_buffer | ||
) |
Full constructor.
void ParticleValidRegion::define | ( | const DisjointBoxLayout & | a_domain, |
const LevelData< BaseFab< bool > > * | a_crseValid, | ||
const int | a_refRatio, | ||
const int | a_buffer | ||
) |
Like the full constructor.
Referenced by ~ParticleValidRegion().
Return pointer to valid region.
References bufferGhostJob(), CH_TIME, m_isDefined, and m_valid.
|
inlineprotected |
internal use only
Referenced by mask().
|
protected |
Referenced by mask().
levelData mask of valid region
Referenced by mask().