25 std::unique_ptr<MeshBase>
generate()
override;
31 std::vector<Real>
_dx;
33 std::vector<unsigned int>
_ix;
35 std::vector<Real>
_dy;
37 std::vector<unsigned int>
_iy;
39 std::vector<Real>
_dz;
41 std::vector<unsigned int>
_iz;
MooseEnum _dim
The dimension of the mesh.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
CartesianMeshGenerator(const InputParameters ¶meters)
int _nx
Number of elements in x, y, z direction.
std::vector< Real > _dy
Intervals in y direction.
std::vector< unsigned int > _ix
Number of grids in all intervals in x direction.
std::vector< unsigned int > _subdomain_id
Block IDs.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
std::vector< unsigned int > _iy
Number of grids in all intervals in y direction.
std::vector< Real > _dx
Intervals in x direction.
std::vector< unsigned int > _iz
Number of grids in all intervals in z direction.
std::vector< Real > _dz
Intervals in z direction.
const InputParameters & parameters() const
Get the parameters of the object.
MeshGenerators are objects that can modify or add to an existing mesh.
static InputParameters validParams()