19 "Helper material to provide $h(\\eta)$ and its derivative in one of two " 20 "polynomial forms.\nSIMPLE: $3\\eta^2-2\\eta^3$\nHIGH: " 21 "$\\eta^3(6\\eta^2-15\\eta+10)$");
22 MooseEnum h_order(
"SIMPLE=0 HIGH",
"SIMPLE");
24 "h_order", h_order,
"Polynomial order of the switching function h(eta)");
25 params.
set<std::string>(
"function_name") = std::string(
"h");
38 n = n > 1 ? 1 : (n < 0 ? 0 : n);
49 _prop_f[
_qp] = n * n * n * (6.0 * n * n - 15.0 * n + 10.0);
50 _prop_df[
_qp] = 30.0 * n * n * (n * n - 2.0 * n + 1.0);
static InputParameters validParams()
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 .
virtual void computeQpProperties()
MaterialProperty< Real > & _prop_df
Material property to store the derivative .
MooseEnum _h_order
Polynomial order of the switching function .
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _prop_f
Material property to store .
static InputParameters validParams()
void mooseError(Args &&... args) const
SwitchingFunctionMaterial(const InputParameters ¶meters)
registerMooseObject("PhaseFieldApp", SwitchingFunctionMaterial)
Material class to provide the switching function for the KKS system.
const VariableValue & _eta
Coupled variable value for the order parameter .