Skip to content
GitLab
Menu
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
c36321b0
Commit
c36321b0
authored
May 04, 2012
by
Thomas Witkowski
Browse files
And go back to juropa
parent
92a640fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/InteriorBoundary.cc
View file @
c36321b0
...
...
@@ -63,7 +63,7 @@ namespace AMDiS {
for
(
map
<
int
,
ElementObjectData
>::
iterator
it
=
objData
.
begin
();
it
!=
objData
.
end
();
++
it
)
{
if
(
it
->
first
!=
globalMpiRank
&&
levelRanks
.
count
(
it
->
first
))
{
boundaryWithinMpiGroup
=
=
true
;
boundaryWithinMpiGroup
=
true
;
break
;
}
}
...
...
AMDiS/src/parallel/MeshDistributor.cc
View file @
c36321b0
...
...
@@ -1470,7 +1470,6 @@ namespace AMDiS {
ParallelDebug
::
testDoubleDofs
(
mesh
);
ParallelDebug
::
testInteriorBoundary
(
*
this
);
ParallelDebug
::
testPeriodicBoundary
(
*
this
);
ParallelDebug
::
printBoundaryInfo
(
*
this
);
MSG
(
"Debug mode tests finished!
\n
"
);
#endif
...
...
@@ -1514,13 +1513,16 @@ namespace AMDiS {
elObjDb
.
updateRankData
();
intBoundary
.
create
(
levelData
,
0
,
elObjDb
);
#if (DEBUG != 0)
ParallelDebug
::
printBoundaryInfo
(
intBoundary
);
#endif
if
(
levelData
.
getLevelNumber
()
>
1
)
if
(
levelData
.
getLevelNumber
()
>
1
)
{
intBoundarySd
.
create
(
levelData
,
1
,
elObjDb
);
#if (DEBUG != 0)
ParallelDebug
::
printBoundaryInfo
(
*
this
);
ParallelDebug
::
printBoundaryInfo
(
intBoundarySd
,
0
,
true
);
#endif
}
}
...
...
AMDiS/src/parallel/ParallelDebug.cc
View file @
c36321b0
...
...
@@ -715,7 +715,7 @@ namespace AMDiS {
}
void
ParallelDebug
::
printBoundaryInfo
(
MeshDistributor
&
pdb
,
void
ParallelDebug
::
printBoundaryInfo
(
InteriorBoundary
&
intBoundary
,
int
level
,
bool
force
)
{
...
...
@@ -728,7 +728,7 @@ namespace AMDiS {
MSG
(
"Interior boundary info:
\n
"
);
for
(
InteriorBoundary
::
iterator
it
(
pdb
.
intBoundary
.
own
,
level
);
for
(
InteriorBoundary
::
iterator
it
(
intBoundary
.
own
,
level
);
!
it
.
end
();
++
it
)
{
MSG
(
"Rank owned boundary with rank %d:
\n
"
,
it
.
getRank
());
MSG
(
" ranks obj-ind: %d sub-obj: %d ith-obj: %d
\n
"
,
...
...
@@ -737,7 +737,7 @@ namespace AMDiS {
it
->
neighObj
.
elIndex
,
it
->
neighObj
.
subObj
,
it
->
neighObj
.
ithObj
);
}
for
(
InteriorBoundary
::
iterator
it
(
pdb
.
intBoundary
.
other
,
level
);
for
(
InteriorBoundary
::
iterator
it
(
intBoundary
.
other
,
level
);
!
it
.
end
();
++
it
)
{
MSG
(
"Other owned boundary with rank %d:
\n
"
,
it
.
getRank
());
MSG
(
" ranks obj-ind: %d sub-obj: %d ith-obj: %d
\n
"
,
...
...
@@ -746,7 +746,7 @@ namespace AMDiS {
it
->
neighObj
.
elIndex
,
it
->
neighObj
.
subObj
,
it
->
neighObj
.
ithObj
);
}
for
(
InteriorBoundary
::
iterator
it
(
pdb
.
intBoundary
.
periodic
,
level
);
for
(
InteriorBoundary
::
iterator
it
(
intBoundary
.
periodic
,
level
);
!
it
.
end
();
++
it
)
{
MSG
(
"Periodic boundary (ID %d) with rank %d:
\n
"
,
it
->
type
,
it
.
getRank
());
...
...
AMDiS/src/parallel/ParallelDebug.h
View file @
c36321b0
...
...
@@ -141,7 +141,7 @@ namespace AMDiS {
* This functions prints all information about all interior boundaries on
* all ranks.
*
* \param[in]
pdb Parallel problem definition used for debugging
.
* \param[in]
intBoundary The boundary object to be printed
.
* \param[in] level Mesh level number for which the boundary should
* be printed.
* \param[in] force If true, the information is always printed to
...
...
@@ -150,7 +150,7 @@ namespace AMDiS {
* parameter "parallel->debug->print boundary info"
* is set.
*/
static
void
printBoundaryInfo
(
MeshDistributor
&
pdb
,
static
void
printBoundaryInfo
(
InteriorBoundary
&
intBoundary
,
int
level
=
0
,
bool
force
=
false
);
...
...
Write
Preview
Supports
Markdown
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