]> https://gitweb.dealii.org/ - dealii.git/commit
Clean up some p4est-related code. 3631/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Nov 2016 16:55:41 +0000 (09:55 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Nov 2016 18:41:52 +0000 (11:41 -0700)
commit6c812b019ec470d2cdc307c99e542208fc0a08e5
tree4a6c528fd40c4e6591bef4681c9524b9dfd5a4d3
parent1702dc9ccee9ec7979c5c6550316257b7b89fee1
Clean up some p4est-related code.

Specifically, commit daf3146 (via #3625) introduced a dimension dependent dispatch
mechanism that allowed writing some code in a more generic way. The idea was right,
but the approach duplicated the dispatching because we already have a dispatching
mechanism via the internal::p4est::functions classes.

This patch simply merges the two approaches. It also allows to move some
code out of distributed/tria.cc into distributed/p4est_wrappers.cc, at the
cost of some code churn. The patch does not actually change any kind of
functionality -- it just moves things.
include/deal.II/distributed/p4est_wrappers.h
source/distributed/p4est_wrappers.cc
source/distributed/p4est_wrappers.inst.in
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.