]> https://gitweb.dealii.org/ - dealii.git/commit
Modify the FEValuesViews classes so that they compute a bunch of things already at...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 11 Dec 2008 19:01:53 +0000 (19:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 11 Dec 2008 19:01:53 +0000 (19:01 +0000)
commitdc469cdd763e23be3dee9c37baac87a37844c151
tree7b369ec3f18166a6d9fda386833751ba8173fded
parent0b6e7cf016885c3eca9ba092a3f96af4916ab82c
Modify the FEValuesViews classes so that they compute a bunch of things already at construction time. This should make them much faster when you use them to evaluate stuff. On the other hand, it makes construction much more expensive and so the previous approach of creating them on the fly every time someone wrote fe_values[velocities] doesn't work any more. Rather, create all possible views objects at construction time of the FEValues object and simply return a reference to one of them when a view is requested.

git-svn-id: https://svn.dealii.org/trunk@17913 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/deal.II/include/fe/fe_values.h
deal.II/deal.II/source/fe/fe_values.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.