Mesh is MPI-local by default

This commit is contained in:
Matthias Hochsteger 2019-02-12 16:30:18 +01:00
parent c274126487
commit bc21e34125

View File

@ -537,7 +537,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
mesh -> SetGeometry (nullptr); mesh -> SetGeometry (nullptr);
return mesh; 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<Mesh>()) .def(NGSPickle<Mesh>())
.def_property_readonly("comm", [](const Mesh & amesh) -> NgMPI_Comm .def_property_readonly("comm", [](const Mesh & amesh) -> NgMPI_Comm