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