]> https://gitweb.dealii.org/ - dealii.git/commit
Use only one FEValues object.
authorWolfgang Bangerth <bangerth@gluon.math.colostate.edu>
Wed, 4 Oct 2017 14:41:32 +0000 (08:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Oct 2017 17:13:48 +0000 (11:13 -0600)
commit83caa02912f638e8b268e6328fd8660c3759f283
tree091dbe10e8e1c4be66369d53c8900cf32aa38306
parent6f6a00082e921ac58afa55d64a8dcf5e1ac6dfc9
Use only one FEValues object.
>
> Currently, there is one FEValues object that is reinit'd in the innermost
> function, but that function may be called multiple times for the same
> cell for different base elements. That is wasteful, so avoid it.
>
The solution is to reinit it at the outermost place.
include/deal.II/numerics/vector_tools.templates.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.