31 return MooseEnum(
"LAGRANGE MONOMIAL SCALAR LAGRANGE_VEC MONOMIAL_VEC L2_HIERARCHIC "
32 "L2_HIERARCHIC_VEC L2_LAGRANGE L2_LAGRANGE_VEC L2_RAVIART_THOMAS",
41 "CONSTANT FIRST SECOND THIRD FOURTH FIFTH SIXTH SEVENTH EIGHTH NINTH",
"FIRST",
true);
50 mooseError(
"Non-scalar AuxVariables must be CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, "
51 "SIXTH, SEVENTH, EIGHTH or NINTH order (",
registerMooseAction("MooseApp", AddAuxVariableAction, "add_aux_variable")
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Action for creating Auxiliary variables.
AddAuxVariableAction(const InputParameters ¶ms)
static MooseEnum getAuxVariableFamilies()
Returns available families for AuxVariables.
void init() override
Initialize the action's member variables.
static InputParameters validParams()
static MooseEnum getAuxVariableOrders()
Returns available orders for AuxVariables.
std::function< void(FEProblemBase &, const std::string &, const std::string &, InputParameters &)> _problem_add_var_method
libMesh::FEType _fe_type
FEType for the variable being created.
static InputParameters validParams()
bool _scalar_var
True if the variable being created is a scalar.
virtual void init()
Initialize the action's member variables.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual void addAuxVariable(const std::string &var_type, const std::string &var_name, InputParameters ¶ms)
Canonical method for adding an auxiliary variable.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...