Signed distance function for sphere.
More...
#include <CD_SphereSdf.H>
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 |
◆ value()
Real SphereSdf::value |
( |
const RealVect & |
a_point | ) |
const |
|
virtual |
Get distance to sphere.
- Parameters
-
[in] | a_point | Physical position. |
The documentation for this class was generated from the following files:
- Source/ImplicitFunctions/CD_SphereSdf.H
- Source/ImplicitFunctions/CD_SphereSdf.cpp