Commit 550c1aa6 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont Committed by Kenneth Leiter
Browse files

fixed Python DSM bindings to wrap MPIComm correctly

parent 65e96db1
...@@ -63,9 +63,13 @@ swig -v -c++ -python -o XdmfDSMPython.cpp XdmfDSM.i ...@@ -63,9 +63,13 @@ swig -v -c++ -python -o XdmfDSMPython.cpp XdmfDSM.i
#ifdef SWIGPYTHON #ifdef SWIGPYTHON
%pythoncode {
from XdmfCore import *
}
%include mpi4py/mpi4py.i %include mpi4py/mpi4py.i
//%mpi4py_typemap(Comm, MPI_Comm); %mpi4py_typemap(Comm, MPI_Comm);
%include <typemaps.i> %include <typemaps.i>
%apply int & INOUT {int & data }; %apply int & INOUT {int & data };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment