Chombo + EB
3.0
|
#include <RefinementCriterion.H>
Public Member Functions | |
RefinementCriterion () | |
RefinementCriterion (const int &a_baseMaxNumberOfRefinements) | |
RefinementCriterion (const RefinementCriterion< dim > &a_RefinementCriterion) | |
~RefinementCriterion () | |
virtual bool | baseDoRefine (IndexTM< int, dim > &a_refineInDir, const CutCellMoments< dim > &a_ccm, const int &a_numberOfRefinements) |
Should a cell be subdivided and in which directions. More... | |
virtual bool | doRefine (IndexTM< int, dim > &a_refineInDir, const CutCellMoments< dim > &a_ccm, const int &a_numberOfRefinements) |
void | setConstrantSuccessStatus (const bool &a_status) |
bool | getConstrantSuccessStatus () |
void | setBaseMaxNumberOfRefinements (const int &a_baseMaxNumberOfRefinements) |
int | getBaseMaxNumberOfRefinements () |
void | print (ostream &a_out) const |
void | operator= (const RefinementCriterion &a_RefinementCriterion) |
Protected Attributes | |
bool | m_constraintsSucceeded |
int | m_baseMaxNumberOfRefinements |
This is the base class for refinement criterion used for the subdivision of cells in geometry generation. If the result if "doRefine()" is true, the cell is subdivided in the directions in which "a_refineInDir" is non-zero. The results of this subdivision are then combined to get results for the original cell.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Should a cell be subdivided and in which directions.
This method returns true if the current cell should be subdivided. The subdivsion should occur in all the directions where "a_refineInDir" is non-zero.
References RefinementCriterion< dim >::doRefine(), CutCellMoments< dim >::m_badNormal, RefinementCriterion< dim >::m_baseMaxNumberOfRefinements, and RefinementCriterion< dim >::m_constraintsSucceeded.
Referenced by ComputeCutCellMoments< dim >::computeMoments().
|
inlinevirtual |
Reimplemented in DivNormalRefinement< dim >, FixedRefinement< dim >, and NoRefinement< dim >.
Referenced by RefinementCriterion< dim >::baseDoRefine(), and ComputeCutCellMoments< dim >::computeMoments().
|
inline |
References RefinementCriterion< dim >::m_constraintsSucceeded.
Referenced by ComputeCutCellMoments< dim >::computeMoments().
|
inline |
|
inline |
References MayDay::Abort(), and RefinementCriterion< dim >::m_baseMaxNumberOfRefinements.
|
inline |
|
inline |
References RefinementCriterion< dim >::m_constraintsSucceeded.
Referenced by operator<<().
|
inline |
|
protected |
Referenced by RefinementCriterion< dim >::baseDoRefine(), RefinementCriterion< dim >::getConstrantSuccessStatus(), RefinementCriterion< dim >::operator=(), RefinementCriterion< dim >::print(), RefinementCriterion< dim >::RefinementCriterion(), and RefinementCriterion< dim >::setConstrantSuccessStatus().
|
protected |