21 params.
addRequiredParam<Real>(
"alpha",
"Penalty parameter in penalty formulation.");
22 params.
addRequiredParam<Real>(
"value",
"Prescribed value at the interface.");
24 "geometric_cut_userobject",
25 "Name of GeometricCutUserObject associated with this constraint.");
26 params.
addClassDescription(
"Enforce that the solution have the same value on opposing sides of "
27 "an XFEM interface.");
32 :
ElemElemConstraint(parameters), _alpha(getParam<Real>(
"alpha")), _value(getParam<Real>(
"value"))
36 mooseError(
"Problem casting to XFEM in XFEMEqualValueAtInterface");
42 mooseError(
"UserObject casting to GeometricCutUserObject in XFEMEqualValueAtInterface");
registerMooseObject("XFEMApp", XFEMEqualValueAtInterface)
const VariableTestValue & _test_neighbor
const VariablePhiValue & _phi_neighbor
FEProblemBase & _fe_problem
const VariablePhiValue & _phi
virtual void reinitConstraintQuadrature(const ElementPairInfo &element_pair_info)
const VariableValue & _u_neighbor
const VariableTestValue & _test
static InputParameters validParams()
unsigned int _interface_id
std::shared_ptr< XFEMInterface > getXFEM()
const UserObject & getUserObjectBase(const std::string &name, const THREAD_ID tid=0) const
const std::string & type() const
void mooseError(Args &&... args) const
std::shared_ptr< XFEM > _xfem
Pointer to the XFEM controller object.
XFEMEqualValueAtInterface(const InputParameters ¶meters)
virtual ~XFEMEqualValueAtInterface()
virtual Real computeQpResidual(Moose::DGResidualType type) override
Real _value
Value at the interface.
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
static InputParameters validParams()
virtual void reinitConstraintQuadrature(const ElementPairInfo &element_pair_info) override