#include <HyperSphereIF.H>

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 BaseIF * | newImplicitFunction () 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) |
| 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().
| 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.
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.
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().
Real HyperSphereIF::m_radius [protected] |
IndexTM<Real,GLOBALDIM> HyperSphereIF::m_center [protected] |
bool HyperSphereIF::m_inside [protected] |
Real HyperSphereIF::m_radius2 [protected] |
1.5.5