|
Public Member Functions |
| RefCellTagger () |
| Null constructor.
|
| RefCellTagger (const ProblemDomain &a_problemDomain, const Real &a_dx, const int &a_refRatio) |
| Constructor which defines no parameters.
|
virtual | ~RefCellTagger () |
| Destructor.
|
void | define () |
void | define (const ProblemDomain &a_problemDomain, const Real &a_dx, const int &a_refRatio) |
void | setParameters (const bool a_useRefineGradient, const Real &a_gradientThreshold, const Interval &a_gradVarInterval, const bool a_useRefineOverDensity, const Real &a_cellMassThreshold, const bool a_useRefineShocks, const Real &a_presJumpThreshold, const bool a_useRefineVorticity, const Real &a_vorticityThreshold, const bool a_useRefineJeansLength, const Real &a_jeansResolThreshold, const bool a_useRefineRegion, const Vector< Box > &a_refineRegion, const Vector< RefineMode > &a_refineMode) |
virtual RefCellTagger * | new_refCellTagger () const |
| Factory method - this object is its own factory.
|
void | setRefineShocks (const bool a_useRefineShocks, const Real &a_presJumpThreshold) |
| set the pressure jump threshold for refinement
|
void | setRefineVorticity (const bool a_useRefineVorticity, const Real &a_vortexThreshold) |
| set the pressure jump threshold for refinement
|
void | setRefineGradient (const bool a_useRefineGradient, const Real &a_gradientThreshold, const Interval &a_gradVarInterval) |
| set the variables for gradient
|
void | setRefineOverdense (const bool a_useRefineOverDensity, const Real &a_cellMassThreshold) |
| set the cell mass threshold for refinement
|
void | setRefineJeans (const bool a_useRefineJeans, const Real &a_jeansResolThreshold) |
| set the jeans resol. threshold for refinement
|
void | setRefineRegion (const bool a_useRefineRegion, const Vector< Box > &a_refineRegion, const Vector< RefineMode > &a_refMode) |
| setup for refinement of a region: a mode can be union or intersection for
|
bool | refineShocks () |
bool | refineVorticity () |
bool | refineOverdense () |
bool | refineGradient (const std::string a_var) |
bool | refineJeans () |
bool | refineRegion () |
virtual bool | needGhostCells () |
| whether or not need to interopolate/copy ghost cells
|
virtual IntVectSet | tagShocks (const LevelData< FArrayBox > &a_U) |
virtual IntVectSet | tagVorticity (const LevelData< FArrayBox > &a_U) |
virtual IntVectSet | tagJeans (const LevelData< FArrayBox > &a_U) |
virtual IntVectSet | tagOverdense (const LevelData< FArrayBox > &a_rho) |
virtual IntVectSet | tagGradient (const LevelData< FArrayBox > &a_U) |
virtual IntVectSet | tagRegion (const RealVect &a_low, const RealVect &a_high, const DisjointBoxLayout &a_grids) |
| Tag all cells in the specified region of space.
|
virtual IntVectSet | tagRegion (const IntVectSet &a_tags, const int a_level, const DisjointBoxLayout &a_grids) |
| Tag all cells in the region defined in the setRefinedRegion function.
|
Protected Member Functions |
void | relativeGradient (FArrayBox &a_gradMagFab, const FArrayBox &a_varFab, const int a_comp, const Box &a_box) |
Protected Attributes |
bool | m_isDefined |
Real | m_dx |
ProblemDomain | m_problemDomain |
Real | m_refRatio |
Real | m_presJumpThreshold |
bool | m_useRefineShocks |
bool | m_isRefineShocksSet |
Real | m_vorticityThreshold |
bool | m_useRefineVorticity |
bool | m_isRefineVorticitySet |
Real | m_cellMassThreshold |
bool | m_useRefineOverDensity |
bool | m_isRefineOverDensitySet |
Real | m_jeansResolThreshold |
bool | m_useRefineJeansLength |
bool | m_isRefineJeansLengthSet |
Real | m_gradientThreshold |
bool | m_useRefineGradient |
Interval | m_gradVarInterval |
bool | m_isRefineGradientSet |
Vector< Box > | m_refineRegion |
Vector< RefineMode > | m_refineMode |
bool | m_useRefineRegion |
bool | m_isRefineRegionSet |