#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 | value (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual IndexTM< Real, GLOBALDIM > | grad (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual Vector< IndexTM< Real, GLOBALDIM > > | gradGrad (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
Protected Attributes | |
Real | m_sigma |
RealVect | m_center |
bool | m_inside |
Real | m_sigma2 |
Real | m_normal |
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::Error().
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.
Return the value of the function at a_point (of type INdexTM).
Reimplemented from BaseIF.
virtual IndexTM<Real,GLOBALDIM> GaussianSphereIF::grad | ( | const IndexTM< Real, GLOBALDIM > & | a_point | ) | const [virtual] |
Return the gradient of the function at a_point.
Reimplemented from BaseIF.
virtual Vector<IndexTM <Real,GLOBALDIM> > GaussianSphereIF::gradGrad | ( | const IndexTM< Real, GLOBALDIM > & | a_point | ) | const [virtual] |
Return the gradient of the gradient at a_point.
Reimplemented from BaseIF.
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::Error().
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] |