13 #include "RankFourTensor.h"
14 #include "RankTwoTensor.h"
23 params.addClassDescription(
"Adds elastic energy contribution to the Allen-Cahn equation");
24 params.addRequiredParam<MaterialPropertyName>(
25 "D_tensor_name",
"The elastic tensor derivative for the specific order parameter");
30 :
ACBulk<Real>(parameters),
31 _D_elastic_tensor(getMaterialProperty<
RankFourTensor>(
"D_tensor_name")),
32 _elastic_strain(getMaterialPropertyByName<
RankTwoTensor>(
"elastic_strain"))
49 D_stress.doubleContraction(strain);
55 mooseError(
"Invalid type passed in");