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;
105 return _L[_qp] * JdFdop + _dLdop[_qp] * _phi[_j][_qp] * dFdop;
108 template <
typename T>
113 const unsigned int cvar = mapJvarToCvar(jvar);
116 return (*_dLdarg[cvar])[_qp] * _phi[_j][_qp] * computeDFDOP(
Residual) * _test[_i][_qp];
const MaterialProperty< T > & _L
Mobility.
virtual void initialSetup()
ACBulk(const InputParameters ¶meters)
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
static InputParameters validParams()
virtual Real computeDFDOP(PFFunctionType type)=0
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
std::vector< const MaterialProperty< T > * > _dLdarg
Mobility derivative w.r.t coupled variables.
virtual Real precomputeQpJacobian()
virtual Real precomputeQpResidual()
static InputParameters validParams()
const MaterialProperty< T > & _dLdop
Mobility derivative w.r.t. order parameter.