18 params.
addClassDescription(
"Helper material to provide h(eta) and its derivative in one of two " 19 "polynomial forms. MIX234 and MIX246");
20 MooseEnum h_order(
"MIX234=0 MIX246",
"MIX234");
22 "h_order", h_order,
"Polynomial order of the switching function h(eta)");
23 params.
set<std::string>(
"function_name") = std::string(
"h");
26 "weight", 1.0,
"weight <= 1 & weight >= 0",
"Weight parameter for MIX type h(eta)");
34 _weight(getParam<
Real>(
"weight"))
42 n = n > 1 ? 1 : (n < 0 ? 0 : n);
static InputParameters validParams()
MooseEnum _h_order
Polynomial order of the switching function .
Material class to provide the switching function for the KKS system.
Material base class for materials that provide the switching function or the double well function ...
MaterialProperty< Real > & _prop_d2f
Material property to store the second derivative .
Real _weight
Weight parameter of mixed-type h(eta)
MaterialProperty< Real > & _prop_df
Material property to store the derivative .
virtual void computeQpProperties()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _prop_f
Material property to store .
void mooseError(Args &&... args) const
registerMooseObject("PhaseFieldApp", MixedSwitchingFunctionMaterial)
MixedSwitchingFunctionMaterial(const InputParameters ¶meters)
static InputParameters validParams()
const VariableValue & _eta
Coupled variable value for the order parameter .