Salome HOME
Call FrontTrack via its python interface
[modules/smesh.git] / src / SMESH / SMESH_Homard.cxx
index f9567d554a413be2ae8cefa10e87b97e79e8858d..e02ea2ffeb7232225c66efbe6271c20e52408894 100644 (file)
@@ -1,4 +1,4 @@
-//  HOMARD HOMARD : implementation of HOMARD idl descriptions
+// SMESH HOMARD : implementation of SMESHHOMARD idl descriptions
 //
 // Copyright (C) 2011-2021  CEA/DEN, EDF R&D
 //
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//  File   : HOMARD_Boundary.cxx
-//  Author : Gerald NICOLAS, EDF
-//  Module : HOMARD
-//
-// Remarques :
-// L'ordre de description des fonctions est le meme dans tous les fichiers
-// HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
-// 1. Les generalites : Name, Delete, DumpPython, Dump, Restore
-// 2. Les caracteristiques
-// 3. Le lien avec les autres structures
-//
-// Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier
 
 #include "SMESH_Homard.hxx"
 
@@ -129,7 +117,7 @@ namespace SMESHHOMARDImpl
 
     std::vector<double> coor = cas.GetBoundingBox();
     os << separator() << coor.size();
-    for ( int i = 0; i < coor.size(); i++ )
+    for ( unsigned int i = 0; i < coor.size(); i++ )
           os << separator() << coor[i];
 
     std::list<std::string> ListString = cas.GetIterations();
@@ -291,10 +279,10 @@ namespace SMESHHOMARDImpl
     }
     else {
       std::vector<double> coor = boundary.GetCoords() ;
-      for ( int i = 0; i < coor.size(); i++ )
+      for ( unsigned int i = 0; i < coor.size(); i++ )
             os << separator() << coor[i];
       std::vector<double> limit = boundary.GetLimit();
-      for ( int i = 0; i < limit.size(); i++ )
+      for ( unsigned int i = 0; i < limit.size(); i++ )
             os << separator() << limit[i];
     }
 
@@ -1084,7 +1072,7 @@ void HOMARD_Cas::SetBoundingBox( const std::vector<double>& extremas )
 {
   _Boite.clear();
   _Boite.resize( extremas.size() );
-  for ( int i = 0; i < extremas.size(); i++ )
+  for ( unsigned int i = 0; i < extremas.size(); i++ )
     _Boite[i] = extremas[i];
 }
 //=============================================================================