]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/commitdiff
Salome HOME
Fix a bug about export faces groups (from CVW) V5_1_4a1
authoradam <adam>
Tue, 23 Mar 2010 09:56:49 +0000 (09:56 +0000)
committeradam <adam>
Tue, 23 Mar 2010 09:56:49 +0000 (09:56 +0000)
src/tepal2med/ghs3dprl_mesh_wrap.cxx
src/tepal2med/tepal2med.cxx

index a8d858bf0760733620802a02064a053ef190de24..041ddc3383e78bfd2239cb9eba50b9a608fe6475 100755 (executable)
@@ -1828,7 +1828,7 @@ bool ghs3dprl_mesh_wrap::idom_faces()
       key2=key2.sprintf("SKIN_TRIA3_FAMILIES",idom); //on global numerotation 
       tab2=this->restore_key(key2); //tab1=this->mestab[key1];
       med_int nbskin=0; 
-      if (tab2) med_int nbskin=tab2->size;
+      if (tab2) nbskin=tab2->size;
       
       //set families of faces existing in GHS3DPRL_skin.med
       med_int nb=nbtria3;
@@ -1846,7 +1846,7 @@ bool ghs3dprl_mesh_wrap::idom_faces()
       }
       ok=set_one_more_family(famtria3,fammore,nb);
       delete[] fammore;
-
+      
       //writing faces(triangles) global numbering
       if (verbose>2)
          cout<<"CreateMEDglobalNumerotation_Faces "<<key1.toLatin1().constData()<<" "<<tab1->size<<endl;
index 8fd7f76ba8348fa27ebefdac0ee43bf9c0632d8a..e24b540b211bf45aa8e74573bffe00963efa9d5f 100755 (executable)
@@ -539,7 +539,7 @@ int main(int argc, char *argv[])
    QString path,pathini,casename,casenamemed,fileskinmed,
            tmp,cmd,format,
            test,menu,launchtepal,background,deletegroups,
-           version="V1.5";
+           version="V1.6";
    
    char *chelp=NULL,
         *ccasename=NULL,
@@ -568,7 +568,7 @@ int main(int argc, char *argv[])
       }
 
    if (argc < 2 || chelp){
-      cout<<"Available options:\n"
+      cout<<"tepal2med "<<version.toLatin1().constData()<<" Available options:\n"
       "   --help         : produces this help message\n"<<
       "   --casename     : path and name of input tepal2med files which are\n"<<
       "                       - output files of tepal .msg .noboite .faces .points .glo\n"<<