This kernel adds to the residual a contribution of \( -L*v \) where \( L \) is a material property and \( v \) is a variable (nonlinear or coupled).
More...
#include <ADMatReaction.h>
|
const ADVariableValue & | _v |
| Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems, v = lambda where lambda is the Lagrange multiplier) More...
|
|
| usingKernelMembers |
|
template<ComputeStage compute_stage>
class ADMatReaction< compute_stage >
This kernel adds to the residual a contribution of \( -L*v \) where \( L \) is a material property and \( v \) is a variable (nonlinear or coupled).
Definition at line 16 of file ADMatReaction.h.
◆ ADMatReaction()
template<ComputeStage compute_stage>
Definition at line 26 of file ADMatReaction.C.
27 : ADKernel<compute_stage>(parameters),
28 _v(isCoupled(
"v") ? adCoupledValue(
"v") : _u),
29 _mob(getADMaterialProperty<Real>(
"mob_name"))
◆ ADMaterialProperty()
template<ComputeStage compute_stage>
const ADMatReaction< compute_stage >::ADMaterialProperty |
( |
Real |
| ) |
& |
|
protected |
◆ computeQpResidual()
template<ComputeStage compute_stage>
Definition at line 35 of file ADMatReaction.C.
37 return -_mob[_qp] * _test[_i][_qp] *
_v[_qp];
◆ _v
template<ComputeStage compute_stage>
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems, v = lambda where lambda is the Lagrange multiplier)
Definition at line 38 of file ADMatReaction.h.
◆ usingKernelMembers
template<ComputeStage compute_stage>
The documentation for this class was generated from the following files: