Signed distance function for sphere.
More...
#include <CD_SphereSdf.H>
|
| | SphereSdf (const RealVect &a_center, const Real &a_radius, const bool &a_fluidInside) |
| | Constructor.
|
| |
| | SphereSdf (const SphereSdf &a_inputIF) |
| | Copy constructor.
|
| |
|
virtual | ~SphereSdf () |
| | Destructor.
|
| |
| virtual Real | value (const RealVect &a_point) const |
| | Get distance to sphere.
|
| |
| virtual BaseIF * | newImplicitFunction () const |
| | IF factory method.
|
| |
|
|
RealVect | m_center |
| | Sphere center.
|
| |
|
Real | m_radius |
| | Cylinder radius.
|
| |
|
bool | m_fluidInside |
| | Inside or outside domain.
|
| |
Signed distance function for sphere.
◆ SphereSdf() [1/2]
| SphereSdf::SphereSdf |
( |
const RealVect & |
a_center, |
|
|
const Real & |
a_radius, |
|
|
const bool & |
a_fluidInside |
|
) |
| |
Constructor.
- Parameters
-
| [in] | a_center | Sphere center |
| [in] | a_radius | Sphere radius |
| [in] | a_fluidInside | Fluid on inside or not. |
◆ SphereSdf() [2/2]
| SphereSdf::SphereSdf |
( |
const SphereSdf & |
a_inputIF | ) |
|
Copy constructor.
- Parameters
-
| [in] | a_inputIF | Input cylinder |
◆ newImplicitFunction()
| BaseIF * SphereSdf::newImplicitFunction |
( |
| ) |
const |
|
virtual |
IF factory method.
- Returns
- New copy of this implicit function
◆ value()
| Real SphereSdf::value |
( |
const RealVect & |
a_point | ) |
const |
|
virtual |
Get distance to sphere.
- Parameters
-
| [in] | a_point | Physical position. |
- Returns
- Function value at the given point
The documentation for this class was generated from the following files: