DOLFIN-X
DOLFIN-X C++ interface
|
Interval mesh of the 1D line [a,b]. Given the number of cells (n) in the axial direction, the total number of intervals will be n and the total number of vertices will be (n + 1). More...
#include <IntervalMesh.h>
Static Public Member Functions | |
static mesh::Mesh | create (MPI_Comm comm, std::size_t n, std::array< double, 2 > x, const fem::CoordinateElement &element, const mesh::GhostMode ghost_mode) |
Factory. More... | |
Interval mesh of the 1D line [a,b]. Given the number of cells (n) in the axial direction, the total number of intervals will be n and the total number of vertices will be (n + 1).
|
static |
Factory.
[in] | comm | MPI communicator to build the mesh on |
[in] | n | The number of cells. |
[in] | x | The end points |
[in] | element | Element that describes the geometry of a cell |
[in] | ghost_mode | Ghosting mode |