ENH: noiseModel: Updated check for uniform time step size

This commit is contained in:
Andrew Heather
2016-10-19 13:19:34 +01:00
parent 55c9238259
commit 3c496ae4c7

View File

@ -53,7 +53,7 @@ Foam::scalar Foam::noiseModel::checkUniformTimeStep
deltaT = dT;
}
if (mag(deltaT - dT) > SMALL)
if (mag(dT/deltaT - 1) > 1e-8)
{
FatalErrorInFunction
<< "Unable to process data with a variable time step"