DivNormalRefinement< dim > Class Template Reference

#include <DivNormalRefinement.H>

Inheritance diagram for DivNormalRefinement< dim >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<int dim>
class DivNormalRefinement< dim >

This refinement criterion refines if the change in the normal exceeds a threshold.

Public Member Functions

 DivNormalRefinement ()
 Null constructor.
 DivNormalRefinement (const Real &a_maxChangeThreshold, const int &a_maxNumberOfRefinements)
 Constructor which sets a threshold.
virtual ~DivNormalRefinement ()
 Destructor.
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.
virtual void setMaxNumberOfRefinements (const int &a_maxNumberOfRefinements)
virtual int getMaxNumberOfRefinements ()
 Get threshold.

Protected Attributes

Real m_maxChangeThreshold
int m_maxNumberOfRefinements

Constructor & Destructor Documentation

template<int dim>
DivNormalRefinement< dim >::DivNormalRefinement (  )  [inline]

Null constructor.

template<int dim>
DivNormalRefinement< dim >::DivNormalRefinement ( const Real a_maxChangeThreshold,
const int &  a_maxNumberOfRefinements 
) [inline]

template<int dim>
DivNormalRefinement< dim >::~DivNormalRefinement (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<int dim>
bool DivNormalRefinement< dim >::doRefine ( IndexTM< int, dim > &  a_refineInDir,
const CutCellMoments< dim > &  a_ccm,
const int &  a_numberOfRefinements 
) [inline, virtual]

template<int dim>
Real DivNormalRefinement< dim >::approximateDivNormal ( const CutCellMoments< dim > &  a_ccm  )  [inline, virtual]

template<int dim>
void DivNormalRefinement< dim >::setMaxChangeThreshold ( const Real a_maxChangeThreshold  )  [inline, virtual]

template<int dim>
Real DivNormalRefinement< dim >::getMaxChangeThreshold (  )  [inline, virtual]

template<int dim>
void DivNormalRefinement< dim >::setMaxNumberOfRefinements ( const int &  a_maxNumberOfRefinements  )  [inline, virtual]

template<int dim>
int DivNormalRefinement< dim >::getMaxNumberOfRefinements (  )  [inline, virtual]


Member Data Documentation

template<int dim>
Real DivNormalRefinement< dim >::m_maxChangeThreshold [protected]

template<int dim>
int DivNormalRefinement< dim >::m_maxNumberOfRefinements [protected]


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

Generated on Sun Apr 30 03:27:05 2017 for Chombo + EB + MF by  doxygen 1.5.5