https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SetupMeshAction.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MooseObjectAction.h"
13
14class MooseMesh;
15
17{
18public:
20
21 SetupMeshAction(const InputParameters & params);
22
23 virtual void act() override;
24
25private:
26 void setupMesh(MooseMesh * mesh);
27
32 std::string modifyParamsForUseSplit(InputParameters & moose_object_params) const;
33
35 const bool _use_split;
37 const std::string _split_file;
38};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
std::string modifyParamsForUseSplit(InputParameters &moose_object_params) const
Modifies the MooseObject's parameters to build the right type of Mesh when using splits.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
const std::string _split_file
The split mesh file (if any); comes from either Mesh/split_file or –split-file.
const bool _use_split
Whether or not to use a split mesh; comes from either Mesh/use_split or –use-split.
void setupMesh(MooseMesh *mesh)
static InputParameters validParams()
MeshBase & mesh