Skip to content
Snippets Groups Projects
Commit cef11d5e authored by wenqing's avatar wenqing
Browse files

Add a short description for a preprocessor for debugging.

parent e107b09c
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment