mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: refinementHistory: removed printing
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user