diff --git a/AMDiS/src/ProblemVec.cc b/AMDiS/src/ProblemVec.cc index b4d9ee905c00d4bcf79f1f75a74a3539d27054c8..1ba7847a1b02fadbd9bf503386364f98be039d63 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]; } }