]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0016202: EDF 465 SMESH : Propagation 1D on edges group
authoreap <eap@opencascade.com>
Mon, 7 Nov 2011 10:24:32 +0000 (10:24 +0000)
committereap <eap@opencascade.com>
Mon, 7 Nov 2011 10:24:32 +0000 (10:24 +0000)
     fix scale distribution

src/StdMeshers/StdMeshers_Regular_1D.cxx

index bedf3692c919b69afaf01d0475e0fcf914d2cfaa..f075e0f03cf184bccff10bffec39c6e427a8001e 100644 (file)
@@ -691,7 +691,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh &     theMesh,
           list<double>::iterator u = theParams.begin(), uEnd = theParams.end();
           for ( ; u != uEnd; ++u )
           {
-            GCPnts_AbscissaPoint Discret( theC3d, (*u) * lenFactor, f );
+            GCPnts_AbscissaPoint Discret( theC3d, ((*u)-f) * lenFactor, f );
             if ( Discret.IsDone() )
               *u = Discret.Parameter();
           }