]> https://gitweb.dealii.org/ - dealii.git/commit
Fix DyanmicSparsityPattern::iterator.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Apr 2015 13:51:32 +0000 (08:51 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Apr 2015 13:53:18 +0000 (08:53 -0500)
commit39e9a5406d89d75a20c7180d7536a95b171f086f
tree379654fbf150f887d50d2770b0cd56b360aa2d2a
parentd86a2aeb00e47e09237af8a1460e416afc1c2cef
Fix DyanmicSparsityPattern::iterator.

In my previous commit where they were introduced, I had failed to
take into account that DynamicSparsityPattern can take an IndexSet
that denotes which rows to store. We need to skip over rows
that are not stored by this sparsity pattern.

This, unfortunately, complicated the logic significantly.
include/deal.II/lac/dynamic_sparsity_pattern.h
tests/bits/dynamic_sparsity_pattern_iterator_03.cc [new file with mode: 0644]
tests/bits/dynamic_sparsity_pattern_iterator_03.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.