BUG: Wrong error type used in janaf thermo check data

This commit is contained in:
andy
2011-11-04 13:12:26 +00:00
parent 09f605819f
commit 95c83abb1f

View File

@ -35,21 +35,21 @@ void Foam::janafThermo<EquationOfState>::checkInputData() const
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tlow(" << Tlow_ << ") >= Thigh(" << Thigh_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
if (Tcommon_ <= Tlow_)
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tcommon(" << Tcommon_ << ") <= Tlow(" << Tlow_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
if (Tcommon_ > Thigh_)
{
FatalErrorIn("janafThermo<EquationOfState>::check()")
<< "Tcommon(" << Tcommon_ << ") > Thigh(" << Thigh_ << ')'
<< exit(FatalIOError);
<< exit(FatalError);
}
}