36 _problem->getControlWarehouse().addObject(control);
AddControlAction(const InputParameters ¶meters)
static InputParameters validParams()
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, const InputParameters ¶meters, THREAD_ID tid=0, bool print_deprecated=true)
registerMooseAction("MooseApp", AddControlAction, "add_control")
Action for creating Control objects.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Factory & _factory
The Factory associated with the MooseApp.
const std::string _name
The name of this class.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
std::string _type
The Object type that is being created.
Base class for Control objects.
InputParameters _moose_object_pars
The parameters for the object to be created.
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
static InputParameters validParams()
Class constructor.