]> https://gitweb.dealii.org/ - dealii.git/commit
Added the colorize option to subdivided_hyper_cube grid generator 9142/head
authorBruno Blais <blais.bruno@gmail.com>
Thu, 5 Dec 2019 14:45:58 +0000 (09:45 -0500)
committerBruno Blais <blais.bruno@gmail.com>
Thu, 5 Dec 2019 23:40:32 +0000 (18:40 -0500)
commit63fac2d64f1977730c0c214c28c99b5a4e28d8ee
tree1d33206622b61c339da89e792e576f4bede9e691
parent780ce1fc9e9a0d1d8d86c36f95a853f0f0602355
Added the colorize option to subdivided_hyper_cube grid generator

The subdivided_hyper_cube is the one of the only grid generator which
does not allow the boundaries to be colorized. This is a non-standard
behavior, because all of the other generators (hyper_cube,
hyper_rectangle, subdivided_hyper_rectangle) allow one to colorize the
boundaries. This small pull request addresses this by adding the
colorize option to the subdivided_hyper_cube grid. It also fixes the
grid_generator_from_name to make it coherent with the new
implementaiton.
doc/news/changes/minor/20191205BrunoBlais [new file with mode: 0644]
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc
source/grid/grid_generator.inst.in
source/grid/grid_generator_from_name.cc
tests/grid/grid_generator_subdivided_hyper_cube_01.cc [new file with mode: 0644]
tests/grid/grid_generator_subdivided_hyper_cube_01.output [new file with mode: 0644]

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.