Report patch name instead of index in debug
This commit is contained in:
parent
379641c560
commit
603ebff4b2
1 changed files with 11 additions and 3 deletions
|
@ -114,7 +114,7 @@ void Foam::ggiPolyPatch::calcRemoteZoneAddressing() const
|
|||
if (debug)
|
||||
{
|
||||
Pout<< "ggiPolyPatch::calcRemoteZoneAddressing() const for patch "
|
||||
<< index() << endl;
|
||||
<< name() << endl;
|
||||
}
|
||||
|
||||
// Once zone addressing is established, visit the opposite side and find
|
||||
|
@ -195,7 +195,8 @@ void Foam::ggiPolyPatch::calcPatchToPatch() const
|
|||
if (debug)
|
||||
{
|
||||
InfoIn("void ggiPolyPatch::calcPatchToPatch() const")
|
||||
<< "Calculating patch to patch interpolation" << endl;
|
||||
<< "Calculating patch to patch interpolation for patch"
|
||||
<< name() << endl;
|
||||
}
|
||||
|
||||
// Create interpolation for zones
|
||||
|
@ -258,6 +259,13 @@ 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())
|
||||
{
|
||||
|
@ -366,7 +374,7 @@ void Foam::ggiPolyPatch::calcSendReceive() const
|
|||
if (debug)
|
||||
{
|
||||
Pout<< "ggiPolyPatch::calcSendReceive() const for patch "
|
||||
<< index() << endl;
|
||||
<< name() << endl;
|
||||
}
|
||||
|
||||
if (!Pstream::parRun())
|
||||
|
|
Reference in a new issue