From: ndjinga Date: Mon, 27 Jul 2009 08:35:56 +0000 (+0000) Subject: AG : Debug for MEDMEM DataStructure. X-Git-Tag: V5_1_main_FINAL~370 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=073575bfaca6eed65ba080b7767c18e1e271b4d0;p=tools%2Fmedcoupling.git AG : Debug for MEDMEM DataStructure. --- diff --git a/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx b/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx index f0f3a5a36..c37afbfa9 100644 --- a/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx +++ b/src/INTERP_KERNEL/PlanarIntersectorP0P1.txx @@ -78,7 +78,7 @@ namespace INTERP_KERNEL std::vector sourceCellCoordsTmp(sourceCellCoords); if(SPACEDIM==3) orientation=PlanarIntersector::projectionThis(&sourceCellCoordsTmp[0],quadrangle,sourceCellCoords.size()/SPACEDIM,4); - NormalizedCellType tS=PlanarIntersector::_meshS.getTypeOfElement(iS); + NormalizedCellType tS=PlanarIntersector::_meshS.getTypeOfElement(OTT::indFC(iS)); double surf=orientation*intersectGeometryWithQuadrangle(quadrangle,sourceCellCoordsTmp,CellModel::getCellModel(tS).isQuadratic()); surf=PlanarIntersector::getValueRegardingOption(surf); if(surf!=0.)