X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FCurveIntersectorP0P0.txx;h=45d5522ea0e8df4eadb9981129c0c23655492a7d;hb=b219559763498c4bd10c730cd3d2c62b1eed45db;hp=61c7fd60bc31fb911e19ec5c09b69b634d1a643a;hpb=3c911ce36f5caa779ea60042e738fa57671a44b1;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/CurveIntersectorP0P0.txx b/src/INTERP_KERNEL/CurveIntersectorP0P0.txx index 61c7fd60b..45d5522ea 100644 --- a/src/INTERP_KERNEL/CurveIntersectorP0P0.txx +++ b/src/INTERP_KERNEL/CurveIntersectorP0P0.txx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -37,14 +37,14 @@ namespace INTERP_KERNEL } template - int CurveIntersectorP0P0 + typename MyMeshType::MyConnType CurveIntersectorP0P0 ::getNumberOfRowsOfResMatrix() const { return BASE_INTERSECTOR::_meshT.getNumberOfElements(); } template - int CurveIntersectorP0P0 + typename MyMeshType::MyConnType CurveIntersectorP0P0 ::getNumberOfColsOfResMatrix() const { return BASE_INTERSECTOR::_meshS.getNumberOfElements(); @@ -56,14 +56,14 @@ namespace INTERP_KERNEL { typename MyMatrix::value_type& resRow = res[icellT]; std::vector coordsT; - int t, nbSegT = 1 + BASE_INTERSECTOR::getRealTargetCoordinates(icellT,coordsT); + ConnType t, nbSegT = 1 + BASE_INTERSECTOR::getRealTargetCoordinates(icellT,coordsT); for ( t = 0; t < nbSegT; ++t ) for(typename std::vector::const_iterator iter=icellsS.begin(); iter!=icellsS.end(); iter++) { - int iS = *iter; + ConnType iS = *iter; std::vector coordsS; - int s, nbSegS = 1 + BASE_INTERSECTOR::getRealSourceCoordinates(iS,coordsS); + ConnType s, nbSegS = 1 + BASE_INTERSECTOR::getRealSourceCoordinates(iS,coordsS); for ( s = 0; s < nbSegS; ++s ) { double surf = BASE_INTERSECTOR::intersectSegments(&coordsT[0] + t*SPACEDIM,