20 MooseEnum quantity(
"origin_x origin_y origin_z normal_x normal_y normal_z");
22 "quantity", quantity,
"The quantity to be extracted. Choices: " + quantity.
getRawNames());
23 params.
addParam<
unsigned int>(
"plane_id", 0,
"The index of the cut plane");
25 "Computes the normal and origin of a cutting plane for each partial element.");
32 _plane_id(getParam<unsigned
int>(
"plane_id"))
35 if (fe_problem ==
nullptr)
36 mooseError(
"Problem casting _subproblem to FEProblemBase in XFEMCutPlaneAux");
37 _xfem = MooseSharedNamespace::dynamic_pointer_cast<
XFEM>(fe_problem->
getXFEM());
39 mooseError(
"Problem casting to XFEM in XFEMCutPlaneAux");
41 mooseError(
"XFEMCutPlaneAux can only be run on an element variable");
std::shared_ptr< XFEM > _xfem
virtual Real computeValue()
static InputParameters validParams()
std::string getRawNames() const
registerMooseObject("XFEMApp", XFEMCutPlaneAux)
virtual const OutputTools< Real >::VariableValue & value()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Xfem::XFEM_CUTPLANE_QUANTITY _quantity
std::shared_ptr< XFEMInterface > getXFEM()
void mooseError(Args &&... args) const
const Elem *const & _current_elem
static InputParameters validParams()
XFEMCutPlaneAux(const InputParameters ¶meters)
void ErrorVector unsigned int