52 std::vector<const MaterialProperty<T> *>
_dLdarg;
58 _L(getMaterialProperty<
T>(
"mob_name")),
59 _dLdop(getMaterialPropertyDerivative<
T>(
"mob_name", _var.
name())),
63 for (
unsigned int i = 0; i < _n_args; ++i)
64 _dLdarg[i] = &getMaterialPropertyDerivative<T>(
"mob_name", i);
73 params.
addParam<MaterialPropertyName>(
"mob_name",
"L",
"The mobility used with the kernel");
81 validateNonlinearCoupling<Real>(
"mob_name");
92 return _L[_qp] * dFdop;
100 Real dFdop = computeDFDOP(
Residual);
102 Real JdFdop = computeDFDOP(Jacobian);
105 return _L[_qp] * JdFdop + _dLdop[_qp] * _phi[_j][_qp] * dFdop;
113 const unsigned int cvar = mapJvarToCvar(jvar);
116 return (*_dLdarg[cvar])[_qp] * _phi[_j][_qp] * computeDFDOP(
Residual) * _test[_i][_qp];
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
virtual Real precomputeQpResidual()
const MaterialProperty< T > & _L
Mobility.
ACBulk(const InputParameters ¶meters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeDFDOP(PFFunctionType type)=0
virtual void initialSetup()
std::vector< const MaterialProperty< T > * > _dLdarg
Mobility derivative w.r.t coupled variables.
const MaterialProperty< T > & _dLdop
Mobility derivative w.r.t. order parameter.
static InputParameters validParams()
virtual Real precomputeQpJacobian()
static InputParameters validParams()