18 params.
addClassDescription(
"Material that implements the math free energy and its derivatives: " 19 "\n$F = 1/4(1 + c)^2(1 - c)^2$");
20 params.
addParam<MaterialPropertyName>(
"f_name",
"F",
"function property name");
27 _c(adCoupledValue(
"c")),
28 _f_name(getParam<MaterialPropertyName>(
"f_name")),
29 _prop_F(declareADProperty<
Real>(_f_name)),
31 declareADProperty<
Real>(derivativePropertyNameFirst(_f_name, this->coupledName(
"c", 0))))
virtual void computeQpProperties()
const ADVariableValue & _c
Coupled variable value for the concentration .
static InputParameters validParams()
ADMaterialProperty< Real > & _prop_F
function value
registerMooseObject("PhaseFieldApp", ADMathFreeEnergy)
Material class that creates the math free energy and its derivatives for use with ADSplitCHParsed...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADMathFreeEnergy(const InputParameters ¶meters)
static InputParameters validParams()
ADMaterialProperty< Real > & _prop_dFdc
function value derivative