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
d7a85bf4
Commit
d7a85bf4
authored
Aug 07, 2008
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Bug fix in ParallelProblem for the vec-case
parent
83dd4be1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
AMDiS/src/ParallelProblem.cc
AMDiS/src/ParallelProblem.cc
+11
-4
No files found.
AMDiS/src/ParallelProblem.cc
View file @
d7a85bf4
...
...
@@ -461,7 +461,7 @@ namespace AMDiS {
if
(
debugMode
)
{
dbgMesh
=
mesh
;
if
(
mpiRank
==
0
)
{
structures
[
mpiRank
].
fitMeshToStructure
(
dbgMesh
,
structures
[
mpiRank
].
fitMeshToStructure
(
dbgMesh
,
refinementManager
,
true
,
true
);
}
...
...
@@ -1487,11 +1487,18 @@ namespace AMDiS {
if
(
debugMode
)
{
dbgRankSolution
.
resize
(
mpiSize
);
for
(
int
i
=
0
;
i
<
mpiSize
;
i
++
)
{
dbgRankSolution
[
i
]
=
NEW
SystemVector
(
*
(
rankSolution
[
i
]));
dbgRankSolution
[
i
]
=
NEW
SystemVector
(
"debug rank solution"
,
feSpaces
,
nComponents
);
for
(
int
j
=
0
;
j
<
nComponents
;
j
++
)
{
dbgRankSolution
[
i
]
->
setDOFVector
(
j
,
NEW
DOFVector
<
double
>
(
feSpaces
[
j
],
"debug rank solution"
));
}
}
if
(
mpiRank
==
0
)
{
dbgSolution
=
NEW
SystemVector
(
*
(
problem
->
getSolution
()));
dbgSolution
=
NEW
SystemVector
(
"debug solution"
,
feSpaces
,
nComponents
);
for
(
int
i
=
0
;
i
<
nComponents
;
i
++
)
{
dbgSolution
->
setDOFVector
(
i
,
NEW
DOFVector
<
double
>
(
feSpaces
[
i
],
"debug solution"
));
}
}
}
...
...
@@ -1518,7 +1525,7 @@ namespace AMDiS {
}
DELETE
dbgRankSolution
[
i
];
}
if
(
mpiRank
==
0
)
{
for
(
int
i
=
0
;
i
<
nComponents
;
i
++
)
{
DELETE
dbgSolution
->
getDOFVector
(
i
);
...
...
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