15#include "libmesh/fe.h"
42 _type =
"MooseVariableConstMonomial";
57 std::string variable =
name();
registerMooseAction("MooseApp", AddElementalFieldAction, "add_elemental_field_variable")
AddElementalFieldAction(const InputParameters ¶ms)
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
void init() override
Initialize the action's member variables.
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.
void addVariable(const std::string &var_name)
Adds a nonlinear variable to the system.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual void addElementalFieldVariable(const std::string &var_type, const std::string &var_name, InputParameters ¶ms)
Add an elemental field variable for use in the adaptivity system.
const std::string & name() const
Get the name of the class.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
InputParameters _moose_object_pars
The parameters for the object to be created.
std::string _type
The Object type that is being created.