#include <UnionIF.H>
Public Member Functions | |
UnionIF (const BaseIF &a_impFunc1, const BaseIF &a_impFunc2) | |
UnionIF (const Vector< BaseIF * > &a_impFuncs) | |
UnionIF (const UnionIF &a_inputIF) | |
Copy constructor. | |
virtual | ~UnionIF () |
Destructor. | |
virtual Real | value (const RealVect &a_point) const |
virtual Real | value (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual Real | value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
void | findClosest (const IndexTM< Real, GLOBALDIM > &a_point, int &closestIF) const |
virtual bool | fastIntersection (const RealVect &a_low, const RealVect &a_high) const |
virtual GeometryService::InOut | InsideOutside (const RealVect &a_low, const RealVect &a_high) const |
virtual void | boxLayoutChanged (const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx) |
Protected Attributes | |
int | m_numFuncs |
Vector< BaseIF * > | m_impFuncs |
Private Member Functions | |
UnionIF () | |
void | operator= (const UnionIF &a_inputIF) |
Constructor specifying two implicit functions as inputs.
Constructor specifying any number of implicit functions as inputs.
UnionIF::UnionIF | ( | const UnionIF & | a_inputIF | ) |
Copy constructor.
virtual UnionIF::~UnionIF | ( | ) | [virtual] |
Destructor.
UnionIF::UnionIF | ( | ) | [inline, private] |
References MayDay::Abort().
Return the value of the function at a_point.
Implements BaseIF.
Return the value of the function at a_point (of type INdexTM).
Reimplemented from BaseIF.
virtual Real UnionIF::value | ( | const IndexTM< int, GLOBALDIM > & | a_partialDerivative, | |
const IndexTM< Real, GLOBALDIM > & | a_point | |||
) | const [virtual] |
Reimplemented from BaseIF.
virtual BaseIF* UnionIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
virtual bool UnionIF::fastIntersection | ( | const RealVect & | a_low, | |
const RealVect & | a_high | |||
) | const [virtual] |
Reimplemented from BaseIF.
virtual GeometryService::InOut UnionIF::InsideOutside | ( | const RealVect & | a_low, | |
const RealVect & | a_high | |||
) | const [virtual] |
Reimplemented from BaseIF.
virtual void UnionIF::boxLayoutChanged | ( | const DisjointBoxLayout & | a_newBoxLayout, | |
const RealVect & | a_dx | |||
) | [inline, virtual] |
Pass this call onto the IFs contained in this IF class.
Reimplemented from BaseIF.
References m_impFuncs, and m_numFuncs.
void UnionIF::operator= | ( | const UnionIF & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
int UnionIF::m_numFuncs [protected] |
Referenced by boxLayoutChanged().
Vector<BaseIF*> UnionIF::m_impFuncs [protected] |
Referenced by boxLayoutChanged().