]> https://gitweb.dealii.org/ - dealii.git/commit
Restrict the template arguments of GridGenerator::hyper_sphere.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Jan 2018 17:45:45 +0000 (10:45 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Jan 2018 17:45:45 +0000 (10:45 -0700)
commitf71120453d81d5ec6d3491d291b60a426c6ed002
treead3ff17ed58738668bd2ee1176770aa59927b77e
parentbf81fdf2165ae3a508a990475f5d62a08e1e2ed3
Restrict the template arguments of GridGenerator::hyper_sphere.

This function can only work for dim==spacedim-1, and this is also documented.
Consequently, get rid of the dim template argument.
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc
source/grid/grid_generator.inst.in

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.