GaussianSphereIF Class Reference

#include <GaussianSphereIF.H>

Inheritance diagram for GaussianSphereIF:

Inheritance graph
[legend]
Collaboration diagram for GaussianSphereIF:

Collaboration graph
[legend]

List of all members.


Detailed Description

This implicit function specifies a sphere with gaussian spacing - the main use of this is for mollifying other implicit functions (see "MollifyIF").

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 BaseIFnewImplicitFunction () 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)

Constructor & Destructor Documentation

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().


Member Function Documentation

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

virtual Real GaussianSphereIF::value ( const RealVect a_point  )  const [virtual]

Return the value of the function at a_point.

Implements BaseIF.

virtual Real GaussianSphereIF::value ( const IndexTM< Real, GLOBALDIM > &  a_point  )  const [virtual]

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().


Member Data Documentation

bool GaussianSphereIF::m_inside [protected]


The documentation for this class was generated from the following file:

Generated on Tue Apr 14 14:23:36 2009 for Chombo + EB by  doxygen 1.5.5