|
Chombo + EB + MF
3.2
|
#include <FixedRefinement.H>

Public Member Functions | |
| FixedRefinement () | |
| Null constructor. More... | |
| FixedRefinement (const int &a_maxNumberOfRefinements) | |
| Constructor which sets number of refinements. More... | |
| virtual | ~FixedRefinement () |
| Destructor. More... | |
| virtual bool | doRefine (IndexTM< int, dim > &a_refineInDir, const CutCellMoments< dim > &a_ccm, const int &a_numberOfRefinements) |
| Refine a fixed number of times. More... | |
| virtual void | setMaxNumberOfRefinements (const int &a_maxNumberOfRefinements) |
| Set the number of refinements. More... | |
| virtual int | getMaxNumberOfRefinements () |
| Get the number of refinements. 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 | |
| int | m_maxNumberOfRefinements |
Protected Attributes inherited from RefinementCriterion< dim > | |
| bool | m_constraintsSucceeded |
| int | m_baseMaxNumberOfRefinements |
This refinement criterion refines a fixed number of levels.
| FixedRefinement< dim >::FixedRefinement | ( | ) |
Null constructor.
| FixedRefinement< dim >::FixedRefinement | ( | const int & | a_maxNumberOfRefinements | ) |
Constructor which sets number of refinements.
|
virtual |
Destructor.
|
virtual |
Refine a fixed number of times.
Refine if the number of refinements already finished is smaller than the max number of refinements.
Reimplemented from RefinementCriterion< dim >.
References dim.
|
virtual |
Set the number of refinements.
References MayDay::Abort().
|
virtual |
Get the number of refinements.
|
protected |
1.8.13