]> https://gitweb.dealii.org/ - dealii.git/commit
Get rid of FEValuesData in FESystem. 1266/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 5 Aug 2015 13:50:59 +0000 (08:50 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 5 Aug 2015 19:09:38 +0000 (14:09 -0500)
commit4b66365f19321a49befbf0f37fdb92dbcf4ce156
tree81d92a2d3f1b9f85a750438bdde9990001a39945
parent0edaadb22da7f2953849aeffc8fd89a8b73585f6
Get rid of FEValuesData in FESystem.

This patch replaces FEValuesData by internal::FEValues::FiniteElementRelatedData
in FESystem. This has two nice benefits:

* We no longer need to copy the mapping related data from the object we get passed
  to the objects that we pass on to the base elements. Rather, we simply reuse the
  one mapping related data object for all base elements.
* This also makes us immune to the situation where a field is added to the mapping
  related data structure. We no longer need to add the copying to FESystem in
  that case.

While there, I took the opportunity to clean up one additional issue: We used to
store an array of pointers to FEValuesData objects. This is not necessary, a
plain array of objects would have sufficed and be more efficient. I made that
change now.
include/deal.II/fe/fe_system.h
source/fe/fe_system.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.