Commit dc67273e authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Add additional typemaps for python swig for XdmfMap.

parent 5d773b0e
......@@ -174,6 +174,13 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
#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 {
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