43 Real
value(Real t,
const Point &
p)
const override;
48 RealGradient
gradient(Real t,
const Point &
p)
const override;
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Detects shared interfaces between subdomains in a single surface mesh containing the complete boundar...
BoundaryMeshBuilder specialization that additionally builds a centroid k-d tree over the whole-mesh S...
Computes the unsigned distance to a surface mesh using geometry supplied by SBMSurfaceMeshBuilder or ...
KDTree * _kd_tree
Cached pointers for per-interface builder mode.
const std::vector< std::unique_ptr< SurfaceElement > > * _boundary_elements
RealVectorValue surfaceNormal(const Point &p) const
Return the true boundary surface normal evaluated at the closest point obtained by projecting the que...
virtual void initialSetup() override
static InputParameters validParams()
std::pair< SubdomainID, SubdomainID > _subdomain_pair
const SBMInterfaceManager * _manager
Optional single-mesh manager used instead of a per-interface builder.
const SurfaceElement & closestBoundaryElem(const Point &p) const
find closest boundary element using k-d tree
Real value(Real t, const Point &p) const override
Return unsigned distance value.
RealGradient gradient(Real t, const Point &p) const override
Return the spatial gradient of the unsigned distance function.
RealVectorValue distanceVectorToSurface(const Point &p) const
find closest boundary element and return its distance vector