Go to the documentation of this file.
13 #include "JvarMapInterface.h"
14 #include "DerivativeMaterialInterface.h"
26 class MatReaction :
public DerivativeMaterialInterface<JvarMapKernelInterface<Kernel>>
47 const VariableValue &
_v;
51 const MaterialProperty<Real> &
_L;
57 const MaterialProperty<Real> &
_dLdop;
60 const MaterialProperty<Real> &
_dLdv;
66 std::vector<const MaterialProperty<Real> *>
_dLdarg;
This kernel adds to the residual a contribution of where is a material property and is a variable ...
virtual Real computeQpJacobian()
const unsigned int _nvar
number of coupled variables
const MaterialProperty< Real > & _dLdv
Reaction rate derivative w.r.t. the variable being added by this kernel.
virtual void initialSetup()
virtual Real computeQpResidual()
const MaterialProperty< Real > & _dLdop
Reaction rate derivative w.r.t. order parameter.
std::vector< const MaterialProperty< Real > * > _dLdarg
Reaction rate derivatives w.r.t. other coupled variables.
MatReaction(const InputParameters ¶meters)
const MaterialProperty< Real > & _L
Reaction rate.
InputParameters validParams< MatReaction >()
std::string _v_name
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems,...
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
VariableName _eta_name
name of the order parameter (needed to retrieve the derivative material properties)
const bool _is_coupled
is the kernel used in a coupled form?