ENH: cellVolumeWeight: removed printing.

This commit is contained in:
mattijs
2019-04-10 11:05:25 +01:00
committed by Andrew Heather
parent 139222604f
commit eea4eb89c9

View File

@ -73,8 +73,7 @@ void Foam::cellCellStencils::cellVolumeWeight::walkFront
{ {
if (isA<oversetFvPatch>(fvm[patchI])) if (isA<oversetFvPatch>(fvm[patchI]))
{ {
Pout<< "Storing faces on patch " << fvm[patchI].name() << endl; //Pout<< "Storing faces on patch " << fvm[patchI].name() << endl;
forAll(fvm[patchI], i) forAll(fvm[patchI], i)
{ {
isFront.set(fvm[patchI].start()+i); isFront.set(fvm[patchI].start()+i);
@ -286,11 +285,10 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
{ {
if (regionType[ownRegion] == 0) if (regionType[ownRegion] == 0)
{ {
Pout<< "Mark region:" << ownRegion //Pout<< "Mark region:" << ownRegion
<< " on zone:" << zoneID[own[faceI]] // << " on zone:" << zoneID[own[faceI]]
<< " as next to blockage at:" // << " as next to blockage at:"
<< mesh.faceCentres()[faceI] << endl; // << mesh.faceCentres()[faceI] << endl;
regionType[ownRegion] = 1; regionType[ownRegion] = 1;
} }
} }
@ -301,10 +299,10 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
{ {
if (regionType[neiRegion] == 0) if (regionType[neiRegion] == 0)
{ {
Pout<< "Mark region:" << neiRegion //Pout<< "Mark region:" << neiRegion
<< " on zone:" << zoneID[nei[faceI]] // << " on zone:" << zoneID[nei[faceI]]
<< " as next to blockage at:" // << " as next to blockage at:"
<< mesh.faceCentres()[faceI] << endl; // << mesh.faceCentres()[faceI] << endl;
regionType[neiRegion] = 1; regionType[neiRegion] = 1;
} }
} }
@ -323,10 +321,10 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
if (regionType[ownRegion] == 0) if (regionType[ownRegion] == 0)
{ {
Pout<< "Mark region:" << ownRegion //Pout<< "Mark region:" << ownRegion
<< " on zone:" << zoneID[own[faceI]] // << " on zone:" << zoneID[own[faceI]]
<< " as next to blockage at:" // << " as next to blockage at:"
<< mesh.faceCentres()[faceI] << endl; // << mesh.faceCentres()[faceI] << endl;
regionType[ownRegion] = 1; regionType[ownRegion] = 1;
} }
} }
@ -343,8 +341,8 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
{} {}
else if (!fvPatch::constraintType(fvp.type())) else if (!fvPatch::constraintType(fvp.type()))
{ {
Pout<< "Proper patch " << fvp.name() << " of type " << fvp.type() //Pout<< "Proper patch " << fvp.name() << " of type " << fvp.type()
<< endl; // << endl;
const labelList& fc = fvp.faceCells(); const labelList& fc = fvp.faceCells();
forAll(fc, i) forAll(fc, i)
@ -353,10 +351,9 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
if (cellTypes[fc[i]] != HOLE && regionType[regionI] != 2) if (cellTypes[fc[i]] != HOLE && regionType[regionI] != 2)
{ {
Pout<< "reachable region : " << regionI //Pout<< "reachable region : " << regionI
<< " at cell " << mesh.cellCentres()[fc[i]] // << " at cell " << mesh.cellCentres()[fc[i]]
<< " on zone " << zoneID[fc[i]] // << " on zone " << zoneID[fc[i]] << endl;
<< endl;
regionType[regionI] = 2; regionType[regionI] = 2;
} }
} }
@ -407,10 +404,9 @@ void Foam::cellCellStencils::cellVolumeWeight::findHoles
if (otherType == 2) if (otherType == 2)
{ {
Pout<< "Reachable through interpolation : " //Pout<< "Reachable through interpolation : "
<< regionI << " at cell " // << regionI << " at cell "
<< mesh.cellCentres()[cellI] // << mesh.cellCentres()[cellI] << endl;
<< endl;
regionType[regionI] = 2; regionType[regionI] = 2;
nChanged++; nChanged++;
break; break;
@ -458,7 +454,7 @@ void Foam::cellCellStencils::cellVolumeWeight::markPatchCells
if (isA<oversetFvPatch>(fvp)) if (isA<oversetFvPatch>(fvp))
{ {
Pout<< "Marking cells on overset patch " << fvp.name() << endl; //Pout<< "Marking cells on overset patch " << fvp.name() << endl;
forAll(fc, i) forAll(fc, i)
{ {
label cellI = fc[i]; label cellI = fc[i];
@ -467,8 +463,8 @@ void Foam::cellCellStencils::cellVolumeWeight::markPatchCells
} }
else if (!fvPatch::constraintType(fvp.type())) else if (!fvPatch::constraintType(fvp.type()))
{ {
Pout<< "Marking cells on proper patch " << fvp.name() //Pout<< "Marking cells on proper patch " << fvp.name()
<< " with type " << fvp.type() << endl; // << " with type " << fvp.type() << endl;
forAll(fc, i) forAll(fc, i)
{ {
label cellI = fc[i]; label cellI = fc[i];