Salome HOME
Updated copyright comment
[modules/homard.git] / src / HOMARD_I / HomardMedCommun.cxx
index 7b22b6df4ede3355688034920f44e9fd5b70b952..732a519b374f2fca8ebd5e61f22d1a0a4fd8393c 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2011-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.
+// 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
 #include <cstring>
 #include <algorithm>
 
-extern "C"
-{
 #include <med.h>
-}
 
 #include "utilities.h"
 // =======================================================================
@@ -49,7 +46,7 @@ std::set<std::string> GetListeGroupesInMedFile(const char * aFile)
 {
   std::set<std::string> ListeGroupes;
   med_err erreur = 0 ;
-  med_int medIdt ;
+  med_idt medIdt ;
   while ( erreur == 0 )
   {
     //  Ouverture du fichier
@@ -156,7 +153,7 @@ std::vector<double> GetBoundingBoxInMedFile(const char * aFile)
 
   std::vector<double> LesExtremes;
   med_err erreur = 0 ;
-  med_int medIdt ;
+  med_idt medIdt ;
   while ( erreur == 0 )
   {
     //  Ouverture du fichier