From 145602ce9f5f7309e647f114144191141b0589fd Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Wed, 12 Nov 2008 13:06:58 +0000
Subject: [PATCH] * Bug fix

---
 AMDiS/src/ProblemVec.cc | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/AMDiS/src/ProblemVec.cc b/AMDiS/src/ProblemVec.cc
index b4d9ee90..1ba7847a 100644
--- a/AMDiS/src/ProblemVec.cc
+++ b/AMDiS/src/ProblemVec.cc
@@ -54,12 +54,12 @@ namespace AMDiS {
 
 	// If the adopt problem has fewer components than this problem, but only one
 	// mesh for all component, than scal up the componentMeshes array.
-	if (adoptProblem->getNumComponents() < numComponents_) {
+	if (adoptProblem->getNumComponents() < nComponents) {
 	  TEST_EXIT(meshes_.size() == 1)("Daran muss ich noch arbeiten!\n");
 	  
-	  componentMeshes_.resize(numComponents_);
-	  for (int i = adoptProblem->getNumComponents(); i < numComponents_; i++) {
-	    componentMeshes_[i] = componentMeshes_[0];
+	  componentMeshes.resize(nComponents);
+	  for (int i = adoptProblem->getNumComponents(); i < nComponents; i++) {
+	    componentMeshes[i] = componentMeshes[0];
 	  }
 	}
 
@@ -84,12 +84,12 @@ namespace AMDiS {
 
 	// If the adopt problem has fewer components than this problem, but only one
 	// fe space for all component, than scal up the componentSpaces array.
-	if (adoptProblem->getNumComponents() < numComponents_) {
-	  TEST_EXIT(feSpaces_.size() == 1)("Daran muss ich noch arbeiten!\n");
+	if (adoptProblem->getNumComponents() < nComponents) {
+	  TEST_EXIT(feSpaces.size() == 1)("Daran muss ich noch arbeiten!\n");
 	  
-	  componentSpaces_.resize(numComponents_);
-	  for (int i = adoptProblem->getNumComponents(); i < numComponents_; i++) {
-	    componentSpaces_[i] = componentSpaces_[0];
+	  componentSpaces.resize(nComponents);
+	  for (int i = adoptProblem->getNumComponents(); i < nComponents; i++) {
+	    componentSpaces[i] = componentSpaces[0];
 	  }
 	}
 
-- 
GitLab