From a385e34e190eeb75a85c0b8ce3b87fabbc859019 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 29 Jul 2005 09:58:37 +0000 Subject: [PATCH] To simplify TPolyedreInfo a) remove unnecessary attributes of the structure b) provide corresponding slice interfaces for accessing to the Polyedre connectivities --- src/CONVERTOR/VISU_MedConvertor.cxx | 60 +++++++++++++---------------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index a4a8d2d7..cc6aa53b 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -500,29 +500,27 @@ VISU_MedConvertor case MED::ePOLYEDRE: { MED::PPolyedreInfo aPolyedreInfo = aMed->GetPPolyedreInfo(aMeshInfo,aMEntity,aMGeom); TInt aNbElem = aPolyedreInfo->GetNbElem(); - MED::TElemNum aConn = aPolyedreInfo->GetConnectivite(); - MED::TElemNum aIndex = aPolyedreInfo->GetIndex(); - TInt aNbIndex = aIndex.size(); - TInt aNbConn = aConn.size(); - - aMeshOnEntity->myNbCells += aNbElem; - - for (int ii = 0; iiGetNbConn(ii); - aMeshOnEntity->myCellsSize += aNbConnii; - } INITMSG(MYDEBUG, "- aMGeom = "<