From 2d077f2ec070d3933391fd61c15def1a4ac02677 Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Thu, 22 Sep 2011 11:19:15 +0000 Subject: [PATCH] add bindings for std::vector<std::vector<GFace*> > so that volumes can be created from python --- gmshpy/gmshGeo.i | 1 + 1 file changed, 1 insertion(+) diff --git a/gmshpy/gmshGeo.i b/gmshpy/gmshGeo.i index a80d05dd69..2d08d85e14 100644 --- a/gmshpy/gmshGeo.i +++ b/gmshpy/gmshGeo.i @@ -45,6 +45,7 @@ namespace std { %template(MVertexVector) vector< MVertex *,std::allocator< MVertex * > >; %template(MElementVector) vector< MElement *,std::allocator< MElement * > >; %template(GEdgeVectorVector) vector< std::vector< GEdge *,std::allocator< GEdge * > >,std::allocator< std::vector< GEdge *,std::allocator< GEdge * > > > >; + %template(GFaceVectorVector) vector< std::vector< GFace *,std::allocator< GFace * > >,std::allocator< std::vector< GFace *,std::allocator< GFace * > > > >; %template(GFaceList) list<GFace*, std::allocator<GFace*> >; %template(GEdgeList) list<GEdge*, std::allocator<GEdge*> >; } -- GitLab