16 #include "libmesh/int_range.h" 24 params.
addRequiredParam<
unsigned int>(
"component",
"The component for the pressure");
25 params.
addParam<
Real>(
"factor", 1.0,
"The magnitude to use in computing the pressure");
26 params.
addParam<FunctionName>(
"function",
"The function that describes the pressure");
33 _component(getParam<unsigned
int>(
"component")),
34 _factor(getParam<
Real>(
"factor")),
35 _function(isParamValid(
"function") ? &getFunction(
"function") : nullptr),
36 _element_pair_locators(_subproblem.geomSearchData()._element_pair_locators)
51 for (
const auto & elem_pair : elem_pairs)
53 const auto [elem1, elem2] = elem_pair;
const Function *const _function
std::map< const Elem *, std::map< unsigned int, Point > > _elem_qp_normal
void addPoint(const Elem *elem, Point p, unsigned id=libMesh::invalid_uint)
const OutputTools< T >::VariableTestValue & _test
std::map< const Elem *, std::map< unsigned int, Real > > _elem_qp_JxW
const ElementPairInfo & getElemPairInfo(std::pair< const Elem *, const Elem * > elem_pair) const
const std::map< BoundaryID, std::shared_ptr< ElementPairLocator > > & _element_pair_locators
XFEMPressure(const InputParameters ¶meters)
const ElementPairList & getElemPairs() const
const Elem *const & _current_elem
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real value(Real t, const Point &p) const
static InputParameters validParams()
void ErrorVector unsigned int
auto index_range(const T &sizable)
virtual Real computeQpResidual()
static InputParameters validParams()
registerMooseObject("XFEMApp", XFEMPressure)