Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCK_SWIG / hexablock_swig.i
index 34f07d7bd135f61e57d06da223a383958f841113..73ce965e89864501720d27abe8a0472a00860721 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2013-2024  CEA, EDF
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 %module hexablock_swig
 %{
 #include "Hex.hxx"
@@ -9,7 +27,6 @@
 #include "HexHexa.hxx"
 #include "HexEdge.hxx"
 #include "HexVector.hxx"
-#include "HexCrossElements.hxx"
 #include "HexBiCylinder.hxx"
 #include "HexNewShape.hxx"
 #include "HexGroup.hxx"
 %include "std_vector.i"
 namespace std
 {
-%template(VectorHexas)    vector <Hex::Hexa*>;
-%template(VectorQuads)    vector <Hex::Quad*>;
-%template(VectorEdges)    vector <Hex::Edge*>;
-%template(VectorVertices) vector <Hex::Vertex*>;
-%template(VectorShapes)   vector <Hex::NewShape*>;
-%template(VectorReal)    vector <double>;
-%template(VectorInt)     vector <int>;
+%template(VectorHexas)    std::vector <Hex::Hexa*>;
+%template(VectorQuads)    std::vector <Hex::Quad*>;
+%template(VectorEdges)    std::vector <Hex::Edge*>;
+%template(VectorVertices) std::vector <Hex::Vertex*>;
+%template(VectorShapes)   std::vector <Hex::NewShape*>;
+%template(VectorReal)    std::vector <double>;
+%template(VectorInt)     std::vector <int>;
 }
 
 %include "hexa_base.hxx"
@@ -38,7 +55,6 @@ namespace std
 %include "HexPropagation.hxx"
 %include "Hex.hxx"
 %include "HexElements.hxx"
-%include "HexCrossElements.hxx"
 %include "HexBiCylinder.hxx"
 %include "HexNewShape.hxx"
 %include "HexGroup.hxx"