mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Wrong error type used in janaf thermo check data
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user