]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Modify the FEValuesViews classes so that they compute a bunch of things already at...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Dec 2008 19:01:53 +0000 (19:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 11 Dec 2008 19:01:53 +0000 (19:01 +0000)
commitf89865812ce7166850c215d71e01f2173a4947f5
treec82b9fcb3746161cbbc05925c305e1168e5ae4e5
parente38559d3a810f21efab1084cfd58bd463460af09
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.