]> https://gitweb.dealii.org/ - dealii.git/commit
Fix the number of entries in the FEValues view cache. 12099/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 26 Apr 2021 17:02:47 +0000 (11:02 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 26 Apr 2021 17:20:48 +0000 (11:20 -0600)
commit3f3a9ce64ea23681f196d9c84a11844e28330937
tree281b14e827e2b2b3a3ce817c099a743d203da37f
parentabff28e755b4763454872285b38ee53758d14669
Fix the number of entries in the FEValues view cache.

Looking at the implementation of the FEValuesViews::Vector and similar classes, we
see that they return 'spacedim' objects at a time, and similar for the tensor views.
The number of entries in the cache for vectors was already keyed off 'spacedim',
but for the tensors it was based on 'dim' instead. This isn't quite right.
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.