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 <MatReaction.h>
Public Member Functions | |
MatReaction (const InputParameters ¶meters) | |
virtual void | initialSetup () |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Protected Attributes | |
const bool | _is_coupled |
is the kernel used in a coupled form? More... | |
std::string | _v_name |
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems, v = lambda where lambda is the Lagrange multiplier) More... | |
const VariableValue & | _v |
unsigned int | _v_var |
const MaterialProperty< Real > & | _L |
Reaction rate. More... | |
VariableName | _eta_name |
name of the order parameter (needed to retrieve the derivative material properties) More... | |
const MaterialProperty< Real > & | _dLdop |
Reaction rate derivative w.r.t. order parameter. More... | |
const MaterialProperty< Real > & | _dLdv |
Reaction rate derivative w.r.t. the variable being added by this kernel. More... | |
const unsigned int | _nvar |
number of coupled variables More... | |
std::vector< const MaterialProperty< Real > * > | _dLdarg |
Reaction rate derivatives w.r.t. other coupled variables. More... | |
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 26 of file MatReaction.h.
MatReaction::MatReaction | ( | const InputParameters & | parameters | ) |
Definition at line 28 of file MatReaction.C.
|
protectedvirtual |
Definition at line 62 of file MatReaction.C.
|
protectedvirtual |
Definition at line 71 of file MatReaction.C.
|
protectedvirtual |
Definition at line 56 of file MatReaction.C.
|
virtual |
Definition at line 50 of file MatReaction.C.
|
protected |
Reaction rate derivatives w.r.t. other coupled variables.
Definition at line 66 of file MatReaction.h.
Referenced by computeQpOffDiagJacobian(), and MatReaction().
|
protected |
Reaction rate derivative w.r.t. order parameter.
Definition at line 57 of file MatReaction.h.
Referenced by computeQpJacobian().
|
protected |
Reaction rate derivative w.r.t. the variable being added by this kernel.
Definition at line 60 of file MatReaction.h.
Referenced by computeQpOffDiagJacobian().
|
protected |
name of the order parameter (needed to retrieve the derivative material properties)
Definition at line 54 of file MatReaction.h.
|
protected |
is the kernel used in a coupled form?
Definition at line 38 of file MatReaction.h.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protected |
Reaction rate.
Definition at line 51 of file MatReaction.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
protected |
number of coupled variables
Definition at line 63 of file MatReaction.h.
Referenced by MatReaction().
|
protected |
Definition at line 47 of file MatReaction.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
protected |
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems, v = lambda where lambda is the Lagrange multiplier)
Definition at line 46 of file MatReaction.h.
|
protected |
Definition at line 48 of file MatReaction.h.
Referenced by computeQpOffDiagJacobian().