applications: 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-10 17:53:31 +00:00
parent 735ce9cce7
commit e2ef006b91
271 changed files with 851 additions and 1559 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -332,7 +332,7 @@ int main(int argc, char *argv[])
if (binary && (sizeof(floatScalar) != 4 || sizeof(label) != 4))
{
FatalErrorIn(args.executable())
FatalErrorInFunction
<< "floatScalar and/or label are not 4 bytes in size" << nl
<< "Hence cannot use binary VTK format. Please use -ascii"
<< exit(FatalError);
@ -342,7 +342,7 @@ int main(int argc, char *argv[])
if (nearCellValue)
{
WarningIn(args.executable())
WarningInFunction
<< "Using neighbouring cell value instead of patch value"
<< nl << endl;
}
@ -351,7 +351,7 @@ int main(int argc, char *argv[])
if (noPointValues)
{
WarningIn(args.executable())
WarningInFunction
<< "Outputting cell values only" << nl << endl;
}
@ -1235,7 +1235,7 @@ int main(int argc, char *argv[])
);
if (system(cmd.c_str()) == -1)
{
WarningIn(args.executable())
WarningInFunction
<< "Could not execute command " << cmd << endl;
}
}