Commit 80fef7eb authored by Praetorius, Simon's avatar Praetorius, Simon

possibly the repartition-Bug solved

parent 225254f5
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment