Salome HOME
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
[modules/smesh.git] / src / SMESH_I / SMESH_PreMeshInfo.cxx
index db4a1779073d950e25d43722324a598494b46ca3..2315d2b7a0248410529395360dfb80bbc1fd62d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // 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.
+// 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
@@ -233,6 +233,7 @@ namespace
       med2smeshTypes[ MED::eSEG3     ] = SMDSEntity_Quad_Edge         ;
       med2smeshTypes[ MED::eTRIA3    ] = SMDSEntity_Triangle          ;
       med2smeshTypes[ MED::eTRIA6    ] = SMDSEntity_Quad_Triangle     ;
+      med2smeshTypes[ MED::eTRIA7    ] = SMDSEntity_BiQuad_Triangle   ;
       med2smeshTypes[ MED::eQUAD4    ] = SMDSEntity_Quadrangle        ;
       med2smeshTypes[ MED::eQUAD8    ] = SMDSEntity_Quad_Quadrangle   ;
       med2smeshTypes[ MED::eQUAD9    ] = SMDSEntity_BiQuad_Quadrangle ;
@@ -285,7 +286,7 @@ namespace
                      const std::string&    name,
                      HDFgroup*             hdfGroup)
   {
-    // we use med identification of element (MED::EGeometrieElement>) types
+    // we use med identification of element (MED::EGeometrieElement) types
     // but not enum SMDSAbs_EntityType because values of SMDSAbs_EntityType may
     // change at insertion of new items in the middle.
     const vector<MED::EGeometrieElement>& medTypes = mesh2medElemType();