]> https://gitweb.dealii.org/ - dealii.git/commit
Add assertion to PETScWrappers::MatrixBase::begin() and end(). 8601/head
authorSebastian Stark <stark.sebastian@gmx.de>
Thu, 15 Aug 2019 07:01:54 +0000 (09:01 +0200)
committerSebastian Stark <stark.sebastian@gmx.de>
Mon, 19 Aug 2019 15:58:39 +0000 (17:58 +0200)
commitca1ab0c9f15de5e10e43fa534bf5b4e61cce0934
tree1c71c32d3f482f2b1920d38d6fd0694a632b9f96
parent4fc42c9ed47e4c1e5e42a7c7d95dfebad1757582
Add assertion to PETScWrappers::MatrixBase::begin() and end().

Add assertion to make sure that begin() and end() can only be called on a processor owning the entire matrix. Also make sure that begin() works in case the first row(s) of the matrix is(are) emtpy.
Fixes #8571.
doc/news/changes/minor/20190819SebastianStark [new file with mode: 0644]
include/deal.II/lac/petsc_matrix_base.h
tests/petsc/matrix_base_iterator_01.cc [new file with mode: 0644]
tests/petsc/matrix_base_iterator_01.output [new file with mode: 0644]

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.