HyperSphereIF Class Reference

#include <HyperSphereIF.H>

Inheritance diagram for HyperSphereIF:

Inheritance graph
[legend]

List of all members.


Detailed Description

This implicit function specifies a sphere.

Public Member Functions

 HyperSphereIF (const Real &a_radius, const IndexTM< Real, GLOBALDIM > &a_center, const bool &a_inside)
 HyperSphereIF (const HyperSphereIF &a_inputIF)
 Copy constructor.
virtual ~HyperSphereIF ()
 Destructor.
virtual void GetParams (Real &a_radius, IndexTM< Real, GLOBALDIM > &a_center, bool &a_inside) const
virtual void SetParams (const Real &a_radius, const IndexTM< Real, GLOBALDIM > &a_center, const bool &a_inside)
virtual Real value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const
virtual Real value (const RealVect &a_point) const
virtual Real value (const IndexTM< Real, GLOBALDIM > &a_point) const
virtual IndexTM< Real, GLOBALDIM > normal (const IndexTM< Real, GLOBALDIM > &a_point) const
virtual Vector< IndexTM< Real,
GLOBALDIM > > 
gradNormal (const IndexTM< Real, GLOBALDIM > &a_point) const
virtual BaseIFnewImplicitFunction () const

Protected Attributes

Real m_radius
IndexTM< Real, GLOBALDIM > m_center
bool m_inside
Real m_radius2

Private Member Functions

 HyperSphereIF ()
void operator= (const HyperSphereIF &a_inputIF)

Constructor & Destructor Documentation

HyperSphereIF::HyperSphereIF ( const Real a_radius,
const IndexTM< Real, GLOBALDIM > &  a_center,
const bool &  a_inside 
)

Constructor specifying sphere radius (a_radius), center (a_center), and whether the domain is on the inside (a_inside).

HyperSphereIF::HyperSphereIF ( const HyperSphereIF a_inputIF  ) 

Copy constructor.

virtual HyperSphereIF::~HyperSphereIF (  )  [virtual]

Destructor.

HyperSphereIF::HyperSphereIF (  )  [inline, private]

References MayDay::Abort().


Member Function Documentation

virtual void HyperSphereIF::GetParams ( Real a_radius,
IndexTM< Real, GLOBALDIM > &  a_center,
bool &  a_inside 
) const [virtual]

Return the parameter information

virtual void HyperSphereIF::SetParams ( const Real a_radius,
const IndexTM< Real, GLOBALDIM > &  a_center,
const bool &  a_inside 
) [virtual]

Set the parameter information

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

Return the value of the function at a_point.

Reimplemented from BaseIF.

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

Return the value of the function at a_point. When delineating a domain, the level set value=0 represents the boundary and value<0 is inside the fluid.

Implements BaseIF.

virtual Real HyperSphereIF::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> HyperSphereIF::normal ( const IndexTM< Real, GLOBALDIM > &  a_point  )  const [virtual]

virtual Vector<IndexTM<Real,GLOBALDIM> > HyperSphereIF::gradNormal ( const IndexTM< Real, GLOBALDIM > &  a_point  )  const [virtual]

virtual BaseIF* HyperSphereIF::newImplicitFunction (  )  const [virtual]

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseIF.

void HyperSphereIF::operator= ( const HyperSphereIF a_inputIF  )  [inline, private]

References MayDay::Abort().


Member Data Documentation

IndexTM<Real,GLOBALDIM> HyperSphereIF::m_center [protected]

bool HyperSphereIF::m_inside [protected]


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

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