]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Introduce a way to pre-compute the number of lines, quads, etc instead of always...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Aug 1999 14:00:40 +0000 (14:00 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 5 Aug 1999 14:00:40 +0000 (14:00 +0000)
commita99fcc845a8ebd2ed8e1788751f4cf875f26660e
tree64d5d81912919f99c2cba56def2a085493c70a01
parente47a04468105cb5028a00ea11402e5df55a4cf40
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.