IntervalMesh_create¶
-
dolfin.cpp.mesh.
IntervalMesh_create
()¶ Factory
// Create a mesh of 25 cells in the interval [-1,1] IntervalMesh mesh(MPI_COMM_WORLD, 25, -1.0, 1.0);
Parameters: - comm (MPI_Comm) – (MPI_Comm)
MPI
communicator - n (std::size_t) – (std::size_t) The number of cells.
- double, 2 > x (std::array<) – (std::array<double, 2>) The end points
Return type: - comm (MPI_Comm) – (MPI_Comm)