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:
@ -84,12 +84,8 @@ wordList ReadUniformFields
|
||||
|
||||
if (iter == localNamesSet.end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"ReadFields<class GeoField>"
|
||||
"(const IOobjectList&, PtrList<GeoField>&"
|
||||
", const bool)"
|
||||
) << "Fields not synchronised across processors." << endl
|
||||
FatalErrorInFunction
|
||||
<< "Fields not synchronised across processors." << endl
|
||||
<< "Master has fields " << masterNames
|
||||
<< " processor " << Pstream::myProcNo()
|
||||
<< " has fields " << localNames << exit(FatalError);
|
||||
@ -102,12 +98,8 @@ wordList ReadUniformFields
|
||||
|
||||
forAllConstIter(HashSet<word>, localNamesSet, iter)
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"ReadFields<class GeoField>"
|
||||
"(const IOobjectList&, PtrList<GeoField>&"
|
||||
", const bool)"
|
||||
) << "Fields not synchronised across processors." << endl
|
||||
FatalErrorInFunction
|
||||
<< "Fields not synchronised across processors." << endl
|
||||
<< "Master has fields " << masterNames
|
||||
<< " processor " << Pstream::myProcNo()
|
||||
<< " has fields " << localNames << exit(FatalError);
|
||||
@ -400,7 +392,7 @@ void calc
|
||||
}
|
||||
else
|
||||
{
|
||||
FatalErrorIn(args.executable())
|
||||
FatalErrorInFunction
|
||||
<< "Incorrect dimensions of phi: " << phi.dimensions()
|
||||
<< nl << exit(FatalError);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user