Salome HOME
68aebf972028b2fd21a49001dabf77c47c2e83ba
[modules/hexablock.git] / src / HEXABLOCK_SWIG / hexablock_swig.i
1 // Copyright (C) 2013-2023  CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 %module hexablock_swig
20 %{
21 #include "Hex.hxx"
22 #include "HexDocument.hxx"
23 #include "HexPropagation.hxx"
24 #include "HexElements.hxx"
25 #include "HexQuad.hxx"
26 #include "HexVertex.hxx"
27 #include "HexHexa.hxx"
28 #include "HexEdge.hxx"
29 #include "HexVector.hxx"
30 #include "HexBiCylinder.hxx"
31 #include "HexNewShape.hxx"
32 #include "HexGroup.hxx"
33 %}
34
35 %include "std_vector.i"
36 namespace std
37 {
38 %template(VectorHexas)    std::vector <Hex::Hexa*>;
39 %template(VectorQuads)    std::vector <Hex::Quad*>;
40 %template(VectorEdges)    std::vector <Hex::Edge*>;
41 %template(VectorVertices) std::vector <Hex::Vertex*>;
42 %template(VectorShapes)   std::vector <Hex::NewShape*>;
43 %template(VectorReal)    std::vector <double>;
44 %template(VectorInt)     std::vector <int>;
45 }
46
47 %include "hexa_base.hxx"
48 %include "HexEltBase.hxx"
49 %include "HexVertex.hxx"
50 %include "HexEdge.hxx"
51 %include "HexQuad.hxx"
52 %include "HexHexa.hxx"
53 %include "HexVector.hxx"
54 %include "HexDocument.hxx"
55 %include "HexPropagation.hxx"
56 %include "Hex.hxx"
57 %include "HexElements.hxx"
58 %include "HexBiCylinder.hxx"
59 %include "HexNewShape.hxx"
60 %include "HexGroup.hxx"