11 #ifndef _REFERENCEHEIGHTIF_H_ 12 #define _REFERENCEHEIGHTIF_H_ 20 #include "NamespaceHeader.H" 40 const Real & a_referenceHeight,
52 const Real & a_referenceHeight,
94 for (
int idir = 0; idir <
SpaceDim; ++idir)
96 pt[idir] = a_point[idir];
145 virtual void print(ostream& a_out)
const 173 bool & a_inside)
const 242 #include "NamespaceFooter.H" Real m_referenceHeight
Definition: ReferenceHeightIF.H:238
BaseIF * m_implicitFunction
Definition: ReferenceHeightIF.H:236
ReferenceHeightIF(const BaseIF &a_implicitFunction, const Real &a_referenceHeight, const IndexTM< Real, GLOBALDIM > &a_origin)
Definition: ReferenceHeightIF.H:39
ReferenceHeightIF(const BaseIF &a_implicitFunction, const PolynomialIF &a_referenceSurface, const Real &a_referenceHeight, const IndexTM< Real, GLOBALDIM > &a_origin)
Definition: ReferenceHeightIF.H:50
virtual void print(ostream &a_out) const
Definition: ReferenceHeightIF.H:145
ReferenceHeightIF * newChangedIF(const BaseIF *a_newIF) const
Definition: ReferenceHeightIF.H:213
ReferenceHeightIF()
Definition: ReferenceHeightIF.H:232
virtual void boxLayoutChanged(const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx)
Definition: BaseIF.H:259
virtual void GetParams(Vector< PolyTerm > &a_polynomial, bool &a_inside) const
const int SpaceDim
Definition: SPACE.H:38
Real value(const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const
Definition: ReferenceHeightIF.H:68
Definition: PolynomialIF.H:63
Real getReferenceHeight() const
Definition: ReferenceHeightIF.H:154
Real evaluateReferenceSurfacePolynomial(const RealVect &a_point) const
Definition: ReferenceHeightIF.H:182
PolynomialIF * m_referenceSurface
Definition: ReferenceHeightIF.H:237
virtual ReferenceHeightIF * newImplicitFunction() const
Definition: ReferenceHeightIF.H:134
bool hasReferenceSurface() const
Definition: ReferenceHeightIF.H:218
virtual Real value(const RealVect &a_point) const =0
virtual Real value(const RealVect &a_point) const
Definition: ReferenceHeightIF.H:90
Definition: ReferenceHeightIF.H:31
double Real
Definition: REAL.H:33
IndexTM< Real, GLOBALDIM > getOrigin() const
Definition: ReferenceHeightIF.H:163
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
void getReferenceSurfacePolynomial(Vector< PolyTerm > &a_polynomial, bool &a_inside) const
Definition: ReferenceHeightIF.H:172
virtual void print(ostream &out) const
Definition: BaseIF.H:220
BaseIF * getPointer2IF() const
Definition: ReferenceHeightIF.H:207
virtual void boxLayoutChanged(const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx)
Definition: ReferenceHeightIF.H:191
virtual Real value(const RealVect &a_point, const Vector< PolyTerm > &a_polynomial) const
virtual Real value(const IndexTM< Real, GLOBALDIM > &a_point) const
Definition: ReferenceHeightIF.H:124
#define GLOBALDIM
Definition: Notation.H:35
IndexTM< Real, GLOBALDIM > m_origin
Definition: ReferenceHeightIF.H:239
virtual ~ReferenceHeightIF()
Destructor cleans up the member implicit function.
Definition: ReferenceHeightIF.H:63
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).