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