mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
can convert to mpi4py - communicator
This commit is contained in:
parent
7aab695f04
commit
78d0479993
@ -122,6 +122,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
{
|
||||
return NgMPI_Comm(comm);
|
||||
}))
|
||||
.def_property_readonly ("mpi4py", [] (NgMPI_Comm comm) { return mpi4py_comm(comm); })
|
||||
#endif // NG_MPI4PY
|
||||
.def_property_readonly ("rank", &NgMPI_Comm::Rank)
|
||||
.def_property_readonly ("size", &NgMPI_Comm::Size)
|
||||
|
Loading…
Reference in New Issue
Block a user