35 mooseError(
"No mesh file was supplied and no generation block was provided");
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
static InputParameters validParams()
MooseApp & _app
The MOOSE application this is associated with.
const std::string _name
The name of this class.
AddMeshGeneratorAction(const InputParameters ¶ms)
std::shared_ptr< MooseMesh > & _mesh
std::string _type
The Object type that is being created.
void addMeshGenerator(const std::string &type, const std::string &name, const InputParameters ¶ms)
Add a mesh generator that will act on the meshes in the system.
InputParameters _moose_object_pars
The parameters for the object to be created.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
registerMooseAction("MooseApp", AddMeshGeneratorAction, "add_mesh_generator")