Commit dc67273e authored by Kenneth Leiter's avatar Kenneth Leiter
Browse files

ENH: Add additional typemaps for python swig for XdmfMap.

parent 5d773b0e
...@@ -174,6 +174,13 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i ...@@ -174,6 +174,13 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
#ifdef SWIGPYTHON #ifdef SWIGPYTHON
%include std_set.i
%include std_map.i
%template(XdmfMapNodeIdSet) std::set<int>;
%template(XdmfMapNodeIdMap) std::map<int, std::set<int> >;
%template(XdmfMapMap) std::map<int, std::map<int, std::set<int> > >;
%pythoncode { %pythoncode {
from XdmfCore import * from XdmfCore import *
} }
......
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