From 235097de852bfd272658851f4367add3c60b8c84 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Wed, 12 May 2010 15:43:59 +0000
Subject: [PATCH] Reimplemented buildAfterCoarsen for only assembling vectors.

---
 AMDiS/src/ProblemVec.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AMDiS/src/ProblemVec.cc b/AMDiS/src/ProblemVec.cc
index 24c4225a..2eb64d17 100644
--- a/AMDiS/src/ProblemVec.cc
+++ b/AMDiS/src/ProblemVec.cc
@@ -687,7 +687,7 @@ namespace AMDiS {
 	bool assembleMatrix = true;
 	// The DOFMatrix which should be assembled (or not, if assembleMatrix
 	// will be set to false).
-	DOFMatrix *matrix = (*systemMatrix)[i][j];
+	DOFMatrix *matrix = (asmMatrix ? (*systemMatrix)[i][j] : NULL);
 
 	if (writeAsmInfo && matrix) {
 	  for (std::vector<Operator*>::iterator it = matrix->getOperatorsBegin();
-- 
GitLab