From: dmv Date: Wed, 5 Mar 2008 10:41:22 +0000 (+0000) Subject: NPAL18863 One field can't be displayed. X-Git-Tag: mergeto_V4_1_0_maintainance_07Mar2008 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2fa4163fa2b2b9346d2401c417d20bd9e60f999c;p=modules%2Fvisu.git NPAL18863 One field can't be displayed. --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 66ce4c1d..bd4878e7 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -404,7 +404,9 @@ namespace aGauss->myGaussInfo = aGaussInfo; aGauss->myName = aGaussInfo->GetName(); aGauss->myNbPoints = aGaussInfo->GetNbGauss(); - } + } else if ( aTimeStampInfo.GetNbGauss(aMGeom) > 1 ) + EXCEPTION( runtime_error, "aGaussIter == aGeom2Gauss.end()" + " && aTimeStampInfo.GetNbGauss(aMGeom) > 1 !!!" ); aGaussSubMesh->myNbCells = aNbCells*aGauss->myNbPoints; aGaussSubMesh->myCellsSize = aGaussSubMesh->myNbCells*2; @@ -479,36 +481,6 @@ namespace } } - - //--------------------------------------------------------------- - void - InitGaussProfile(const MED::PWrapper& theMEDWrapper, - const MED::PMeshInfo& theMeshInfo, - MED::PTimeStampValueBase& theTimeStampValue, - VISU::TMEDMeshOnEntity& theMeshOnEntity, - MED::EEntiteMaillage theMEntity, - const MED::TGeom2Size& theGeom2Size, - VISU::TMEDValForTime& theValForTime) - { - VISU::TTimerLog aTimerLog(MYDEBUG,"InitGaussProfile"); - INITMSG(MYDEBUG,"InitGaussProfile"<myProfile; VISU::TGeom2SubProfile& aGeom2SubProfile = aProfile->myGeom2SubProfile;