20#include <CD_NamespaceHeader.H>
34 SphereSdf(
const RealVect& a_center,
const Real& a_radius,
const bool& a_fluidInside);
53 value(
const RealVect& a_point)
const;
79#include <CD_NamespaceFooter.H>
Signed distance function for sphere.
Definition CD_SphereSdf.H:26
bool m_fluidInside
Inside or outside domain.
Definition CD_SphereSdf.H:76
virtual Real value(const RealVect &a_point) const
Get distance to sphere.
Definition CD_SphereSdf.cpp:28
RealVect m_center
Sphere center.
Definition CD_SphereSdf.H:66
virtual BaseIF * newImplicitFunction() const
IF factory method.
Definition CD_SphereSdf.cpp:43
Real m_radius
Cylinder radius.
Definition CD_SphereSdf.H:71
virtual ~SphereSdf()
Destructor.