|
DOLFINx
0.3.0
DOLFINx C++ interface
|
Interval mesh creation. More...
Functions | |
| mesh::Mesh | create (MPI_Comm comm, std::size_t n, std::array< double, 2 > x, const mesh::GhostMode ghost_mode, const mesh::CellPartitionFunction &partitioner=static_cast< graph::AdjacencyList< std::int32_t >(*)(MPI_Comm, int, int, const graph::AdjacencyList< std::int64_t > &, mesh::GhostMode)>(&mesh::partition_cells_graph)) |
Interval mesh of the 1D line [a, b]. Given n cells in the axial direction, the total number of intervals will be n and the total number of vertices will be n + 1. More... | |
Interval mesh creation.
| mesh::Mesh dolfinx::generation::IntervalMesh::create | ( | MPI_Comm | comm, |
| std::size_t | n, | ||
| std::array< double, 2 > | x, | ||
| const mesh::GhostMode | ghost_mode, | ||
| const mesh::CellPartitionFunction & | partitioner = static_cast<graph::AdjacencyList<std::int32_t> (*)( MPI_Comm, int, int, const graph::AdjacencyList<std::int64_t>&, mesh::GhostMode)>(&mesh::partition_cells_graph) |
||
| ) |
Interval mesh of the 1D line [a, b]. Given n cells in the axial direction, the total number of intervals will be n and the total number of vertices will be n + 1.
| [in] | comm | MPI communicator to build the mesh on |
| [in] | n | The number of cells |
| [in] | x | The end points of the interval |
| [in] | ghost_mode | Ghosting mode |
| [in] | partitioner | Partitioning function to use for determining the parallel distribution of cells across MPI ranks |