ParticleValidRegion Class Reference

#include <ParticleValidRegion.H>

List of all members.


Detailed Description

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

Public Member Functions

 ParticleValidRegion ()
 Default constructor. User must subsequently call define().
 ~ParticleValidRegion ()
 Destructor.
 ParticleValidRegion (const DisjointBoxLayout &a_domain, const LevelData< BaseFab< bool > > *a_crseValid, const int a_refRatio, const int a_buffer)
 Full constructor.
void define (const DisjointBoxLayout &a_domain, const LevelData< BaseFab< bool > > *a_crseValid, const int a_refRatio, const int a_buffer)
 Like the full constructor.
const LevelData< BaseFab< bool > > * mask () const
 Return pointer to valid region.

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

Protected Attributes

bool m_isDefined
LevelData< BaseFab< bool > > m_valid
 levelData mask of valid region

Constructor & Destructor Documentation

ParticleValidRegion::ParticleValidRegion (  )  [inline]

Default constructor. User must subsequently call define().

ParticleValidRegion::~ParticleValidRegion (  )  [inline]

Destructor.

ParticleValidRegion::ParticleValidRegion ( const DisjointBoxLayout a_domain,
const LevelData< BaseFab< bool > > *  a_crseValid,
const int  a_refRatio,
const int  a_buffer 
)

Full constructor.


Member Function Documentation

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.

const LevelData<BaseFab<bool> >* ParticleValidRegion::mask (  )  const [inline]

Return pointer to valid region.

References CH_TIME, m_isDefined, and m_valid.

void ParticleValidRegion::bufferGhostJob ( BaseFab< bool > &  a_valid,
const Box a_box,
const Box a_domain,
const int  a_buffer,
const int  a_dir 
) [inline, protected]

internal use only


Member Data Documentation

Referenced by mask().

levelData mask of valid region

Referenced by mask().


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

Generated on Wed Apr 26 03:27:32 2017 for Chombo + EB + MF by  doxygen 1.5.5