#include <PolynomialIF.H>
Public Member Functions | |
PolynomialIF (const Vector< PolyTerm > &a_polynomial, const bool &a_inside) | |
PolynomialIF (const PolynomialIF &a_inputIF) | |
Copy constructor. | |
virtual | ~PolynomialIF () |
Destructor. | |
virtual void | GetParams (Vector< PolyTerm > &a_polynomial, bool &a_inside) const |
virtual void | SetParams (const Vector< PolyTerm > &a_polynomial, const bool &a_inside) |
virtual Real | value (const RealVect &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
Protected Attributes | |
Vector< PolyTerm > | m_polynomial |
bool | m_inside |
Private Member Functions | |
PolynomialIF () | |
void | operator= (const PolynomialIF &a_inputIF) |
Constructor specifying the term composing the polynomial (a_polynomial) and whether the domain is on the inside (a_inside), i.e. where the function is negative.
PolynomialIF::PolynomialIF | ( | const PolynomialIF & | a_inputIF | ) |
Copy constructor.
virtual PolynomialIF::~PolynomialIF | ( | ) | [virtual] |
Destructor.
PolynomialIF::PolynomialIF | ( | ) | [inline, private] |
References MayDay::Error().
virtual void PolynomialIF::GetParams | ( | Vector< PolyTerm > & | a_polynomial, | |
bool & | a_inside | |||
) | const [virtual] |
Return the parameter information
virtual void PolynomialIF::SetParams | ( | const Vector< PolyTerm > & | a_polynomial, | |
const bool & | a_inside | |||
) | [virtual] |
Set the parameter information
Return the value of the function at a_point.
Implements BaseIF.
virtual BaseIF* PolynomialIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
void PolynomialIF::operator= | ( | const PolynomialIF & | a_inputIF | ) | [inline, private] |
References MayDay::Error().
Vector<PolyTerm> PolynomialIF::m_polynomial [protected] |
bool PolynomialIF::m_inside [protected] |