Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
6b81feca
Commit
6b81feca
authored
May 15, 2011
by
mattijs
Browse files
STYLE: refinementHistory: removed printing
parent
eaa2a9f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamicMesh/polyTopoChange/polyTopoChange/refinementHistory.C
View file @
6b81feca
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment