19 "Kernel representing the contribution of the PDE term $mv$, where $m$ is a material property "
20 "coefficient, $v$ is a coupled scalar field variable, and Jacobian derivatives are "
22 "using automatic differentiation.");
23 params.
addParam<MaterialPropertyName>(
26 "User-supplied material property multiplier for the coupled force term.");
31 :
ADCoupledForce(parameters), _mat_prop(getADMaterialProperty<Real>(
"mat_prop_coef"))
registerMooseObject("MooseApp", ADMatCoupledForce)
DualNumber< Real, DNDerivativeType, true > ADReal
Kernel representing the contribution of the PDE term $mv$, where $m$ is a material property coefficie...
ADMatCoupledForce(const InputParameters ¶meters)
virtual ADReal computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
static InputParameters validParams()
const ADMaterialProperty< Real > & _mat_prop
Material property coefficient for coupled source term.
Implements a source term proportional to the value of a coupled variable.
virtual GenericReal< is_ad > computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
static InputParameters validParams()
unsigned int _qp
The current quadrature point index.