diff --git a/MathLib/LinAlg/PETSc/PETScMatrix.cpp b/MathLib/LinAlg/PETSc/PETScMatrix.cpp index 5a10615fddda9a911afdd2758626c71cb3ba3a6f..aa82da6c159e0a94f320b21d772eb8d5fcd2e0b2 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();