13 #include "libmesh/replicated_mesh.h" 26 std::unique_ptr<MeshBase>
generate()
override;
33 const std::vector<std::unique_ptr<MeshBase> *>
_mesh_ptrs;
42 std::vector<std::unique_ptr<ReplicatedMesh>>
_meshes;
const std::vector< MeshGeneratorName > & _input_names
The meshgenerators to read.
StackGenerator(const InputParameters ¶meters)
static constexpr std::size_t dim
This is the dimension of all vector and tensor datastructures used in MOOSE.
const std::vector< std::unique_ptr< MeshBase > * > _mesh_ptrs
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
std::vector< std::unique_ptr< ReplicatedMesh > > _meshes
The meshes to be stitched together.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
const Real _bottom_height
Height (z) of the bottom of the final mesh.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Real computeWidth(const MeshBase &mesh, const int &dim)
static InputParameters validParams()
MeshGenerators are objects that can modify or add to an existing mesh.
const MooseEnum _dim
The dimension of the mesh.
Take several 3D meshes and stitch them on top of each other like a stack.