Commit 31b11e13 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont

small bit of cleaning up in the swig wrapping

parent 03fc01be
......@@ -255,14 +255,16 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
%template(MapVector) std::vector<shared_ptr<XdmfMap> >;
%template(ArrayVector) std::vector<shared_ptr<XdmfArray> >;
#ifdef XDMF_BUILD_DSM
%pythoncode {
from XdmfCore import *
from XdmfDSM import *
}
#ifdef XDMF_BUILD_DSM
#else
%pythoncode {
from XdmfDSM import *
from XdmfCore import *
}
#endif /* XDMF_BUILD_DSM */
......
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