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

@ -107,7 +107,7 @@ Foam::scalar checkUniformTimeStep(const scalarField& t)
if (mag(deltaT - dT) > SMALL)
{
FatalErrorIn("checkUniformTimeStep(const scalarField&)")
FatalErrorInFunction
<< "Unable to process data with a variable time step"
<< exit(FatalError);
}
@ -115,7 +115,7 @@ Foam::scalar checkUniformTimeStep(const scalarField& t)
}
else
{
FatalErrorIn("checkUniformTimeStep(const scalarField&)")
FatalErrorInFunction
<< "Unable to create FFT with a single value"
<< exit(FatalError);
}
@ -145,7 +145,7 @@ int main(int argc, char *argv[])
if (t.size() < N)
{
FatalErrorIn(args.executable())
FatalErrorInFunction
<< "Block size N = " << N
<< " is larger than number of data = " << t.size()
<< exit(FatalError);