Chombo + EB + MF  3.2
BoundaryAreaRefCrit.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _BOUNDARYAREAREFCRIT_H_
12 #define _BOUNDARYAREAREFCRIT_H_
13 
14 #include "WrappedGShop.H"
15 #include "RealVect.H"
16 #include "IntVect.H"
17 #include "IrregNode.H"
18 #include "NamespaceHeader.H"
19 
20 ///base class for special refinement
21 /**
22  Refines if the nodes boundary area FRACTION is greater a threshold
23  */
25 {
26 public:
27  ///
28  virtual bool refineHere(const IrregNode& a_node, const IntVect& a_iv, const Real& a_dx) const;
29 
30  ///
31  BoundaryAreaRefCrit(Real a_thresholdBA)
32  {
33  m_thresholdBA = a_thresholdBA;
34  }
35 
36  ///
38  {
39  }
40 
41 private:
43 
44 
46  {
47  }
48 };
49 #include "NamespaceFooter.H"
50 #endif
virtual bool refineHere(const IrregNode &a_node, const IntVect &a_iv, const Real &a_dx) const
base class for special refinement
Definition: WrappedGShop.H:29
virtual ~BoundaryAreaRefCrit()
Definition: BoundaryAreaRefCrit.H:37
base class for special refinement
Definition: BoundaryAreaRefCrit.H:24
BoundaryAreaRefCrit()
Definition: BoundaryAreaRefCrit.H:45
double Real
Definition: REAL.H:33
Definition: IrregNode.H:33
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Real m_thresholdBA
Definition: BoundaryAreaRefCrit.H:42
BoundaryAreaRefCrit(Real a_thresholdBA)
Definition: BoundaryAreaRefCrit.H:31