ENH: Updated output messages

This commit is contained in:
Andrew Heather
2015-12-09 09:40:23 +00:00
parent 8f1d043364
commit d52b01c806
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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;
} }