#include <ComplementIF.H>
Public Member Functions | |
ComplementIF (const BaseIF &a_impFunc, const bool &a_complement=true) | |
ComplementIF (const ComplementIF &a_inputIF, const bool &a_complement=true) | |
Copy constructor with complement boolean (default = true). | |
virtual | ~ComplementIF () |
Destructor. | |
virtual void | GetParams (bool &a_complement) const |
virtual void | SetParams (const bool &a_complement) |
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 |
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 | |
bool | m_complement |
BaseIF * | m_impFunc |
Private Member Functions | |
ComplementIF () | |
void | operator= (const ComplementIF &a_inputIF) |
ComplementIF::ComplementIF | ( | const BaseIF & | a_impFunc, | |
const bool & | a_complement = true | |||
) |
Constructor specifying the implicit function and whether to complement (default = true)
ComplementIF::ComplementIF | ( | const ComplementIF & | a_inputIF, | |
const bool & | a_complement = true | |||
) |
Copy constructor with complement boolean (default = true).
virtual ComplementIF::~ComplementIF | ( | ) | [virtual] |
Destructor.
ComplementIF::ComplementIF | ( | ) | [inline, private] |
References MayDay::Abort().
virtual void ComplementIF::GetParams | ( | bool & | a_complement | ) | const [virtual] |
Return the parameter information
virtual void ComplementIF::SetParams | ( | const bool & | a_complement | ) | [virtual] |
Set the parameter information
Return the value of the function at a_point.
Implements BaseIF.
virtual BaseIF* ComplementIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
virtual GeometryService::InOut ComplementIF::InsideOutside | ( | const RealVect & | a_low, | |
const RealVect & | a_high | |||
) | const [virtual] |
Reimplemented from BaseIF.
virtual void ComplementIF::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 BaseIF::boxLayoutChanged(), and m_impFunc.
void ComplementIF::operator= | ( | const ComplementIF & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
bool ComplementIF::m_complement [protected] |
BaseIF* ComplementIF::m_impFunc [protected] |
Referenced by boxLayoutChanged(), and fastIntersection().