]> https://gitweb.dealii.org/ - dealii.git/commit
Make the internal data object of the mapping classes const.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Jul 2015 21:49:36 +0000 (16:49 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Jul 2015 14:16:07 +0000 (09:16 -0500)
commit41d9c5cbc6f9c14aaa258b89c9521823d139b6e9
treeeeecfd3f5d99ecec2533cdad6cc4712d63389687
parent9314389f1565bac0fa545ee502343a1a55ec9b8e
Make the internal data object of the mapping classes const.

Logically, they are input arguments to the fill_fe_values() functions, they are only
initialized in get_data() etc. Thus, make them const in the fill_fe_values functions.
There are places where mapping classes want to move data across from fill_fe_values
in terms of temporary arrays to the transform() function that may be called right
afterwards from FiniteElement::fill_fe_values(). In those cases, make these members
mutable.
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_cartesian.h
include/deal.II/fe/mapping_fe_field.h
include/deal.II/fe/mapping_q.h
include/deal.II/fe/mapping_q1.h
source/fe/mapping_cartesian.cc
source/fe/mapping_fe_field.cc
source/fe/mapping_q.cc
source/fe/mapping_q1.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.