STYLE: refinementHistory: removed printing

This commit is contained in:
mattijs
2011-05-15 20:52:33 +01:00
parent eaa2a9f1b5
commit 6b81fecadf

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -690,9 +690,9 @@ void Foam::refinementHistory::distribute(const mapDistributePolyMesh& map)
// Remove unreferenced history. // Remove unreferenced history.
compact(); compact();
Pout<< nl << "--BEFORE:" << endl; //Pout<< nl << "--BEFORE:" << endl;
writeDebug(); //writeDebug();
Pout<< "---------" << nl << endl; //Pout<< "---------" << nl << endl;
// Distribution is only partially functional. // Distribution is only partially functional.
@ -746,18 +746,18 @@ void Foam::refinementHistory::distribute(const mapDistributePolyMesh& map)
} }
} }
Pout<< "refinementHistory::distribute :" //Pout<< "refinementHistory::distribute :"
<< " splitCellProc:" << splitCellProc << endl; // << " splitCellProc:" << splitCellProc << endl;
//
Pout<< "refinementHistory::distribute :" //Pout<< "refinementHistory::distribute :"
<< " splitCellNum:" << splitCellNum << endl; // << " splitCellNum:" << splitCellNum << endl;
// Create subsetted refinement tree consisting of all parents that // Create subsetted refinement tree consisting of all parents that
// move in their whole to other processor. // move in their whole to other processor.
for (label procI = 0; procI < Pstream::nProcs(); procI++) for (label procI = 0; procI < Pstream::nProcs(); procI++)
{ {
Pout<< "-- Subetting for processor " << procI << endl; //Pout<< "-- Subetting for processor " << procI << endl;
// From uncompacted to compacted splitCells. // From uncompacted to compacted splitCells.
labelList oldToNew(splitCells_.size(), -1); labelList oldToNew(splitCells_.size(), -1);
@ -781,10 +781,10 @@ Pout<< "refinementHistory::distribute :"
oldToNew[index] = newSplitCells.size(); oldToNew[index] = newSplitCells.size();
newSplitCells.append(splitCells_[index]); newSplitCells.append(splitCells_[index]);
Pout<< "Added oldCell " << index //Pout<< "Added oldCell " << index
<< " info " << newSplitCells.last() // << " info " << newSplitCells.last()
<< " at position " << newSplitCells.size()-1 // << " at position " << newSplitCells.size()-1
<< endl; // << endl;
} }
} }
@ -797,9 +797,9 @@ Pout<< "refinementHistory::distribute :"
{ {
label parent = splitCells_[index].parent_; label parent = splitCells_[index].parent_;
Pout<< "Adding refined cell " << cellI //Pout<< "Adding refined cell " << cellI
<< " since moves to " // << " since moves to "
<< procI << " old parent:" << parent << endl; // << procI << " old parent:" << parent << endl;
// Create new splitCell with parent // Create new splitCell with parent
oldToNew[index] = newSplitCells.size(); oldToNew[index] = newSplitCells.size();
@ -891,8 +891,8 @@ Pout<< "refinementHistory::distribute :"
// renumbering can be done here. // renumbering can be done here.
label offset = splitCells_.size(); label offset = splitCells_.size();
Pout<< "**Renumbering data from proc " << procI << " with offset " //Pout<< "**Renumbering data from proc " << procI << " with offset "
<< offset << endl; // << offset << endl;
forAll(newSplitCells, index) forAll(newSplitCells, index)
{ {
@ -929,9 +929,9 @@ Pout<< "refinementHistory::distribute :"
} }
splitCells_.shrink(); splitCells_.shrink();
Pout<< nl << "--AFTER:" << endl; //Pout<< nl << "--AFTER:" << endl;
writeDebug(); //writeDebug();
Pout<< "---------" << nl << endl; //Pout<< "---------" << nl << endl;
} }