#include <SmoothUnion.H>
Public Member Functions | |
SmoothUnion (const Vector< BaseIF * > &a_impFuncs, const Real &a_delta) | |
virtual | ~SmoothUnion () |
Destructor. | |
virtual Real | value (const RealVect &a_point) const |
virtual Real | derivative (const IntVect &a_deriv, const RealVect &a_point) const |
return the partial derivative at the point | |
virtual BaseIF * | newImplicitFunction () const |
virtual Real | smoothMin (const IntVect &a_deriv, const RealVect &a_point, const int &a_closestIF, const int &a_nextClosestIF) const |
void | findClosest (int &a_closestIF, int &a_nextClosestIF, int &a_numWithinDelta, const RealVect &a_point) const |
Protected Attributes | |
int | m_numFuncs |
Vector< BaseIF * > | m_impFuncs |
Real | m_delta |
Private Member Functions | |
SmoothUnion () | |
SmoothUnion (const SmoothUnion &a_inputIF) | |
void | operator= (const SmoothUnion &a_inputIF) |
Constructor specifying any number of implicit functions as inputs.
virtual SmoothUnion::~SmoothUnion | ( | ) | [virtual] |
Destructor.
SmoothUnion::SmoothUnion | ( | ) | [inline, private] |
References MayDay::Abort().
SmoothUnion::SmoothUnion | ( | const SmoothUnion & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
Return the value of the function at a_point.
Implements BaseIF.
virtual BaseIF* SmoothUnion::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
virtual Real SmoothUnion::smoothMin | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point, | |||
const int & | a_closestIF, | |||
const int & | a_nextClosestIF | |||
) | const [virtual] |
void SmoothUnion::findClosest | ( | int & | a_closestIF, | |
int & | a_nextClosestIF, | |||
int & | a_numWithinDelta, | |||
const RealVect & | a_point | |||
) | const |
void SmoothUnion::operator= | ( | const SmoothUnion & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
int SmoothUnion::m_numFuncs [protected] |
Vector<BaseIF*> SmoothUnion::m_impFuncs [protected] |
Real SmoothUnion::m_delta [protected] |