#include <ParabolaIF.H>
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 BaseIF * | newImplicitFunction () const |
Protected Attributes | |
Real | m_a |
RealVect | m_point |
bool | m_inside |
Private Member Functions | |
ParabolaIF () |
y = a*(x-x0)^2 + y0, (x0,y0) = a_point
virtual ParabolaIF::~ParabolaIF | ( | ) | [inline, virtual] |
Destructor.
ParabolaIF::ParabolaIF | ( | ) | [private] |
virtual Real ParabolaIF::value | ( | const IndexTM< int, SpaceDim > & | a_partialDerivative, | |
const IndexTM< Real, SpaceDim > & | 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 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.
Real ParabolaIF::m_a [protected] |
RealVect ParabolaIF::m_point [protected] |
bool ParabolaIF::m_inside [protected] |