mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user