]> https://gitweb.dealii.org/ - dealii.git/commit
Generalize the data structures for the cells adjacent to an edge.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 9 Oct 2016 13:28:44 +0000 (07:28 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Oct 2016 19:50:21 +0000 (13:50 -0600)
commit5c82272b07f59d0ac3153c8f6d1a0b559e4adcad
tree6eafd323de3f77748e36fb5d64dcff6a28369a45
parentc16afcdb0f39288e31b097732772287487bd92b8
Generalize the data structures for the cells adjacent to an edge.

In 2d, only two cells can be adjacent to an edge, and the current data structures in the
mesh reorientation algorithm reflect this: each edge had 2 slots for adjacent cells, of which
zero, one, or two could be used at any given time.

On the other hand, in 3d, an arbitrary number of cells may be adjacent to an edge. I eventually
want to extend the algorithm re-written in #3166 to the 3d case as well. This patch generalizes
the data structure representing the cells adjacent to an edge by making it generic. The patch
only implements the 2d case, but the 3d case will be easy to add later on, and it makes the 'Edge'
data structure generic.
source/grid/grid_reordering.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.