Salome HOME
Some fix
authorenk <enk@opencascade.com>
Fri, 26 May 2006 10:17:19 +0000 (10:17 +0000)
committerenk <enk@opencascade.com>
Fri, 26 May 2006 10:17:19 +0000 (10:17 +0000)
src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 4d466f8f5343eb364159dc22226d11fc082b8637..eb55193ca27334a1d42d00ccd65fcb57c5245af6 100644 (file)
@@ -935,7 +935,7 @@ bool DriverMED_R_SMESHDS_Mesh::buildMeshGrille(const MED::PWrapper& theWrapper,
     switch(aGrilleInfo->GetGeom()){
     case MED::eSEG2:
       if(aNodeIds.size() != 2){
-       aRes = false;
+       res = false;
        EXCEPTION(runtime_error,"buildMeshGrille Error. Incorrect size of ids 2!="<<aNodeIds.size());
       }
       anElement = myMesh->AddEdgeWithID(aNodeIds[0],
@@ -944,7 +944,7 @@ bool DriverMED_R_SMESHDS_Mesh::buildMeshGrille(const MED::PWrapper& theWrapper,
       break;
     case MED::eQUAD4:
       if(aNodeIds.size() != 4){
-       aRes = false;
+       res = false;
        EXCEPTION(runtime_error,"buildMeshGrille Error. Incorrect size of ids 4!="<<aNodeIds.size());
       }
       anElement = myMesh->AddFaceWithID(aNodeIds[0],
@@ -955,7 +955,7 @@ bool DriverMED_R_SMESHDS_Mesh::buildMeshGrille(const MED::PWrapper& theWrapper,
       break;
     case MED::eHEXA8:
       if(aNodeIds.size() != 8){
-       aRes = false;
+       res = false;
        EXCEPTION(runtime_error,"buildMeshGrille Error. Incorrect size of ids 8!="<<aNodeIds.size());
       }
       anElement = myMesh->AddVolumeWithID(aNodeIds[0],