18 params.addRequiredCoupledVar(
"v",
"The coupled variable which provides the force");
19 params.addParam<
Real>(
20 "coef", 1.0,
"Coefficent ($\\sigma$) multiplier for the coupled force term.");
21 params.addClassDescription(
22 "Adds a coupled force term to a Lagrange multiplier constrained primal equation");
29 _v(adCoupledValue(
"v")),
30 _coef(getParam<
Real>(
"coef"))
registerMooseObject("ScalarTransportApp", CoupledForceLM)
static InputParameters validParams()
Base class for use when adding Pressure-Stabilized Petrov-Galerkin type stabilization (e...
CoupledForceLM(const InputParameters ¶meters)
const Real _coef
An optional coefficient multiplying the coupled force.
DualNumber< Real, DNDerivativeType, true > ADReal
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADVariableValue & _v
The current quadrature point values of the coupled variable.
Adds a coupled force term to a Lagrange multiplier constrained primal equation.
ADReal precomputeQpResidual() override
static InputParameters validParams()