virtual void initialSetup() override
Computes the unsigned distance to a surface mesh using KDTree nearest neighbor lookup from SBMSurface...
const InputParameters & parameters() const
RealGradient gradient(Real t, const Point &p) const override
Return the spatial gradient of the unsigned distance function.
const std::vector< std::unique_ptr< SBMBndElementBase > > * _boundary_elements
static InputParameters validParams()
Real value(Real t, const Point &p) const override
Return unsigned distance value.
Base class for SBM boundary elements.
KDTree * _kd_tree
Cached pointers for speed.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const SBMBndElementBase & closestBoundaryElem(const Point &p) const
find closest boundary element using KDTree
UnsignedDistanceToSurfaceMesh(const InputParameters ¶meters)
RealVectorValue distanceVectorToSurface(const Point &p) const
find closest boundary element and return its distance vector
virtual Real value(Real t, const Point &p) const
RealVectorValue surfaceNormal(const Point &p) const
Return the true boundary surface normal evaluated at the closest point obtained by projecting the que...