using MED::EBooleen;
#ifdef _DEBUG_
-static int MYDEBUG = 0;
+static int MYDEBUG = 1;
static int MYVALUEDEBUG = 0;
static int MY_FAMILY_DEBUG = 0;
static int MY_GROUP_DEBUG = 0;
MED::PPolygoneInfo aPolygoneInfo =
theMEDWrapper->GetPPolygoneInfo(theMeshInfo,theMEntity,theMGeom);
for(TInt anElemId = 0; anElemId < aNbElem ; anElemId++){
- TInt aNbConn = aPolygoneInfo->GetNbConn(anElemNum[anElemId]);
+ TInt aNbConn = aPolygoneInfo->GetNbConn( anElemNum[ anElemId ] - 1 );
aSubProfile->myCellsSize += aNbConn;
}
break;
theMEDWrapper->GetPPolyedreInfo(theMeshInfo,theMEntity,theMGeom);
for(TInt anElemId = 0; anElemId < aNbElem ; anElemId++){
MED::TCConnSliceArr aConnSliceArr =
- aPolyedreInfo->GetConnSliceArr(anElemNum[anElemId]);
+ aPolyedreInfo->GetConnSliceArr( anElemNum[ anElemId ] - 1 );
TInt aNbFaces = aConnSliceArr.size();
TInt aCellSize = 0;
for(TInt iFace = 0; iFace < aNbFaces; iFace++){