Commit 95c83abb authored by andy's avatar andy
Browse files

BUG: Wrong error type used in janaf thermo check data

parent 09f60581
......@@ -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);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment