]> https://gitweb.dealii.org/ - dealii.git/commit
Add assert on reinit() being called before get_present_fe_values() 16805/head
authorSimon Sticko <simon@sticko.se>
Thu, 28 Mar 2024 08:29:10 +0000 (09:29 +0100)
committerSimon Sticko <simon@sticko.se>
Thu, 28 Mar 2024 19:01:15 +0000 (20:01 +0100)
commitc27d6f61d2fe49a9e463d9395be25ddf418ed5f5
tree5b1b634e778f5fe09769b559410bdae31b9c16cf
parentc660c0d6962b3daf5b8aa15d8caa5a405e0d4493
Add assert on reinit() being called before get_present_fe_values()

If you call hp::FEValues::get_present_fe_values() and forgot to call
reinit() first, you presently get a poor error message. Add an assert
that present_fe_values_index is not invalid with a better error
message.
include/deal.II/hp/fe_values.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.