From 96a3d58bf88e15cd5e77a3a3054a607d08a3ad93 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Mon, 22 Oct 2012 06:18:21 +0000
Subject: [PATCH] Small bug fix in parallel DOF mapping, it really works ....

---
 AMDiS/src/parallel/ParallelDofMapping.h | 2 +-
 AMDiS/src/parallel/PetscSolverFeti.cc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/AMDiS/src/parallel/ParallelDofMapping.h b/AMDiS/src/parallel/ParallelDofMapping.h
index 33fc94b7..189d8c19 100644
--- a/AMDiS/src/parallel/ParallelDofMapping.h
+++ b/AMDiS/src/parallel/ParallelDofMapping.h
@@ -489,7 +489,7 @@ namespace AMDiS {
 
     ComponentDofMap& operator[](const FiniteElemSpace *feSpace)
     {
-      ERROR_EXIT("BLUB\n");
+      ERROR_EXIT("FE Space acces is not possible for component wise defined DOF mappings\n");
     }
     
     ComponentIterator& getIteratorData()
diff --git a/AMDiS/src/parallel/PetscSolverFeti.cc b/AMDiS/src/parallel/PetscSolverFeti.cc
index ce3ffabc..ee43d7d2 100644
--- a/AMDiS/src/parallel/PetscSolverFeti.cc
+++ b/AMDiS/src/parallel/PetscSolverFeti.cc
@@ -582,7 +582,7 @@ namespace AMDiS {
 	localDofMap[component].insertRankDof(i, nLocalInterior);
 	
 	if (fetiPreconditioner == FETI_DIRICHLET)
-	  interiorDofMap[feSpace].insertRankDof(i, nLocalInterior);
+	  interiorDofMap[component].insertRankDof(i, nLocalInterior);
 	
 	nLocalInterior++;	
       } else {
-- 
GitLab