Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
368c52c1
Commit
368c52c1
authored
Mar 16, 2011
by
Thomas Witkowski
Browse files
Removed some output lines.
parent
d710ef89
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/MeshDistributor.cc
View file @
368c52c1
...
...
@@ -802,38 +802,6 @@ namespace AMDiS {
MSG
(
"Imbalancing factor: %.1f\%
\n
"
,
imbalance
);
}
{
TraverseStack
stack
;
ElInfo
*
elInfo
=
stack
.
traverseFirst
(
mesh
,
0
,
Mesh
::
CALL_EL_LEVEL
|
Mesh
::
FILL_COORDS
);
while
(
elInfo
)
{
if
(
elInfo
->
getElement
()
->
getIndex
()
==
195
)
{
MSG
(
"FOUND MACRO 195: %d %f %f %f
\n
"
,
elInfo
->
getElement
()
->
getDof
(
2
,
0
),
elInfo
->
getCoord
(
2
)[
0
],
elInfo
->
getCoord
(
2
)[
1
],
elInfo
->
getCoord
(
2
)[
2
]);
}
elInfo
=
stack
.
traverseNext
(
elInfo
);
}
}
{
if
(
mpiRank
==
0
)
{
WorldVector
<
double
>
c
;
mesh
->
getDofIndexCoords
(
9
,
feSpace
,
c
);
MSG
(
"9-COORDS %f %f %f
\n
"
,
c
[
0
],
c
[
1
],
c
[
2
]);
}
if
(
mpiRank
==
2
)
{
WorldVector
<
double
>
c
;
mesh
->
getDofIndexCoords
(
9
,
feSpace
,
c
);
MSG
(
"9-COORDS %f %f %f
\n
"
,
c
[
0
],
c
[
1
],
c
[
2
]);
}
}
}
...
...
@@ -1846,8 +1814,6 @@ namespace AMDiS {
for
(
RankToBoundMap
::
iterator
it
=
periodicBoundary
.
boundary
.
begin
();
it
!=
periodicBoundary
.
boundary
.
end
();
++
it
)
{
MSG
(
"PER BOUND WITH RANK %d!
\n
"
,
it
->
first
);
if
(
it
->
first
==
mpiRank
)
{
TEST_EXIT_DBG
(
it
->
second
.
size
()
%
2
==
0
)(
"Should not happen!
\n
"
);
...
...
@@ -1874,8 +1840,6 @@ namespace AMDiS {
DegreeOfFreedom
globalDof1
=
mapLocalGlobalDofs
[
*
(
dofs1
[
j
])];
if
(
periodicDofAssociations
[
globalDof0
].
count
(
type
)
==
0
)
{
MSG
(
"SET A: %d %d <-> %d
\n
"
,
type
,
globalDof0
,
globalDof1
);
periodicDof
[
type
][
globalDof0
]
=
globalDof1
;
periodicDofAssociations
[
globalDof0
].
insert
(
type
);
}
...
...
@@ -1888,20 +1852,10 @@ namespace AMDiS {
for
(
vector
<
AtomicBoundary
>::
iterator
boundIt
=
it
->
second
.
begin
();
boundIt
!=
it
->
second
.
end
();
++
boundIt
)
{
MSG
(
"BOUND %d %d %d - %d %d %d
\n
"
,
boundIt
->
rankObj
.
elIndex
,
boundIt
->
rankObj
.
subObj
,
boundIt
->
rankObj
.
ithObj
,
boundIt
->
neighObj
.
elIndex
,
boundIt
->
neighObj
.
subObj
,
boundIt
->
neighObj
.
ithObj
);
int
nDofs
=
dofs
.
size
();
boundIt
->
rankObj
.
el
->
getVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
boundIt
->
rankObj
.
el
->
getNonVertexDofs
(
feSpace
,
boundIt
->
rankObj
,
dofs
);
for
(
int
i
=
nDofs
;
i
<
dofs
.
size
();
i
++
)
{
MSG
(
" dof %d
\n
"
,
*
(
dofs
[
i
]));
}
for
(
unsigned
int
i
=
0
;
i
<
(
dofs
.
size
()
-
nDofs
);
i
++
)
rankToDofType
[
it
->
first
].
push_back
(
boundIt
->
type
);
}
...
...
@@ -1919,7 +1873,6 @@ namespace AMDiS {
stdMpi
.
updateSendDataSize
();
stdMpi
.
startCommunication
();
MSG
(
"---------"
);
// === The rank has received the dofs from the rank on the other side of ===
// === the boundary. Now it can use them to create the mapping between ===
...
...
@@ -1929,7 +1882,6 @@ namespace AMDiS {
for
(
RankToBoundMap
::
iterator
it
=
periodicBoundary
.
boundary
.
begin
();
it
!=
periodicBoundary
.
boundary
.
end
();
++
it
)
{
MSG
(
"PER BOUND WITH RANK %d!
\n
"
,
it
->
first
);
DofContainer
&
dofs
=
rankPeriodicDofs
[
it
->
first
];
vector
<
int
>&
types
=
rankToDofType
[
it
->
first
];
...
...
@@ -1944,8 +1896,6 @@ namespace AMDiS {
// Check if this global dof with the corresponding boundary type was
// not added before by another periodic boundary from other rank.
if
(
periodicDofAssociations
[
globalDofIndex
].
count
(
type
)
==
0
)
{
MSG
(
"SET B at POS %d: %d %d/%d <-> %d
\n
"
,
i
,
type
,
*
(
dofs
[
i
]),
globalDofIndex
,
mapGlobalDofIndex
);
periodicDof
[
type
][
globalDofIndex
]
=
mapGlobalDofIndex
;
periodicDofAssociations
[
globalDofIndex
].
insert
(
type
);
}
...
...
@@ -2005,9 +1955,6 @@ namespace AMDiS {
periodicDof
[
perIt
->
first
][
dofIt
->
second
]
==
dofIt
->
first
)
(
"Should not happen!
\n
"
);
MSG
(
"SET C: %d %d <-> %d
\n
"
,
perIt
->
first
,
dofIt
->
second
,
dofIt
->
first
);
periodicDof
[
perIt
->
first
][
dofIt
->
second
]
=
dofIt
->
first
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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