]> https://gitweb.dealii.org/ - dealii.git/commit
Make cell_measure(...) work again. 2587/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 12 May 2016 00:38:57 +0000 (20:38 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 12 May 2016 01:06:17 +0000 (21:06 -0400)
commit18ddfc4cf18c91d12c3af7dd9c71342342b26eaf
tree6f19e138335940c3c962dd8d7a50cca867d81f45
parent38ed17e4b842e8609fc2651ea2590b850e91fe09
Make cell_measure(...) work again.

A result of d8bafee27cc was that users can no longer write

cell_measure(...)

with no given template argument (in the codimension zero case). This
commit fixes that.

Note: since dim does not explicitly appear alone and unmodified in the
function arguments of cell_measure<dim, spacedim>, that function can
never have its type (more exactly, the value for dim) inferred correctly
from just the arguments. Put another way, one must always write
cell_measure<dim, spacedim> to use this function. This was not a problem
in the past when Point<dim> appeared instead of Point<spacedim>.
include/deal.II/grid/grid_tools.h

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.