]> https://gitweb.dealii.org/ - dealii.git/commit
Assert that a method was choosen in the time stepping methods. 13658/head
authorSimon Sticko <simon@sticko.se>
Fri, 29 Apr 2022 11:20:24 +0000 (13:20 +0200)
committerSimon Sticko <simon@sticko.se>
Fri, 29 Apr 2022 11:20:24 +0000 (13:20 +0200)
commit15b29de21df21765da632091981f979385e524d2
tree69f79c2a17f8b6a077669b001c304d607d3bb4b1
parent46767153590e9883164c977d04f16a96ae221ac3
Assert that a method was choosen in the time stepping methods.

If one does not pass a runge_kutta_method to the constructor of one
of the TimeStepping::*RungeKutta classes and forgets to call the
initialize(..)-function, the program crashes with a poor error
message. Add asserts to get more descriptive error messages.
include/deal.II/base/time_stepping.h
include/deal.II/base/time_stepping.templates.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.