Report patch name instead of index in debug
This commit is contained in:
parent
f784f75f1b
commit
cb20a654f1
1 changed files with 10 additions and 2 deletions
|
@ -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