X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Homard.cxx;h=e02ea2ffeb7232225c66efbe6271c20e52408894;hb=890b75c52ef73d2c9e4ecbd625e8fc6b59b8fbe1;hp=f4516343d8f8f9f0cd9bbfbab94c45520294686f;hpb=bdd574724272e16b782e6b8347ed21ba477df585;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_Homard.cxx b/src/SMESH/SMESH_Homard.cxx index f4516343d..e02ea2ffe 100644 --- a/src/SMESH/SMESH_Homard.cxx +++ b/src/SMESH/SMESH_Homard.cxx @@ -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 // @@ -18,18 +18,6 @@ // // 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 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 ListString = cas.GetIterations(); @@ -291,10 +279,10 @@ namespace SMESHHOMARDImpl } else { std::vector 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 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& 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]; } //============================================================================= @@ -1182,20 +1170,19 @@ HomardDriver::HomardDriver(const std::string siter, const std::string siterp1): _Texte( "" ), _bLu( false ) { MESSAGE("siter = "< _HOMARD_Exec ="<<_HOMARD_Exec) ; -// + // _siter = siter ; _siterp1 = siterp1 ; }