14#ifndef CD_SIGNEDDISTANCEDCEL_H
15#define CD_SIGNEDDISTANCEDCEL_H
21#include <EBGeometry.hpp>
27#include <CD_NamespaceHeader.H>
41 using Mesh = EBGeometry::DCEL::MeshT<T>;
54 SignedDistanceDCEL(
const std::shared_ptr<Mesh>& a_mesh,
const bool a_flipInside,
const Real a_zCoord = 0.0);
73 value(
const RealVect& a_point)
const override;
99#include <CD_NamespaceFooter.H>
Implementation of CD_SignedDistanceDCEL.H.
Signed distance function from a DCEL mesh.
Definition CD_SignedDistanceDCEL.H:36
Real m_zCoord
For 2D only. z-coordinate through which we slice the 3D object.
Definition CD_SignedDistanceDCEL.H:96
~SignedDistanceDCEL()
Destructor (does nothing)
Definition CD_SignedDistanceDCELImplem.H:39
Real value(const RealVect &a_point) const override
Value function.
Definition CD_SignedDistanceDCELImplem.H:44
std::shared_ptr< Mesh > m_mesh
DCEL mesh.
Definition CD_SignedDistanceDCEL.H:86
EBGeometry::DCEL::MeshT< T > Mesh
Alias for EBGeometry DCEl mesh with precision T.
Definition CD_SignedDistanceDCEL.H:41
bool m_flipInside
Hook for turning inside to outside.
Definition CD_SignedDistanceDCEL.H:91
SignedDistanceDCEL()=delete
Disallowed, use the full constructor.
BaseIF * newImplicitFunction() const override
Factory method.
Definition CD_SignedDistanceDCELImplem.H:65