Signed distance function for a torus (oriented along z).
More...
#include <CD_TorusSdf.H>
|
|
| TorusSdf ()=delete |
| | No weak construction (yet)
|
| |
| | TorusSdf (const RealVect &a_center, const Real a_majorRadius, const Real a_minorRadius, const bool a_fluidInside) |
| | Constructor.
|
| |
| | TorusSdf (const TorusSdf &a_inputIF) |
| | Copy constructor.
|
| |
|
virtual | ~TorusSdf () |
| | Destructor.
|
| |
| virtual Real | value (const RealVect &a_point) const override |
| | Test whether inside or not.
|
| |
| virtual BaseIF * | newImplicitFunction () const override |
| | IF factory method.
|
| |
|
|
RealVect | m_center |
| | Sphere center.
|
| |
|
Real | m_majorRadius |
| | Cylinder radius.
|
| |
|
Real | m_minorRadius |
| | Cylinder radius.
|
| |
|
bool | m_fluidInside |
| | Inside or outside domain.
|
| |
Signed distance function for a torus (oriented along z).
◆ TorusSdf() [1/2]
| TorusSdf::TorusSdf |
( |
const RealVect & |
a_center, |
|
|
const Real |
a_majorRadius, |
|
|
const Real |
a_minorRadius, |
|
|
const bool |
a_fluidInside |
|
) |
| |
Constructor.
- Parameters
-
| [in] | a_center | Center |
| [in] | a_majorRadius | Major radius |
| [in] | a_minorRadius | Minor radius |
| [in] | a_fluidInside | Fluid on inside of or not |
◆ TorusSdf() [2/2]
| TorusSdf::TorusSdf |
( |
const TorusSdf & |
a_inputIF | ) |
|
Copy constructor.
- Parameters
-
| [in] | a_inputIF | Input cylinder |
◆ newImplicitFunction()
| BaseIF * TorusSdf::newImplicitFunction |
( |
| ) |
const |
|
overridevirtual |
IF factory method.
- Returns
- New copy of this implicit function
◆ value()
| Real TorusSdf::value |
( |
const RealVect & |
a_point | ) |
const |
|
overridevirtual |
Test whether inside or not.
- Parameters
-
| [in] | a_point | Physical position. |
- Returns
- Function value at the given point
The documentation for this class was generated from the following files: