From bc21e34125930b55fd323bf12c491c47545d7a76 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Tue, 12 Feb 2019 16:30:18 +0100 Subject: [PATCH] Mesh is MPI-local by default --- libsrc/meshing/python_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index bb9cf36b..3c15e3bd 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -537,7 +537,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) mesh -> SetGeometry (nullptr); return mesh; } ), - py::arg("dim")=3, py::arg("comm")=NgMPI_Comm(MPI_COMM_WORLD) // NgMPI_Comm(ng_comm) + py::arg("dim")=3, py::arg("comm")=NgMPI_Comm{} ) .def(NGSPickle()) .def_property_readonly("comm", [](const Mesh & amesh) -> NgMPI_Comm