21 params.
addRequiredParam<UserObjectName>(
"in_out_test",
"The name of the in-out test user object");
24 "Returns signed distance to a surface mesh using KDTree nearest neighbor search. "
25 "The gradient returns the unit vector pointing from boundary to query point.");
47 ") does not implement the point-in-surface check interface.");
registerMooseObject("ShiftedBoundaryMethodApp", SignedDistanceToSurfaceMesh)
const std::string & type() const
const std::string & name() const
void paramError(const std::string ¶m, Args... args) const
bool contains(const libMesh::Point &p) const
Computes the signed distance to a surface mesh using KDTree nearest neighbor lookup from SBMSurfaceMe...
Real value(Real t, const Point &p) const override
static InputParameters validParams()
RealGradient gradient(Real t, const Point &p) const override
Return the spatial gradient of the signed distance function.
void initialSetup() override
const PointInSurfaceCheckInterface * _in_out_test
user object for in-out test
SignedDistanceToSurfaceMesh(const InputParameters ¶meters)
Computes the unsigned distance to a surface mesh using KDTree nearest neighbor lookup from SBMSurface...
virtual void initialSetup() override
static InputParameters validParams()
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.
const UserObjectBase & getUserObjectBase(const std::string ¶m_name, bool is_dependency=true) const