]> https://gitweb.dealii.org/ - dealii.git/commit
Completely reworked the pull request.
authorBruno Blais <blais.bruno@gmail.com>
Thu, 12 Mar 2020 13:03:18 +0000 (09:03 -0400)
committerBruno Blais <blais.bruno@gmail.com>
Thu, 12 Mar 2020 13:03:18 +0000 (09:03 -0400)
commite6a467e3ee83c46d4248d69fe0352d090bd9ebc3
tree92aba4f07d724e1d0a6cd66da5bc3c0f527d4ad3
parent15ef31fa7342cb4528a447925efaa01a643ab299
Completely reworked the pull request.
The particle handler now has a GridTools::Cache that is used to obtain the vertex_to_cell_centers and vertex_to_cells
This enables the same feature as before but is a lot cleaner and flexible.
However, the cache has to be stored in a unique pointer because the particlehandler has a constructor that enables it to be constructed without a triangulation.
This is not the case for the GridTools::Cache. Consequently, I thought that unique an std::unique was a good compromise here.

As always, looking forward to your comments :)!
include/deal.II/particles/particle_handler.h
source/particles/particle_handler.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.