20 "Calculates signed distance from interface defined by InterfaceMeshCutUserObject.");
22 "mesh_cut_user_object",
23 "Name of InterfaceMeshCutUserObject that gives cut mesh information.");
30 mooseError(
"MeshCutLevelSetAux: Aux variable must be nodal variable.");
35 &(fe_problem->
getUserObjectBase(getParam<UserObjectName>(
"mesh_cut_user_object")));
37 if (dynamic_cast<const InterfaceMeshCutUserObjectBase *>(uo) ==
nullptr)
38 mooseError(
"Failed to cast UserObject to InterfaceMeshCutUserObjectBase in MeshCutLevelSetAux");
Calculate level set values for an interface that is defined by a lower-dimensional mesh...
const Node *const & _current_node
registerMooseObject("XFEMApp", MeshCutLevelSetAux)
MeshCutLevelSetAux(const InputParameters ¶meters)
virtual Real computeValue() override
virtual Real calculateSignedDistance(Point p) const =0
Calculate the signed distance for a given point relative to the surface.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
static InputParameters validParams()
const UserObject & getUserObjectBase(const std::string &name, const THREAD_ID tid=0) const
static InputParameters validParams()
const InterfaceMeshCutUserObjectBase * _mesh_cut_uo
Pointer to the InterfaceMeshCutUserObject object.