22 "Adds the SetupMesh-Actions to the simulation, if they are not created by the [Mesh] block.");
49 std::shared_ptr<MooseObjectAction> action = std::static_pointer_cast<
MooseObjectAction>(
59 mooseAssert(
true,
"Should not reach here");
ActionWarehouse & _awh
Reference to ActionWarehouse where we store object build by actions.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
InputParameters getValidParams(const std::string &name)
Action for creating the actions triggered for the [Mesh] block when the [Mesh] block is not present...
void addActionBlock(std::shared_ptr< Action > blk)
This method add an Action instance to the warehouse.
std::shared_ptr< Action > create(const std::string &action, const std::string &action_name, InputParameters ¶meters)
static InputParameters validParams()
static InputParameters validParams()
const std::string & _current_task
The current action (even though we have separate instances for each action)
ActionFactory & _action_factory
Builds Actions.
CreateMeshSetupActionsForComponents(const InputParameters ¶ms)
bool hasActions(const std::string &task) const
Check if Actions associated with passed in task exist.
registerMooseAction("MooseApp", CreateMeshSetupActionsForComponents, "meta_action_component")