]> https://gitweb.dealii.org/ - dealii.git/commit
Clean up GridGenerator::extrude_triangulation.
authorDavid Wells <drwells@email.unc.edu>
Sun, 29 Jul 2018 20:31:03 +0000 (16:31 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sun, 12 Aug 2018 03:24:28 +0000 (23:24 -0400)
commit2d2a0060943c7ca4227656bc542ab82223be20ab
tree06512667f3628894efe90b234d93347f9b522bae
parente92cc4d84c71ac4f8e1d4be63ee44b18f8bcd34e
Clean up GridGenerator::extrude_triangulation.

1. Rename 's' to subcell_data.
2. Use a range for loop over the cells
3. Use more descriptive names for loop indices (e.g., vertex_n instead of i)
4. Copy a point directly instead of componentwise
5. Use the range-for loops for cells and faces.
6. Rewrite the first paragraph of the documentation to be clearer.
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.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.