]> https://gitweb.dealii.org/ - dealii.git/commit
Move 'cached_primitivity' and 'is_primitive()'. 3100/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 11 Sep 2016 10:29:48 +0000 (05:29 -0500)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 11 Sep 2016 10:29:48 +0000 (05:29 -0500)
commit7fd8c20e20ee5be2a6b2f0623f567224c180faaf
tree011dc67cabc29f7ee5eb1a085aef7c8b6e1fbe41
parente79506bc6ec47d527dedfc3f99156a61473c4ca1
Move 'cached_primitivity' and 'is_primitive()'.

These fields were part of FiniteElementData, but this class had no way of computing
the information during construction, and it needed to be set at a later time by
the derived classes' construction time. This is silly. Move the field and function
to class FiniteElement, where we know how to compute the information, and where we
already store similar information.
include/deal.II/fe/fe.h
include/deal.II/fe/fe_base.h
source/fe/fe.cc
source/fe/fe_data.cc
tests/base/memory_consumption_01.with_64bit_indices=off.output
tests/base/memory_consumption_01.with_64bit_indices=on.output

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.