Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
18b97ade
Commit
18b97ade
authored
Dec 07, 2012
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation issues.
parent
e3c34b47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
AMDiS/src/parallel/BddcMlSolver.cc
AMDiS/src/parallel/BddcMlSolver.cc
+3
-3
AMDiS/src/parallel/DofComm.cc
AMDiS/src/parallel/DofComm.cc
+4
-6
No files found.
AMDiS/src/parallel/BddcMlSolver.cc
View file @
18b97ade
...
...
@@ -68,11 +68,11 @@ namespace AMDiS {
int
nLevel
=
2
;
int
nSubdomains
[
nLevel
];
nSubdomains
[
0
]
=
meshDistributor
->
getMpi
S
ize
();
nSubdomains
[
0
]
=
meshDistributor
->
getMpi
Comm
(
0
).
Get_s
ize
();
nSubdomains
[
1
]
=
1
;
int
nSubPerProc
=
1
;
MPI_Fint
c2f
=
MPI_Comm_c2f
(
meshDistributor
->
getMpiComm
());
MPI_Fint
c2f
=
MPI_Comm_c2f
(
meshDistributor
->
getMpiComm
(
0
));
int
verboseLevel
=
2
;
int
numbase
=
0
;
...
...
@@ -164,7 +164,7 @@ namespace AMDiS {
// array of indices of subdomain elements in global numbering
int
isegn
[
nelems
];
int
rStartEl
,
nOverallEl
;
mpi
::
getDofNumbering
(
meshDistributor
->
getMpiComm
(),
mpi
::
getDofNumbering
(
meshDistributor
->
getMpiComm
(
0
),
nelems
,
rStartEl
,
nOverallEl
);
MSG
(
"rStartEl = %d
\n
"
,
rStartEl
);
for
(
int
i
=
0
;
i
<
nelems
;
i
++
)
...
...
AMDiS/src/parallel/DofComm.cc
View file @
18b97ade
...
...
@@ -116,19 +116,17 @@ namespace AMDiS {
{
FUNCNAME
(
"DofComm::getDegree()"
);
TEST_EXIT_DBG
(
meshLevel
==
0
)(
"Not yet implemented!
\n
"
);
int
degree
=
0
;
for
(
map
<
int
,
FeMapType
>::
iterator
it
=
sendDofs
[
0
]
.
begin
();
it
!=
sendDofs
[
0
]
.
end
();
++
it
)
{
for
(
map
<
int
,
FeMapType
>::
iterator
it
=
sendDofs
.
begin
();
it
!=
sendDofs
.
end
();
++
it
)
{
DofContainer
&
dc
=
it
->
second
[
feSpace
];
if
(
find
(
dc
.
begin
(),
dc
.
end
(),
dof
)
!=
dc
.
end
())
degree
++
;
}
for
(
map
<
int
,
FeMapType
>::
iterator
it
=
recvDofs
[
0
]
.
begin
();
it
!=
recvDofs
[
0
]
.
end
();
++
it
)
{
for
(
map
<
int
,
FeMapType
>::
iterator
it
=
recvDofs
.
begin
();
it
!=
recvDofs
.
end
();
++
it
)
{
DofContainer
&
dc
=
it
->
second
[
feSpace
];
if
(
find
(
dc
.
begin
(),
dc
.
end
(),
dof
)
!=
dc
.
end
())
degree
++
;
...
...
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