Go to the documentation of this file.
19 params.addClassDescription(
"Helper material to provide h(eta) and its derivative in one of two "
20 "polynomial forms. MIX234 and MIX246");
21 MooseEnum h_order(
"MIX234=0 MIX246",
"MIX234");
22 params.addParam<MooseEnum>(
23 "h_order", h_order,
"Polynomial order of the switching function h(eta)");
24 params.set<std::string>(
"function_name") = std::string(
"h");
26 params.addRangeCheckedParam<Real>(
27 "weight", 1.0,
"weight <= 1 & weight >= 0",
"Weight parameter for MIX type h(eta)");
34 _h_order(getParam<MooseEnum>(
"h_order")),
35 _weight(getParam<Real>(
"weight"))
43 n = n > 1 ? 1 : (n < 0 ? 0 : n);
65 mooseError(
"Internal error");
registerMooseObject("PhaseFieldApp", MixedSwitchingFunctionMaterial)
MooseEnum _h_order
Polynomial order of the switching function .
MaterialProperty< Real > & _prop_f
Material property to store .
InputParameters validParams< MixedSwitchingFunctionMaterial >()
Material base class for materials that provide the switching function or the double well function .
const VariableValue & _eta
Coupled variable value for the order parameter .
virtual void computeQpProperties()
InputParameters validParams< OrderParameterFunctionMaterial >()
Real _weight
Weight parameter of mixed-type h(eta)
Material class to provide the switching function for the KKS system.
MaterialProperty< Real > & _prop_df
Material property to store the derivative .
MixedSwitchingFunctionMaterial(const InputParameters ¶meters)
MaterialProperty< Real > & _prop_d2f
Material property to store the second derivative .