42 Real
value(Real t,
const Point &
p)
const override;
47 RealGradient
gradient(Real t,
const Point &
p)
const override;
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Base class for SBM boundary elements.
Computes the unsigned distance to a surface mesh using KDTree nearest neighbor lookup from SBMSurface...
KDTree * _kd_tree
Cached pointers for speed.
RealVectorValue surfaceNormal(const Point &p) const
Return the true boundary surface normal evaluated at the closest point obtained by projecting the que...
const std::vector< std::unique_ptr< SBMBndElementBase > > * _boundary_elements
virtual void initialSetup() override
static InputParameters validParams()
const SBMBndElementBase & closestBoundaryElem(const Point &p) const
find closest boundary element using KDTree
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