mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: FaceCellWave: better debug printing
This commit is contained in:
@ -546,7 +546,7 @@ void Foam::FaceCellWave<Type, TrackingData>::handleProcPatches()
|
|||||||
sendFacesInfo
|
sendFacesInfo
|
||||||
);
|
);
|
||||||
|
|
||||||
if (debug)
|
if (debug & 2)
|
||||||
{
|
{
|
||||||
Pout<< " Processor patch " << patchI << ' ' << procPatch.name()
|
Pout<< " Processor patch " << patchI << ' ' << procPatch.name()
|
||||||
<< " communicating with " << procPatch.neighbProcNo()
|
<< " communicating with " << procPatch.neighbProcNo()
|
||||||
@ -581,7 +581,7 @@ void Foam::FaceCellWave<Type, TrackingData>::handleProcPatches()
|
|||||||
fromNeighbour >> receiveFaces >> receiveFacesInfo;
|
fromNeighbour >> receiveFaces >> receiveFacesInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debug)
|
if (debug & 2)
|
||||||
{
|
{
|
||||||
Pout<< " Processor patch " << patchI << ' ' << procPatch.name()
|
Pout<< " Processor patch " << patchI << ' ' << procPatch.name()
|
||||||
<< " communicating with " << procPatch.neighbProcNo()
|
<< " communicating with " << procPatch.neighbProcNo()
|
||||||
@ -672,7 +672,7 @@ void Foam::FaceCellWave<Type, TrackingData>::handleCyclicPatches()
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debug)
|
if (debug & 2)
|
||||||
{
|
{
|
||||||
Pout<< " Cyclic patch " << patchI << ' ' << cycPatch.name()
|
Pout<< " Cyclic patch " << patchI << ' ' << cycPatch.name()
|
||||||
<< " Changed : " << nReceiveFaces
|
<< " Changed : " << nReceiveFaces
|
||||||
@ -1028,7 +1028,7 @@ Foam::label Foam::FaceCellWave<Type, TrackingData>::faceToCell()
|
|||||||
// Handled all changed faces by now
|
// Handled all changed faces by now
|
||||||
nChangedFaces_ = 0;
|
nChangedFaces_ = 0;
|
||||||
|
|
||||||
if (debug)
|
if (debug & 2)
|
||||||
{
|
{
|
||||||
Pout<< " Changed cells : " << nChangedCells_ << endl;
|
Pout<< " Changed cells : " << nChangedCells_ << endl;
|
||||||
}
|
}
|
||||||
@ -1110,7 +1110,7 @@ Foam::label Foam::FaceCellWave<Type, TrackingData>::cellToFace()
|
|||||||
handleProcPatches();
|
handleProcPatches();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (debug)
|
if (debug & 2)
|
||||||
{
|
{
|
||||||
Pout<< " Changed faces : " << nChangedFaces_ << endl;
|
Pout<< " Changed faces : " << nChangedFaces_ << endl;
|
||||||
}
|
}
|
||||||
@ -1151,7 +1151,7 @@ Foam::label Foam::FaceCellWave<Type, TrackingData>::iterate(const label maxIter)
|
|||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Pout<< " Iteration " << iter << endl;
|
Info<< " Iteration " << iter << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
nEvals_ = 0;
|
nEvals_ = 0;
|
||||||
@ -1160,7 +1160,7 @@ Foam::label Foam::FaceCellWave<Type, TrackingData>::iterate(const label maxIter)
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Pout<< " Total changed cells : " << nCells << endl;
|
Info<< " Total changed cells : " << nCells << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nCells == 0)
|
if (nCells == 0)
|
||||||
@ -1172,7 +1172,7 @@ Foam::label Foam::FaceCellWave<Type, TrackingData>::iterate(const label maxIter)
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Pout<< " Total changed faces : " << nFaces << nl
|
Info<< " Total changed faces : " << nFaces << nl
|
||||||
<< " Total evaluations : " << nEvals_ << nl
|
<< " Total evaluations : " << nEvals_ << nl
|
||||||
<< " Remaining unvisited cells: " << nUnvisitedCells_ << nl
|
<< " Remaining unvisited cells: " << nUnvisitedCells_ << nl
|
||||||
<< " Remaining unvisited faces: " << nUnvisitedFaces_ << endl;
|
<< " Remaining unvisited faces: " << nUnvisitedFaces_ << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user