]> https://gitweb.dealii.org/ - dealii.git/commit
Use boost's small_vector in a few places. 5024/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 4 Sep 2017 21:26:35 +0000 (17:26 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 4 Sep 2017 21:26:35 +0000 (17:26 -0400)
commit7de0398a4277b6240b7d6f181f80763b74e436b1
treec9990bd3b0329d25081cc7437fbc8e686493c61e
parentd65b09c56da93ef60be128ee7cb197f2a8c001af
Use boost's small_vector in a few places.

This class allows us to simplify some logic where we previously switched
between stack-allocated built-in arrays and std::vectors; now we can
just use the object's internal buffer in most cases, but if
dofs_per_cell or indices.size() is large enough we will allocate a big
enough buffer.
source/fe/fe_values.cc
source/grid/manifold.cc
source/lac/trilinos_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.