Reduce relative tolerance of state setter in Substance

Reduce the relative tolerance from 3.e-8 to 1.e-8.
This commit is contained in:
Bryan W. Weber 2016-01-22 16:45:07 -05:00
parent 63cfed1503
commit 50a97063b7

View file

@ -115,14 +115,14 @@ double Substance::Tsat(double p)
return tsat;
}
// absolute tolerances
static const double TolAbsH = 0.0001; // J/kg
static const double TolAbsU = 0.0001;
// property tolerances
static const double TolAbsH = 1.e-4; // J/kg
static const double TolAbsU = 1.e-4;
static const double TolAbsS = 1.e-7;
static const double TolAbsP = 0.000; // Pa
static const double TolAbsP = 0.0; // Pa, this is supposed to be zero
static const double TolAbsV = 1.e-8;
static const double TolAbsT = 1.e-3;
static const double TolRel = 3.e-8;
static const double TolRel = 1.e-8;
void Substance::Set(PropertyPair::type XY, double x0, double y0)
{