From: apo Date: Thu, 4 Aug 2005 05:50:36 +0000 (+0000) Subject: To add debug information X-Git-Tag: BR-D5-38-2003_D2005-12-09~133 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b27126c1c171ce2d48a29c6c78acffafc5c02bba;p=modules%2Fvisu.git To add debug information --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 62e37408..7df23f99 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -48,10 +48,12 @@ using MED::EBooleen; #ifdef _DEBUG_ static int MYDEBUG = 0; +static int MYVALUEDEBUG = 0; static int MY_FAMILY_DEBUG = 0; static int MY_GROUP_DEBUG = 0; #else static int MYDEBUG = 0; +static int MYVALUEDEBUG = 0; static int MY_FAMILY_DEBUG = 0; static int MY_GROUP_DEBUG = 0; #endif @@ -1336,14 +1338,19 @@ VISU_MedConvertor for(TInt iElem = 0; iElem < aNbElem; iElem++){ TValueSliceArr aVValueSliceArr = aVMeshValue.GetGaussValueSliceArr(iElem); MED::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetValueSliceArr(iElem); + ADDMSG(MYVALUEDEBUG,"{"); for(TInt iGauss = 0; iGauss < aNbGauss; iGauss++){ TValueSlice& aVValueSlice = aVValueSliceArr[iGauss]; const MED::TCValueSlice& aMValueSlice = aMValueSliceArr[iGauss]; for(TInt iComp = 0; iComp < aNbComp; iComp++){ aVValueSlice[iComp] = aMValueSlice[iComp]; + ADDMSG(MYVALUEDEBUG,aVValueSlice[iComp]<<" "); } + ADDMSG(MYVALUEDEBUG,"| "); } + ADDMSG(MYVALUEDEBUG,"} "); } + ADDMSG(MYDEBUG,"\n"); } }