From: eap Date: Tue, 2 Feb 2021 13:24:05 +0000 (+0300) Subject: bos #20650: EDF 22824 - UseExisting1DElements X-Git-Tag: V9_7_0a1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ad3621c84291620f4533e056354bcdc83f1407c;p=modules%2Fsmesh.git bos #20650: EDF 22824 - UseExisting1DElements --- diff --git a/src/StdMeshers/StdMeshers_Import_1D.cxx b/src/StdMeshers/StdMeshers_Import_1D.cxx index 5a9880cd8..1aec701b4 100644 --- a/src/StdMeshers/StdMeshers_Import_1D.cxx +++ b/src/StdMeshers/StdMeshers_Import_1D.cxx @@ -253,6 +253,7 @@ namespace // INTERNAL STUFF _chord2 = Max( _line. SquareDistance( curve->Value( uf + 0.25 * ( ul - uf ))), Max( _line.SquareDistance( curve->Value( uf + 0.5 * ( ul - uf ))), _line.SquareDistance( curve->Value( uf + 0.75 * ( ul - uf ))))); + _chord2 *= ( 1.05 * 1.05 ); // +5% _chord2 = Max( tol, _chord2 ); _chord = Sqrt( _chord2 );