12 #ifndef CD_SignedDistanceDCELImplem_H
13 #define CD_SignedDistanceDCELImplem_H
17 #include <CD_NamespaceHeader.H>
21 const bool a_flipInside,
26 m_flipInside = a_flipInside;
47 EBGeometry::Vec3T<T> p(a_point[0], a_point[1], m_zCoord);
49 EBGeometry::Vec3T<T> p(a_point[0], a_point[1], a_point[2]);
52 T retval = m_mesh->signedDistance(
69 #include <CD_NamespaceFooter.H>
Declaration of an implicit-function class that gets its value function from a DCEL surface Tesselatio...
Signed distance function from a DCEL mesh.
Definition: CD_SignedDistanceDCEL.H:34
Real m_zCoord
For 2D only. z-coordinate through which we slice the 3D object.
Definition: CD_SignedDistanceDCEL.H:92
~SignedDistanceDCEL()
Destructor (does nothing)
Definition: CD_SignedDistanceDCELImplem.H:38
Real value(const RealVect &a_point) const override
Value function.
Definition: CD_SignedDistanceDCELImplem.H:43
std::shared_ptr< Mesh > m_mesh
DCEL mesh.
Definition: CD_SignedDistanceDCEL.H:82
bool m_flipInside
Hook for turning inside to outside.
Definition: CD_SignedDistanceDCEL.H:87
SignedDistanceDCEL()=delete
Disallowed, use the full constructor.
BaseIF * newImplicitFunction() const override
Factory method.
Definition: CD_SignedDistanceDCELImplem.H:64