src/OpenFOAM: Update ...IOErrorIn -> ...IOErrorInFunction

Avoids the clutter and maintenance effort associated with providing the
function signature string.
This commit is contained in:
Henry Weller
2015-11-10 21:13:04 +00:00
parent e2ef006b91
commit dc43311e62
84 changed files with 309 additions and 491 deletions

View File

@ -524,7 +524,7 @@ Type average(const FieldField<Field, Type>& f)
if (n == 0)
{
WarningIn("average(const FieldField<Field, Type>&) const")
WarningInFunction
<< "empty fieldField, returning zero" << endl;
return pTraits<Type>::zero;
@ -536,7 +536,7 @@ Type average(const FieldField<Field, Type>& f)
}
else
{
WarningIn("average(const FieldField<Field, Type>&) const")
WarningInFunction
<< "empty fieldField, returning zero" << endl;
return pTraits<Type>::zero;
@ -587,7 +587,7 @@ Type gAverage(const FieldField<Field, Type>& f)
}
else
{
WarningIn("gAverage(const FieldField<Field, Type>&) const")
WarningInFunction
<< "empty fieldField, returning zero" << endl;
return pTraits<Type>::zero;