From 6b81fecadfd7f2e925dc9130cd2702065d1d610e Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Sun, 15 May 2011 20:52:33 +0100 Subject: [PATCH] STYLE: refinementHistory: removed printing --- .../polyTopoChange/refinementHistory.C | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C index 9f3911b164f..ccd822d4996 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -690,9 +690,9 @@ void Foam::refinementHistory::distribute(const mapDistributePolyMesh& map) // Remove unreferenced history. compact(); - Pout<< nl << "--BEFORE:" << endl; - writeDebug(); - Pout<< "---------" << nl << endl; + //Pout<< nl << "--BEFORE:" << endl; + //writeDebug(); + //Pout<< "---------" << nl << endl; // Distribution is only partially functional. @@ -746,18 +746,18 @@ void Foam::refinementHistory::distribute(const mapDistributePolyMesh& map) } } -Pout<< "refinementHistory::distribute :" - << " splitCellProc:" << splitCellProc << endl; - -Pout<< "refinementHistory::distribute :" - << " splitCellNum:" << splitCellNum << endl; + //Pout<< "refinementHistory::distribute :" + // << " splitCellProc:" << splitCellProc << endl; + // + //Pout<< "refinementHistory::distribute :" + // << " splitCellNum:" << splitCellNum << endl; // Create subsetted refinement tree consisting of all parents that // move in their whole to other processor. 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. labelList oldToNew(splitCells_.size(), -1); @@ -781,10 +781,10 @@ Pout<< "refinementHistory::distribute :" oldToNew[index] = newSplitCells.size(); newSplitCells.append(splitCells_[index]); - Pout<< "Added oldCell " << index - << " info " << newSplitCells.last() - << " at position " << newSplitCells.size()-1 - << endl; + //Pout<< "Added oldCell " << index + // << " info " << newSplitCells.last() + // << " at position " << newSplitCells.size()-1 + // << endl; } } @@ -797,9 +797,9 @@ Pout<< "refinementHistory::distribute :" { label parent = splitCells_[index].parent_; - Pout<< "Adding refined cell " << cellI - << " since moves to " - << procI << " old parent:" << parent << endl; + //Pout<< "Adding refined cell " << cellI + // << " since moves to " + // << procI << " old parent:" << parent << endl; // Create new splitCell with parent oldToNew[index] = newSplitCells.size(); @@ -891,8 +891,8 @@ Pout<< "refinementHistory::distribute :" // renumbering can be done here. label offset = splitCells_.size(); - Pout<< "**Renumbering data from proc " << procI << " with offset " - << offset << endl; + //Pout<< "**Renumbering data from proc " << procI << " with offset " + // << offset << endl; forAll(newSplitCells, index) { @@ -929,9 +929,9 @@ Pout<< "refinementHistory::distribute :" } splitCells_.shrink(); - Pout<< nl << "--AFTER:" << endl; - writeDebug(); - Pout<< "---------" << nl << endl; + //Pout<< nl << "--AFTER:" << endl; + //writeDebug(); + //Pout<< "---------" << nl << endl; } -- GitLab