44 _diffusivity(getADMaterialProperty<T>(
"diffusivity")),
45 _grad_v(isCoupled(
"v") ? adCoupledGradient(
"v") : _grad_u)
53 return _diffusivity[_qp] * _grad_v[_qp];
62 "automatic differentiation to provide perfect Jacobians");
63 params.
addParam<MaterialPropertyName>(
64 "diffusivity",
"D",
"The diffusivity value or material property");
66 "Coupled concentration variable for kernel to operate on; if this " 67 "is not specified, the kernel's nonlinear variable will be used as "
static InputParameters validParams()
This class template implements a diffusion kernel with a mobility that can vary spatially and can dep...
const ADMaterialProperty< T > & _diffusivity
diffusion coefficient
const ADVariableGradient & _grad_v
Gradient of the concentration.
ADMatDiffusionBase(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
virtual ADRealVectorValue precomputeQpResidual() override
Called before forming the residual for an element.
static InputParameters validParams()