]> https://gitweb.dealii.org/ - dealii.git/commit
Fix BlockVectorBase::memory_consumption. 3432/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 3 Nov 2016 16:57:28 +0000 (11:57 -0500)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 3 Nov 2016 16:57:28 +0000 (11:57 -0500)
commit81efe5167f329a5ea6f5a43cfdf736db9a93c9c3
tree901ad45421e9d96ebd0b4cbfcaf6fc3bc616ef2f
parent83a19cc48ce5c15cbbd1580ed84fd4b2d0fc5508
Fix BlockVectorBase::memory_consumption.

The existing implementation forgot to add the memory required for
the std::vector of blocks, it only added the memory required for
the blocks themselves. It turns out that fixing this also allows
to simplify the code significantly.
include/deal.II/lac/block_vector_base.h

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.