mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Completed update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -52,7 +52,7 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta()
|
||||
}
|
||||
else if (nD == 2)
|
||||
{
|
||||
WarningIn("cubeRootVolDelta::calcDelta()")
|
||||
WarningInFunction
|
||||
<< "Case is 2D, LES is not strictly applicable\n"
|
||||
<< endl;
|
||||
|
||||
@ -72,7 +72,7 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta()
|
||||
}
|
||||
else
|
||||
{
|
||||
FatalErrorIn("cubeRootVolDelta::calcDelta()")
|
||||
FatalErrorInFunction
|
||||
<< "Case is not 3D or 2D, LES is not applicable"
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user