]> https://gitweb.dealii.org/ - dealii.git/commit
Introduce a way to pre-compute the number of lines, quads, etc instead of always...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 5 Aug 1999 14:00:40 +0000 (14:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 5 Aug 1999 14:00:40 +0000 (14:00 +0000)
commit5b68a99982ea0cfbf1fcef35c6a011a1a2df6961
tree7c29f325bd004b777d994c0887ac1c8c4ccf54cb
parent644e1b99d319b36cf749d36973d3272f657cc97e
Introduce a way to pre-compute the number of lines, quads, etc instead of always re-computing them doing a loop over all elements. This reduces the computational effort significantly and finally allows to write for (; n<n_active_cells(); ++n) which wasn't possible before because the compiler could not in all cases hoist the call to n_active_cells() out of the loop.

git-svn-id: https://svn.dealii.org/trunk@1627 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/deal.II/Todo
deal.II/deal.II/include/grid/tria.h
deal.II/deal.II/source/grid/tria.all_dimensions.cc
deal.II/deal.II/source/grid/tria.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.