ParabolaIF Class Reference

#include <ParabolaIF.H>

Inheritance diagram for ParabolaIF:

Inheritance graph
[legend]

List of all members.


Detailed Description

This implicit function specifies a parabola.

Public Member Functions

 ParabolaIF (const Real &a_a, const RealVect &a_point, const bool &a_inside)
virtual ~ParabolaIF ()
 Destructor.
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

Real m_a
RealVect m_point
bool m_inside

Private Member Functions

 ParabolaIF ()

Constructor & Destructor Documentation

ParabolaIF::ParabolaIF ( const Real a_a,
const RealVect a_point,
const bool &  a_inside 
)

y = a*(x-x0)^2 + y0, (x0,y0) = a_point

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

Destructor.

ParabolaIF::ParabolaIF (  )  [private]


Member Function Documentation

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

virtual Real ParabolaIF::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 ParabolaIF::value ( const IndexTM< Real, SpaceDim > &  a_point  )  const [virtual]

virtual BaseIF* ParabolaIF::newImplicitFunction (  )  const [virtual]

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

Implements BaseIF.


Member Data Documentation

Real ParabolaIF::m_a [protected]

bool ParabolaIF::m_inside [protected]


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

Generated on Thu Dec 13 04:25:07 2018 for Chombo + EB by  doxygen 1.5.5