0021074: EDF 1682 MESH: Bug with start and end length hypothesis

additionally fix compensateError() (for S_domain.hdf)
This commit is contained in:
eap 2011-02-25 09:07:59 +00:00
parent 76d6063480
commit d13fde3e5e

View File

@ -378,7 +378,7 @@ static void compensateError(double a1, double an,
double q = dUn / ( nPar - 1 );
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++ ) {
double prevU = *itU;
(*itU) += dUn;