]> https://gitweb.dealii.org/ - dealii.git/commit
Add ReferenceCell::max_n_vertices<dim>(). 17974/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 5 Jan 2025 18:10:20 +0000 (13:10 -0500)
committerDavid Wells <drwells@email.unc.edu>
Sun, 5 Jan 2025 20:29:23 +0000 (15:29 -0500)
commit4ffe4dccd9a97c1e94a4f0e636c0bce8896962ef
treeca94fcd8b114531f44672a80fbe1db072fe858d3
parentcea239e5b8f0afb5c9f190c3845c05b457cbcabd
Add ReferenceCell::max_n_vertices<dim>().

Like the other max functions, this helps us semantically disambiguate
between a maximum value and the hypercube value.

I had to add more preprocessor checks to work around Windows Server
2019's MSVC's problems with boost. I'm not sure when GitHub will start
removing support for that OS, but it may be soon: it entered extended
support a year ago [1]. I think we should just leave these preprocessor
defines until we retire support for that OS, which may be after the next
release.

[1] https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2019
14 files changed:
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_fe_field.h
include/deal.II/fe/mapping_q1_eulerian.h
include/deal.II/fe/mapping_q_cache.h
include/deal.II/fe/mapping_q_eulerian.h
include/deal.II/grid/reference_cell.h
include/deal.II/grid/tria_accessor.h
source/fe/mapping.cc
source/fe/mapping_fe_field.cc
source/fe/mapping_q.cc
source/fe/mapping_q1_eulerian.cc
source/fe/mapping_q_cache.cc
source/fe/mapping_q_eulerian.cc
source/grid/tria.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.