From cef11d5ec0834fc7703024408bcc9f77d925fd8f Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Mon, 31 Mar 2014 10:57:03 +0200
Subject: [PATCH] Add a short description for a preprocessor for debugging.

---
 MathLib/LinAlg/PETSc/PETScMatrix.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/MathLib/LinAlg/PETSc/PETScMatrix.cpp b/MathLib/LinAlg/PETSc/PETScMatrix.cpp
index 5a10615fddd..aa82da6c159 100644
--- a/MathLib/LinAlg/PETSc/PETScMatrix.cpp
+++ b/MathLib/LinAlg/PETSc/PETScMatrix.cpp
@@ -74,7 +74,9 @@ void PETScMatrix::viewer(const std::string &file_name, const PetscViewerFormat v
     PetscObjectSetName((PetscObject)_A,"Stiffness_matrix");
     MatView(_A,viewer);
 
-#define nEXIT_TEST
+// This preprocessor is only for debugging, e.g. dump the matrix and exit the program.
+// To activate, remove 'non' in ths following line.  
+#define nonEXIT_TEST  
 #ifdef EXIT_TEST
     MatDestroy(&_A);
     PetscFinalize();
-- 
GitLab