Report patch name instead of index in debug

This commit is contained in:
Hrvoje Jasak 2015-08-25 11:12:02 +01:00
parent cfd2b5a366
commit 171fdf38f6

View file

@ -195,8 +195,7 @@ void Foam::ggiPolyPatch::calcPatchToPatch() const
if (debug)
{
InfoIn("void ggiPolyPatch::calcPatchToPatch() const")
<< "Calculating patch to patch interpolation for patch"
<< name() << endl;
<< "Calculating patch to patch interpolation" << endl;
}
// Create interpolation for zones
@ -259,13 +258,6 @@ void Foam::ggiPolyPatch::calcReconFaceCellCentres() const
<< abort(FatalError);
}
if (debug)
{
InfoIn("void ggiPolyPatch::calcReconFaceCellCentres() const")
<< "Calculating recon centres for patch"
<< name() << endl;
}
// Create neighbouring face centres using interpolation
if (master())
{
@ -374,7 +366,7 @@ void Foam::ggiPolyPatch::calcSendReceive() const
if (debug)
{
Pout<< "ggiPolyPatch::calcSendReceive() const for patch "
<< name() << endl;
<< index() << endl;
}
if (!Pstream::parRun())