SimpleEllipsoidIF Class Reference

#include <SimpleEllipsoidIF.H>

Inheritance diagram for SimpleEllipsoidIF:

Inheritance graph

List of all members.

Detailed Description

This implicit function specifies a SimpleEllipsoid. pout() << "SimpleEllipsoid geometry" << endl; pout() << "(x-xo/a)^2 + (y-y0/b)^2 + (z-z/c)^ - r^2 = f(x,y,z)" << endl;

Public Member Functions

 SimpleEllipsoidIF (const RealVect &a_ABE, const RealVect &a_X0, const Real &a_R, const bool &a_inside)
virtual ~SimpleEllipsoidIF ()
virtual Real value (const IndexTM< int, SpaceDim > &a_partialDerivative, const IndexTM< Real, SpaceDim > &a_point) const
virtual Real value (const RealVect &a_point) const
virtual Real value (const IndexTM< Real, SpaceDim > &a_point) const
virtual BaseIFnewImplicitFunction () const

Protected Attributes

RealVect m_ABE
RealVect m_X0
Real m_R
bool m_inside
RealVect m_A2

Private Member Functions

 SimpleEllipsoidIF ()

Constructor & Destructor Documentation

SimpleEllipsoidIF::SimpleEllipsoidIF ( const RealVect a_ABE,
const RealVect a_X0,
const Real a_R,
const bool &  a_inside 
) [inline]

"(x-xo/A)^2 + (y-y0/B)^2 + (z-z0/C)^ - r^2 = f(x,y,z)" << endl;

References CH_assert, m_A2, m_ABE, m_inside, m_R, m_X0, and SpaceDim.

virtual SimpleEllipsoidIF::~SimpleEllipsoidIF (  )  [inline, virtual]


SimpleEllipsoidIF::SimpleEllipsoidIF (  )  [private]

Referenced by newImplicitFunction().

Member Function Documentation

virtual Real SimpleEllipsoidIF::value ( const IndexTM< int, SpaceDim > &  a_partialDerivative,
const IndexTM< Real, SpaceDim > &  a_point 
) const [virtual]

virtual Real SimpleEllipsoidIF::value ( const RealVect a_point  )  const [virtual]

Return the value of the function at a_point. When delineating a domain, the level set value=0 represents the boundary and value<0 is inside the fluid.

Implements BaseIF.

virtual Real SimpleEllipsoidIF::value ( const IndexTM< Real, SpaceDim > &  a_point  )  const [virtual]

virtual BaseIF* SimpleEllipsoidIF::newImplicitFunction (  )  const [inline, virtual]

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseIF.

References m_ABE, m_inside, m_R, m_X0, and SimpleEllipsoidIF().

Member Data Documentation

bool SimpleEllipsoidIF::m_inside [protected]

Referenced by SimpleEllipsoidIF().

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

Generated on Fri Apr 5 04:25:17 2019 for Chombo + EB by  doxygen 1.5.5