#include <FacesRefinement.H>
Public Member Functions | |
FacesRefinement (const bool &a_refinedOnce=true, const bool &a_refinedTwice=true, const bool &a_refinedThree=true, const bool &a_refinedFour=true) | |
FacesRefinement (const FacesRefinement &a_facesRefinement) | |
virtual | ~FacesRefinement () |
virtual bool | doRefine (Vector< int > &a_refineInDir, const int &a_dim, const Vector< Real > &a_dx, const Vector< Vector< Real > > &a_residual) |
Should a cell be subdivided and in which directions. | |
virtual bool | doRefine (const int &a_dim, const Real &a_dxRatio) |
virtual bool | doRefine (const Vector< Vector< Real > > &a_residual) |
void | setRefinedOnce () |
void | setRefinedTwice () |
void | setRefinedThree () |
void | setRefinedFour () |
Protected Attributes | |
bool | m_refinedOnce |
bool | m_refinedTwice |
bool | m_refinedThree |
bool | m_refinedFour |
FacesRefinement::FacesRefinement | ( | const bool & | a_refinedOnce = true , |
|
const bool & | a_refinedTwice = true , |
|||
const bool & | a_refinedThree = true , |
|||
const bool & | a_refinedFour = true | |||
) |
FacesRefinement::FacesRefinement | ( | const FacesRefinement & | a_facesRefinement | ) |
virtual FacesRefinement::~FacesRefinement | ( | ) | [virtual] |
virtual bool FacesRefinement::doRefine | ( | Vector< int > & | a_refineInDir, | |
const int & | a_dim, | |||
const Vector< Real > & | a_dx, | |||
const Vector< Vector< Real > > & | a_residual | |||
) | [virtual] |
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.
Implements RefinementCriterion.
virtual bool FacesRefinement::doRefine | ( | const int & | a_dim, | |
const Real & | a_dxRatio | |||
) | [virtual] |
void FacesRefinement::setRefinedOnce | ( | ) |
void FacesRefinement::setRefinedTwice | ( | ) |
void FacesRefinement::setRefinedThree | ( | ) |
void FacesRefinement::setRefinedFour | ( | ) |
bool FacesRefinement::m_refinedOnce [protected] |
bool FacesRefinement::m_refinedTwice [protected] |
bool FacesRefinement::m_refinedThree [protected] |
bool FacesRefinement::m_refinedFour [protected] |