ZResidualBasedRefinement Class Reference

#include <ZResidualBasedRefinement.H>

Inheritance diagram for ZResidualBasedRefinement:

Inheritance graph
Collaboration diagram for ZResidualBasedRefinement:

Collaboration graph

List of all members.

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

Constructor & Destructor Documentation

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]

Member Function Documentation

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.

Member Data Documentation

The documentation for this class was generated from the following file:

Generated on Tue Apr 14 14:24:06 2009 for Chombo + EB by  doxygen 1.5.5