X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_ViscousLayers.cxx;h=15490846958af42bb33a46bde5243a33355c7ebf;hp=822f1742c1910d5998d54c606851e10b965bc5aa;hb=refs%2Ftags%2FV9_7_0a1;hpb=16a07c876163e3c993e41db77e9181789b7324b8 diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index 822f1742c..154908469 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -10752,7 +10752,7 @@ namespace VISCOUS_3D { points.reserve( _boundarySize ); size_t nb = _boundary.rbegin()->_nodes.size(); - int lastID = _boundary.rbegin()->Node( nb - 1 )->GetID(); + smIdType lastID = _boundary.rbegin()->Node( nb - 1 )->GetID(); std::list< BndPart >::const_iterator part = _boundary.begin(); for ( ; part != _boundary.end(); ++part ) { @@ -12114,7 +12114,7 @@ void _Shrinker1D::AddEdge( const _LayerEdge* e, GeomAdaptor_Curve aCurve(C, f,l); const double totLen = GCPnts_AbscissaPoint::Length(aCurve, f, l); - int nbExpectNodes = eSubMesh->NbNodes(); + smIdType nbExpectNodes = eSubMesh->NbNodes(); _initU .reserve( nbExpectNodes ); _normPar.reserve( nbExpectNodes ); _nodes .reserve( nbExpectNodes );