13 #ifndef CD_SignedDistanceDCEL_H
14 #define CD_SignedDistanceDCEL_H
20 #include <EBGeometry.hpp>
26 #include <CD_NamespaceHeader.H>
39 using Mesh = EBGeometry::DCEL::MeshT<T>;
52 SignedDistanceDCEL(
const std::shared_ptr<Mesh>& a_mesh,
const bool a_flipInside,
const Real a_zCoord = 0.0);
70 value(
const RealVect& a_point)
const override;
95 #include <CD_NamespaceFooter.H>
Implementation of CD_SignedDistanceDCEL.H.
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
EBGeometry::DCEL::MeshT< T > Mesh
Alias for EBGeometry DCEl mesh with precision T.
Definition: CD_SignedDistanceDCEL.H:39
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