13#ifndef CD_SIGNEDDISTANCEDCELIMPLEM_H
14#define CD_SIGNEDDISTANCEDCELIMPLEM_H
18#include <CD_NamespaceHeader.H>
22 const bool a_flipInside,
27 m_flipInside = a_flipInside;
48 EBGeometry::Vec3T<T> p(a_point[0], a_point[1], m_zCoord);
50 EBGeometry::Vec3T<T> p(a_point[0], a_point[1], a_point[2]);
53 T retval = m_mesh->signedDistance(p);
70#include <CD_NamespaceFooter.H>
Declaration of an implicit-function class that gets its value function from a DCEL surface Tessellati...
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
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