19 params.
addRequiredParam<Real>(
"prefactor",
"prefactor of the Laplacian operator");
20 params.
addParam<MaterialPropertyName>(
"density_value",
"1.0",
"density of the fluid mixture");
26 _prefactor(getParam<Real>(
"prefactor")),
27 _rho_val(getADMaterialProperty<Real>(
"density_value"))
registerMooseObject("PhaseFieldApp", ADPrefactorLaplacianSplit)
Split with a variable that holds the Laplacian of the phase field.
virtual ADRealGradient precomputeQpResidual()
static InputParameters validParams()
Split with a variable that holds the Laplacian of the phase field with a constant prefactor.
virtual ADRealGradient precomputeQpResidual() override
const ADMaterialProperty< Real > & _rho_val
static InputParameters validParams()
ADPrefactorLaplacianSplit(const InputParameters ¶meters)