Go to the source code of this file.
◆ validParams< ConservedAction >()
Definition at line 27 of file ConservedAction.C.
29 InputParameters params = validParams<Action>();
30 params.addClassDescription(
31 "Set up the variable(s) and the kernels needed for a conserved phase field variable."
32 " Note that for a direct solve, the element family and order are overwritten with hermite "
34 MooseEnum solves(
"DIRECT REVERSE_SPLIT FORWARD_SPLIT");
35 params.addRequiredParam<MooseEnum>(
"solve_type", solves,
"Split or direct solve?");
37 MooseEnum families(AddVariableAction::getNonlinearVariableFamilies());
38 MooseEnum orders(AddVariableAction::getNonlinearVariableOrders());
39 params.addParam<MooseEnum>(
"family",
41 "Specifies the family of FE "
42 "shape functions to use for this variable");
43 params.addParam<MooseEnum>(
"order",
45 "Specifies the order of the FE "
46 "shape function to use for this variable");
47 params.addParam<Real>(
"scaling", 1.0,
"Specifies a scaling factor to apply to this variable");
48 params.addParam<
bool>(
"implicit",
true,
"Whether kernels are implicit or not");
49 params.addParam<
bool>(
50 "use_displaced_mesh",
false,
"Whether to use displaced mesh in the kernels");
51 params.addParamNamesToGroup(
"scaling implicit use_displaced_mesh",
"Advanced");
52 params.addRequiredParam<MaterialPropertyName>(
"mobility",
"The mobility used with the kernel");
53 params.addParam<std::vector<VariableName>>(
"args",
54 "Vector of variable arguments this kernel depends on");
55 params.addRequiredParam<MaterialPropertyName>(
56 "free_energy",
"Base name of the free energy function F defined in a free energy material");
57 params.addRequiredParam<MaterialPropertyName>(
"kappa",
"The kappa used with the kernel");