#include <GaussianSphereIF.H>
Public Member Functions | |
GaussianSphereIF (const Real &a_sigma, const RealVect &a_center, const bool &a_inside) | |
GaussianSphereIF (const GaussianSphereIF &a_inputIF) | |
Copy constructor. | |
virtual | ~GaussianSphereIF () |
Destructor. | |
virtual void | GetParams (Real &a_sigma, RealVect &a_center, bool &a_inside) const |
virtual void | SetParams (const Real &a_sigma, const RealVect &a_center, const bool &a_inside) |
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 Real | firstDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual Real | secondDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual Real | thirdDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual Real | fourthDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual Real | fifthDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual Real | sixthDeriv (const IntVect &a_deriv, const RealVect &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
Protected Attributes | |
Real | m_sigma |
RealVect | m_center |
bool | m_inside |
Real | m_sigma2 |
Real | m_normal |
Real | m_b |
Real | m_C |
Private Member Functions | |
GaussianSphereIF () | |
void | operator= (const GaussianSphereIF &a_inputIF) |
GaussianSphereIF::GaussianSphereIF | ( | const Real & | a_sigma, | |
const RealVect & | a_center, | |||
const bool & | a_inside | |||
) |
Constructor specifying gaussian sigma (a_sigma), center (a_center), and whether the domain is on the inside (a_inside).
GaussianSphereIF::GaussianSphereIF | ( | const GaussianSphereIF & | a_inputIF | ) |
Copy constructor.
virtual GaussianSphereIF::~GaussianSphereIF | ( | ) | [virtual] |
Destructor.
GaussianSphereIF::GaussianSphereIF | ( | ) | [inline, private] |
References MayDay::Abort().
virtual void GaussianSphereIF::GetParams | ( | Real & | a_sigma, | |
RealVect & | a_center, | |||
bool & | a_inside | |||
) | const [virtual] |
Return the parameter information
virtual void GaussianSphereIF::SetParams | ( | const Real & | a_sigma, | |
const RealVect & | a_center, | |||
const bool & | a_inside | |||
) | [virtual] |
Set the parameter information
Return the value of the function at a_point.
Implements BaseIF.
virtual Real GaussianSphereIF::firstDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual Real GaussianSphereIF::secondDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual Real GaussianSphereIF::thirdDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual Real GaussianSphereIF::fourthDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual Real GaussianSphereIF::fifthDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual Real GaussianSphereIF::sixthDeriv | ( | const IntVect & | a_deriv, | |
const RealVect & | a_point | |||
) | const [virtual] |
virtual BaseIF* GaussianSphereIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
void GaussianSphereIF::operator= | ( | const GaussianSphereIF & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
Real GaussianSphereIF::m_sigma [protected] |
RealVect GaussianSphereIF::m_center [protected] |
bool GaussianSphereIF::m_inside [protected] |
Real GaussianSphereIF::m_sigma2 [protected] |
Real GaussianSphereIF::m_normal [protected] |
Real GaussianSphereIF::m_b [protected] |
m_b = 1/(2*sigma*sigma) m_C = m_normal
Real GaussianSphereIF::m_C [protected] |