]> https://gitweb.dealii.org/ - dealii.git/commit
Store the correct polynomial degree in MappingQGeneric.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 5 Sep 2015 13:07:33 +0000 (08:07 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 6 Sep 2015 18:43:26 +0000 (13:43 -0500)
commite89706980cce0586d144c9335285eb5fb1534e8a
tree4db4df06b1a583b825a22dc8be7fe5f485739630
parent0b9cba2367a0412a056c822c6bee347fe3aa759b
Store the correct polynomial degree in MappingQGeneric.

Currently, MappingQ derives from MappingQ1 which passes 1 down as polynomial degree.
This worked 'by accident' because the polynomial degree is only used by MappingQGeneric
in get_data() and friends, which are overloaded by MappingQ. However, the correct
place to store the polynomial degree is clearly in MappingQGeneric.
include/deal.II/fe/mapping_q.h
include/deal.II/fe/mapping_q1.h
include/deal.II/fe/mapping_q_generic.h
source/fe/mapping_q.cc
source/fe/mapping_q1.cc
source/fe/mapping_q_generic.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.