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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user