11 #ifndef _SIMPLEELLIPSOIDIF_H_ 12 #define _SIMPLEELLIPSOIDIF_H_ 19 #include "NamespaceHeader.H" 38 const bool & a_inside)
45 for(
int idir = 0; idir <
SpaceDim; idir++)
48 m_A2[idir] = a_ABE[idir]*a_ABE[idir];
67 return static_cast<BaseIF*
>(SimpleEllipsoidPtr);
82 #include "NamespaceFooter.H" RealVect m_A2
Definition: SimpleEllipsoidIF.H:75
#define CH_assert(cond)
Definition: CHArray.H:37
virtual Real value(const IndexTM< int, SpaceDim > &a_partialDerivative, const IndexTM< Real, SpaceDim > &a_point) const
virtual BaseIF * newImplicitFunction() const
Definition: SimpleEllipsoidIF.H:64
Real m_R
Definition: SimpleEllipsoidIF.H:73
const int SpaceDim
Definition: SPACE.H:38
double Real
Definition: REAL.H:33
RealVect m_X0
Definition: SimpleEllipsoidIF.H:72
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
RealVect m_ABE
Definition: SimpleEllipsoidIF.H:71
Definition: SimpleEllipsoidIF.H:28
SimpleEllipsoidIF(const RealVect &a_ABE, const RealVect &a_X0, const Real &a_R, const bool &a_inside)
Definition: SimpleEllipsoidIF.H:35
bool m_inside
Definition: SimpleEllipsoidIF.H:74
virtual ~SimpleEllipsoidIF()
Destructor.
Definition: SimpleEllipsoidIF.H:53