19 params.
addCoupledVar(
"var_neighbor",
"The neighbor variable name");
21 "Computes the variable value, rate or increment across an " 22 "interface. The value, rate or increment is computed according to the provided " 23 "interface_value_type parameter");
29 _u(_value_type > 0 ? coupledDot(
"var") : coupledValue(
"var")),
31 parameters.isParamSetByUser(
"var_neighbor")
32 ? (_value_type > 0 ? coupledNeighborValueDot(
"var_neighbor")
33 : coupledNeighborValue(
"var_neighbor"))
34 : (_value_type > 0 ? coupledNeighborValueDot(
"var") : coupledNeighborValue(
"var")))
52 mooseError(
"InterfaceQpValueUserObject::computeRealValue the supplied " 53 "value type has not been implemented");
55 mooseError(
"InterfaceQpValueUserObject::computeRealValue if we are here something is wrong");
const VariableValue & _u
the variable and neighbor variable values or rate
Specialization of InterfaceQpUserObjectBase for scalar variables.
virtual Real computeInterfaceValueType(const Real, const Real)
method computing an interface value give two Real quantities
const VariableValue & _u_neighbor
This is a base class for userobjects collecting values of variables or material properites across an ...
InterfaceQpValueUserObject(const InputParameters ¶meters)
static InputParameters validParams()
const MooseEnum _value_type
moose enum deciding this userobject reture value type
Real & _dt
Time step size.
registerMooseObject("MooseApp", InterfaceQpValueUserObject)
virtual Real computeRealValue(const unsigned int qp) override
method to overrid in child classes returnig a real value
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.