Completed update ...ErrorIn -> ...ErrorInFunction

Avoids the clutter and maintenance effort associated with providing the
function signature string.
This commit is contained in:
Henry Weller
2015-11-11 09:03:39 +00:00
parent cc99b65d77
commit 5e6a7ea282
678 changed files with 3357 additions and 8219 deletions

View File

@ -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);
}