18 #ifndef __INTERVAL_MESH_H 19 #define __INTERVAL_MESH_H 23 #include <dolfin/common/MPI.h> 24 #include <dolfin/mesh/Mesh.h> 49 static Mesh create(std::size_t n, std::array<double, 2> x)
50 {
return create(MPI_COMM_WORLD, n, x); }
66 static Mesh create(MPI_Comm comm, std::size_t n, std::array<double, 2> x)
105 IntervalMesh(MPI_Comm comm, std::size_t n,
double a,
double b);
110 static void build(
Mesh& mesh, std::size_t n, std::array<double, 2> x);
static Mesh create(std::size_t n, std::array< double, 2 > x)
Definition: IntervalMesh.h:49
Definition: IntervalMesh.h:33
IntervalMesh(std::size_t n, double a, double b)
Definition: IntervalMesh.cpp:29
static Mesh create(MPI_Comm comm, std::size_t n, std::array< double, 2 > x)
Definition: IntervalMesh.h:66