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");
registerMooseObject("MooseApp", InterfaceQpValueUserObject)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
This is a base class for userobjects collecting values of variables or material properites across an ...
static InputParameters validParams()
const MooseEnum _value_type
moose enum deciding this userobject reture value type
Specialization of InterfaceQpUserObjectBase for scalar variables.
const VariableValue & _u_neighbor
virtual Real computeRealValue(const unsigned int qp) override
method to overrid in child classes returnig a real value
const VariableValue & _u
the variable and neighbor variable values or rate
static InputParameters validParams()
InterfaceQpValueUserObject(const InputParameters ¶meters)
virtual Real computeInterfaceValueType(const Real, const Real)
method computing an interface value give two Real quantities
Real & _dt
Time step size.