]> https://gitweb.dealii.org/ - dealii.git/commit
Use a std::map instead of a std::list of std::pair. 6282/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 21 Apr 2018 14:35:18 +0000 (08:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 21 Apr 2018 17:46:43 +0000 (11:46 -0600)
commit5dbd2b4245bbb18296093287e4862fa72ab7dc78
treeac3ee7b714e25ea966f2779dfceca5dfe56d75a7
parent2c900ef1d5aef4ab7a3ade4ac571ee56bdf2fc2e
Use a std::map instead of a std::list of std::pair.

The only relevant change is that where previously, when we unpacked one
data set in p::d::Triangulation::notify_ready_to_unpack(), we just dropped
*one* data set but not necessarily the one that had been detached. Now we
actually drop the *correct* one by searching for the key and dropping
that element of the map.
include/deal.II/distributed/tria.h
source/distributed/tria.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.