Chombo + EB + MF
3.2
|
#include <DivNormalRefinement.H>
Public Member Functions | |
DivNormalRefinement () | |
Null constructor. More... | |
DivNormalRefinement (const Real &a_maxChangeThreshold, const int &a_maxNumberOfRefinements) | |
Constructor which sets a threshold. More... | |
virtual | ~DivNormalRefinement () |
Destructor. More... | |
virtual bool | doRefine (IndexTM< int, dim > &a_refineInDir, const CutCellMoments< dim > &a_ccm, const int &a_numberOfRefinements) |
virtual Real | approximateDivNormal (const CutCellMoments< dim > &a_ccm) |
virtual void | setMaxChangeThreshold (const Real &a_maxChangeThreshold) |
virtual Real | getMaxChangeThreshold () |
Get threshold. More... | |
virtual void | setMaxNumberOfRefinements (const int &a_maxNumberOfRefinements) |
virtual int | getMaxNumberOfRefinements () |
Get threshold. More... | |
Public Member Functions inherited from RefinementCriterion< dim > | |
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... | |
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 | |
Real | m_maxChangeThreshold |
int | m_maxNumberOfRefinements |
Protected Attributes inherited from RefinementCriterion< dim > | |
bool | m_constraintsSucceeded |
int | m_baseMaxNumberOfRefinements |
This refinement criterion refines if the change in the normal exceeds a threshold.
DivNormalRefinement< dim >::DivNormalRefinement | ( | ) |
Null constructor.
DivNormalRefinement< dim >::DivNormalRefinement | ( | const Real & | a_maxChangeThreshold, |
const int & | a_maxNumberOfRefinements | ||
) |
Constructor which sets a threshold.
|
virtual |
Destructor.
|
virtual |
Refine if the change in the normal exceeds a threshold.
Reimplemented from RefinementCriterion< dim >.
|
virtual |
Estimate the change in the normal.
References Abs(), dim, NormalDerivative< dim >::evaluate(), IFData< dim >::m_cellCenterCoord, IFData< dim >::m_function, IFData< dim >::m_globalCoord, CutCellMoments< dim >::m_IFData, IFData< dim >::m_intersections, and IFData< dim >::m_normalDerivatives.
|
virtual |
References MayDay::Abort().
|
virtual |
Get threshold.
|
virtual |
References MayDay::Abort().
|
virtual |
Get threshold.
|
protected |
|
protected |