GaussianSphereIF Class Reference

#include <GaussianSphereIF.H>

Inheritance diagram for GaussianSphereIF:

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

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


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::derivative ( const IntVect a_deriv,
const RealVect a_point 
) const [virtual]

return the partial derivative at the point

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


Member Data Documentation

bool GaussianSphereIF::m_inside [protected]

m_b = 1/(2*sigma*sigma) m_C = m_normal


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

Generated on Fri Apr 5 04:25:05 2019 for Chombo + EB by  doxygen 1.5.5