]> https://gitweb.dealii.org/ - dealii.git/commit
Declare a number of static consts as constexpr 13439/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 23 Feb 2022 13:12:41 +0000 (07:12 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 23 Feb 2022 13:12:41 +0000 (07:12 -0600)
commitd111634daeb60a29138d2708f782835d467d8d5a
tree0c248ab31735e77ff0f4ac49a291fffbcff1e412
parentdd8c3b06be2541bce7b8bebdd80c177cab33bdde
Declare a number of static consts as constexpr

By changing the underlying type from `static const` to
`static constexpr` it is possible to use these dimension constants also
in template expressions.
25 files changed:
include/deal.II/base/function.h
include/deal.II/base/incremental_function.h
include/deal.II/base/polynomial_space.h
include/deal.II/base/polynomials_barycentric.h
include/deal.II/base/polynomials_p.h
include/deal.II/base/polynomials_pyramid.h
include/deal.II/base/polynomials_rannacher_turek.h
include/deal.II/base/polynomials_wedge.h
include/deal.II/base/symmetric_tensor.h
include/deal.II/base/tensor_product_polynomials.h
include/deal.II/base/tensor_product_polynomials_bubbles.h
include/deal.II/base/tensor_product_polynomials_const.h
include/deal.II/differentiation/ad/ad_helpers.h
include/deal.II/dofs/dof_accessor.h
include/deal.II/dofs/dof_handler.h
include/deal.II/fe/fe.h
include/deal.II/fe/fe_base.h
include/deal.II/fe/fe_poly.h
include/deal.II/fe/fe_values.h
include/deal.II/grid/persistent_tria.h
include/deal.II/grid/tria.h
include/deal.II/grid/tria_accessor.h
include/deal.II/hp/fe_values.h
include/deal.II/matrix_free/matrix_free.h
include/deal.II/meshworker/integration_info.h

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.