#include <ZResidualBasedRefinement.H>
Public Member Functions | |
ZResidualBasedRefinement (const bool &a_refineInZ=false, const bool &a_refineWithResidual=false, const Real &a_tolerance=MACHINEPRECISION) | |
ZResidualBasedRefinement (const ZResidualBasedRefinement &a_ZresidualBasedRefinement) | |
virtual | ~ZResidualBasedRefinement () |
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. | |
Public Attributes | |
int | m_numOfRefinement |
Protected Attributes | |
Real | m_tolerance |
bool | m_refineWithResidual |
ZResidualBasedRefinement::ZResidualBasedRefinement | ( | const bool & | a_refineInZ = false , |
|
const bool & | a_refineWithResidual = false , |
|||
const Real & | a_tolerance = MACHINEPRECISION | |||
) |
ZResidualBasedRefinement::ZResidualBasedRefinement | ( | const ZResidualBasedRefinement & | a_ZresidualBasedRefinement | ) |
virtual ZResidualBasedRefinement::~ZResidualBasedRefinement | ( | ) | [virtual] |
virtual bool ZResidualBasedRefinement::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.
Real ZResidualBasedRefinement::m_tolerance [protected] |
bool ZResidualBasedRefinement::m_refineWithResidual [protected] |