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
Backofen, Rainer
amdis
Commits
80fef7eb
Commit
80fef7eb
authored
Sep 19, 2013
by
Praetorius, Simon
Browse files
possibly the repartition-Bug solved
parent
225254f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/MeshDistributor.cc
View file @
80fef7eb
...
...
@@ -477,7 +477,6 @@ namespace AMDiS { namespace Parallel {
if
(
find
(
feSpaces
.
begin
(),
feSpaces
.
end
(),
newFeSpaces
[
i
])
==
feSpaces
.
end
())
feSpaces
.
push_back
(
newFeSpaces
[
i
]);
// === Add mesh of stationary problem and create a corresponding ===
// === refinement manager object. ===
...
...
@@ -1461,7 +1460,8 @@ namespace AMDiS { namespace Parallel {
TEST_EXIT
(
dofMaps
.
size
())(
"No DOF mapping defined!
\n
"
);
ParallelDofMapping
&
dofMap
=
*
(
dofMaps
[
0
]);
partitioner
->
setLocalGlobalDofMap
(
&
(
dofMap
[
feSpaces
[
0
]].
getMap
()));
// partitioner->setLocalGlobalDofMap(&(dofMap[feSpaces[0]].getMap())); // TODO: hier kommt es zu Problemen!!!
partitioner
->
setLocalGlobalDofMap
(
&
(
dofMap
[
0
].
getMap
()));
bool
partitioningSucceed
=
partitioner
->
partition
(
elemWeights
,
ADAPTIVE_REPART
);
if
(
!
partitioningSucceed
)
{
...
...
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