Skip to content
Snippets Groups Projects
Commit d52b01c8 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Updated output messages

parent 8f1d0433
No related merge requests found
...@@ -103,7 +103,7 @@ labelList nearestPatch(const polyMesh& mesh, const labelList& patchIDs) ...@@ -103,7 +103,7 @@ labelList nearestPatch(const polyMesh& mesh, const labelList& patchIDs)
{ {
if (!haveWarned) if (!haveWarned)
{ {
WarningIn("meshRefinement::nearestPatch(..)") WarningInFunction
<< "Did not visit some faces, e.g. face " << faceI << "Did not visit some faces, e.g. face " << faceI
<< " at " << mesh.faceCentres()[faceI] << endl << " at " << mesh.faceCentres()[faceI] << endl
<< "Using patch " << patchIDs[0] << " as nearest" << "Using patch " << patchIDs[0] << " as nearest"
......
...@@ -653,7 +653,7 @@ int main(int argc, char *argv[]) ...@@ -653,7 +653,7 @@ int main(int argc, char *argv[])
} }
else else
{ {
WarningIn(args.executable()) WarningInFunction
<< "Requested field to change " << fieldName << "Requested field to change " << fieldName
<< " does not exist in " << fieldHeader.path() << endl; << " does not exist in " << fieldHeader.path() << endl;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment