23 #ifndef __UNIT_SQUARE_MESH_H 24 #define __UNIT_SQUARE_MESH_H 28 #include <dolfin/mesh/CellType.h> 29 #include "RectangleMesh.h" 64 std::string diagonal=
"right")
73 std::string diagonal=
"right")
81 static Mesh create(MPI_Comm comm, std::size_t nx, std::size_t ny,
83 std::string diagonal=
"right")
107 static Mesh create(MPI_Comm comm, std::array<std::size_t, 2> n,
109 std::string diagonal=
"right")
111 cell_type, diagonal); }
151 std::string diagonal=
"right")
UnitSquareMesh(std::size_t nx, std::size_t ny, std::string diagonal="right")
Definition: UnitSquareMesh.h:129
static Mesh create(const std::array< Point, 2 > &p, std::array< std::size_t, 2 > n, CellType::Type cell_type, std::string diagonal="right")
Definition: RectangleMesh.h:57
Definition: UnitSquareMesh.h:42
Type
Enum for different cell types.
Definition: CellType.h:51
UnitSquareMesh(MPI_Comm comm, std::size_t nx, std::size_t ny, std::string diagonal="right")
Definition: UnitSquareMesh.h:150
static Mesh create(MPI_Comm comm, std::array< std::size_t, 2 > n, CellType::Type cell_type, std::string diagonal="right")
Definition: UnitSquareMesh.h:107
Definition: RectangleMesh.h:36
static Mesh create(std::array< std::size_t, 2 > n, CellType::Type cell_type, std::string diagonal="right")
Definition: UnitSquareMesh.h:62