chombo-discharge
|
Utility class for removing geometrically tagged cells. More...
#include <CD_GeoCoarsener.H>
Public Member Functions | |
GeoCoarsener () | |
Constructor. This parses boxes/voxels from the input script. | |
virtual | ~GeoCoarsener () |
Destructor (does nothing) | |
virtual void | coarsenTags (Vector< IntVectSet > &a_tags, const Vector< Real > &a_dx, const RealVect &a_probLo) const |
Coarsen tags. More... | |
virtual Vector< RealBox > | getCoarsenBoxes () const |
Get coarsening boxes. | |
virtual Vector< int > | getCoarsenLevels () const |
Get coarsening levels. | |
Protected Attributes | |
Vector< RealBox > | m_coarsenBoxes |
Coarsening boxes. | |
Vector< int > | m_coarsenLevels |
Coarsening levels. Tags are removed above this level. | |
Vector< int > | m_inverse |
Inverse box or not. | |
Utility class for removing geometrically tagged cells.
This class is an optimization class for coarsening of EBs. The usage of this class is simple; the user defines a set of boxes in which we will remove tags.
|
virtual |
Coarsen tags.
[in] | a_tags | Tags to be modified. |
[in] | a_dx | Grid resolutions. |
[in] | a_probLo | Lower-left corner of simulation domain. |