Go to the documentation of this file.
21 "delete_remote_elements_post_equation_systems_init");
39 :
Action(params), _uniform_refine_timer(registerTimedSection(
"uniformRefine", 2))
62 mooseError(
"No mesh file was supplied and no generation block was provided");
94 CONSOLE_TIMED_PRINT(
"Uniformly refining mesh");
96 if (
_mesh->uniformRefineLevel())
113 else if (
_current_task ==
"delete_remote_elements_post_equation_systems_init")
115 if (
_mesh->needsRemoteElemDeletion())
117 _mesh->getMesh().delete_remote_elements();
static void uniformRefine(MooseMesh *mesh, unsigned int level=libMesh::invalid_uint)
Performs uniform refinement of the passed Mesh object.
void executeMeshModifiers()
Execute and clear the Mesh Modifiers data structure.
bool prepared() const
Setter/getter for the _is_prepared flag.
PerfID _uniform_refine_timer
MooseApp & _app
The MOOSE application this is associated with.
bool & setFileRestart()
Returns a writable Boolean to determine whether or not we need to use a separate reader to read the m...
const std::string & _current_task
The current action (even though we have seperate instances for each action)
static InputParameters validParams()
registerMooseAction("MooseApp", SetupMeshCompleteAction, "prepare_mesh")
SetupMeshCompleteAction(InputParameters params)
defineLegacyParams(SetupMeshCompleteAction)
bool completeSetup(MooseMesh *mesh)
void clearMeshModifiers()
Clear all mesh modifers.
bool isUseSplit() const
Whether or not we are running with pre-split (distributed mesh)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
void prepare(bool force=false)
Calls prepare_for_use() if force=true on the underlying Mesh object, then communicates various bounda...
bool isRecovering() const
Whether or not this is a "recover" calculation.
std::shared_ptr< MooseMesh > & _displaced_mesh
const std::shared_ptr< Parallel::Communicator > getCommunicator() const
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
std::shared_ptr< MooseMesh > & _mesh
const MooseMesh * masterMesh() const
Returns a pointer to the master mesh.
static InputParameters validParams()