]> https://gitweb.dealii.org/ - dealii.git/commit
Use AlignedVector to manage Vector's memory.
authorDavid Wells <drwells@email.unc.edu>
Mon, 21 Jan 2019 03:32:32 +0000 (22:32 -0500)
committerDavid Wells <drwells@email.unc.edu>
Tue, 29 Jan 2019 14:04:31 +0000 (09:04 -0500)
commitd716983f2a91177d5a2364ec6ba5d8c1c8b25175
tree28d04a3303d674c8821a09cb68dc8ec671cb774e
parentcc3c5b22e8b28a6ea036d448d9940483e6ade560
Use AlignedVector to manage Vector's memory.

Vector already requires that the underlying buffer be aligned and uses
exactly the same function (posix_memalign) as AlignedVector to do it: we
can simplify the implementation of Vector a lot by just using an
AlignedVector to manage the data instead.
include/deal.II/lac/vector.h
include/deal.II/lac/vector.templates.h
tests/serialization/vector.output

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.