mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 17:50:34 +05:00
0021074: EDF 1682 MESH: Bug with start and end length hypothesis
additionally fix compensateError() (for S_domain.hdf)
This commit is contained in:
parent
76d6063480
commit
d13fde3e5e
@ -378,7 +378,7 @@ static void compensateError(double a1, double an,
|
|||||||
double q = dUn / ( nPar - 1 );
|
double q = dUn / ( nPar - 1 );
|
||||||
if ( !adjustNeighbors2an )
|
if ( !adjustNeighbors2an )
|
||||||
{
|
{
|
||||||
q = Abs( dUn / ( Utgt - Un )); // factor of segment length change
|
q = dUn / ( Utgt - Un ); // (signed) factor of segment length change
|
||||||
for ( itU = theParams.rbegin(), i = 1; i < nPar; i++ ) {
|
for ( itU = theParams.rbegin(), i = 1; i < nPar; i++ ) {
|
||||||
double prevU = *itU;
|
double prevU = *itU;
|
||||||
(*itU) += dUn;
|
(*itU) += dUn;
|
||||||
|
Loading…
Reference in New Issue
Block a user