18 #ifndef __UNIT_CUBE_MESH_H 19 #define __UNIT_CUBE_MESH_H 23 #include <dolfin/common/MPI.h> 24 #include <dolfin/mesh/CellType.h> 51 {
return create(MPI_COMM_WORLD, n, cell_type); }
71 static Mesh create(std::size_t nx, std::size_t ny, std::size_t nz,
73 {
return create({{nx, ny, nz}}, cell_type); }
77 static Mesh create(MPI_Comm comm, std::size_t nx, std::size_t ny, std::size_t nz,
79 {
return create({{nx, ny, nz}}, cell_type); }
113 UnitCubeMesh(MPI_Comm comm, std::size_t nx, std::size_t ny, std::size_t nz)
UnitCubeMesh(std::size_t nx, std::size_t ny, std::size_t nz)
Definition: UnitCubeMesh.h:95
UnitCubeMesh(MPI_Comm comm, std::size_t nx, std::size_t ny, std::size_t nz)
Definition: UnitCubeMesh.h:113
static Mesh create(const std::array< Point, 2 > &p, std::array< std::size_t, 3 > n, CellType::Type cell_type)
Definition: BoxMesh.h:58
static Mesh create(std::array< std::size_t, 3 > n, CellType::Type cell_type)
Definition: UnitCubeMesh.h:50
Type
Enum for different cell types.
Definition: CellType.h:51
Definition: UnitCubeMesh.h:35
static Mesh create(MPI_Comm comm, std::array< std::size_t, 3 > n, CellType::Type cell_type)
Definition: UnitCubeMesh.h:66