10 #include <dolfinx/common/MPI.h>
11 #include <dolfinx/mesh/Mesh.h>
12 #include <dolfinx/mesh/cell_types.h>
17 class CoordinateElement;
39 mesh::Mesh create(MPI_Comm comm,
const std::array<std::array<double, 3>, 2>& p,
42 const std::string& diagonal =
"right");
61 mesh::Mesh create(MPI_Comm comm,
const std::array<std::array<double, 3>, 2>& p,
65 const std::string& diagonal =
"right");
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:53
Finite element method functionality.
Definition: assemble_matrix_impl.h:23
Rectangle mesh creation.
Definition: RectangleMesh.h:22
mesh::Mesh create(MPI_Comm comm, const std::array< std::array< double, 3 >, 2 > &p, std::array< std::size_t, 2 > n, mesh::CellType celltype, const mesh::GhostMode ghost_mode, const std::string &diagonal="right")
Create a uniform mesh::Mesh over the rectangle spanned by the two points p. The order of the two poin...
Definition: RectangleMesh.cpp:295
std::function< const dolfinx::graph::AdjacencyList< std::int32_t >(MPI_Comm comm, int nparts, int tdim, const dolfinx::graph::AdjacencyList< std::int64_t > &cells, dolfinx::mesh::GhostMode ghost_mode)> CellPartitionFunction
Definition: Mesh.h:40
CellType
Cell type identifier.
Definition: cell_types.h:22
GhostMode
Enum for different partitioning ghost modes.
Definition: Mesh.h:44