]> https://gitweb.dealii.org/ - dealii.git/commit
improve PETSc sparse_matrix constructor error msg 2120/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 26 Jan 2016 14:03:53 +0000 (15:03 +0100)
committerTimo Heister <timo.heister@gmail.com>
Tue, 26 Jan 2016 14:03:53 +0000 (15:03 +0100)
commitbd2e66492bf4f0b3cb8611377f96f82a5ce149ed
tree41734ecd337f17ac722c204e571bea4012fe4084
parent4bb930ae228c42b62495349f14e2ac3d99456e86
improve PETSc sparse_matrix constructor error msg

If you construct a PETSc sparse matrix with invalid IndexSets for local
rows/columns, you only get a cryptic PETSc error code. This commit adds
a check in debug mode with a helpful error message.
source/lac/petsc_parallel_sparse_matrix.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.