]> https://gitweb.dealii.org/ - dealii.git/commit
Replace update_once/each by requires_update_flags() in FiniteElement. 1838/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 3 Nov 2015 04:33:52 +0000 (22:33 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 6 Nov 2015 00:21:06 +0000 (18:21 -0600)
commit150679ddb9144d6b864ed0dc4559da8a1a1278f2
treec1e31f0658582ab3d79235450a82156934b6ad57
parent4ec4996d2840f9eaaf4b79efadf79a91142abc22
Replace update_once/each by requires_update_flags() in FiniteElement.

The purpose of this patch is to align the finite element classes with the way the
mapping classes have already been converted. Specifically, there is no need for
any of the users of finite element classes to actually know whether a FE implementation
wants to treat a particular flags as update_once or update_each. This is an internal
decision. Rather, all we need to know is what flags they need overall. This is now
communicated by the new FiniteElement::requires_update_flags() function.

The update_once() and update_each() functions have been retained -- for now -- as
internal functions individual elements can implement, but they are no longer virtual.
16 files changed:
include/deal.II/fe/fe.h
include/deal.II/fe/fe_dgp_nonparametric.h
include/deal.II/fe/fe_face.h
include/deal.II/fe/fe_nothing.h
include/deal.II/fe/fe_poly.h
include/deal.II/fe/fe_poly.templates.h
include/deal.II/fe/fe_poly_face.h
include/deal.II/fe/fe_poly_face.templates.h
include/deal.II/fe/fe_poly_tensor.h
include/deal.II/fe/fe_system.h
source/fe/fe_dgp_nonparametric.cc
source/fe/fe_face.cc
source/fe/fe_nothing.cc
source/fe/fe_poly_tensor.cc
source/fe/fe_system.cc
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.