Praveen, On Thursday, August 26, 2021 at 12:22:47 PM UTC-4 Praveen C wrote:
> ExplicitRungeKutta and EmbeddedExplicitRungeKutta are derived from > RungeKutta but there is no virtual function with these arguments in > RungeKutta. > > Is it possible to declare such a virtual function in the base class ? > Seems useful to have this. > The reason the function is not in the base class is because it cannot be implemented for ImplicitRungeKutta. However this function https://www.dealii.org/current/doxygen/deal.II/classTimeStepping_1_1EmbeddedExplicitRungeKutta.html#accb05cdd9b6519c4d4ffe9ea996cee87 is in the base class and *id_minus_tau_J_inverse *is ignored when using an explicit method. You should be able to pass a lambda function that doesn't do anything. Let me know if that doesn't work. @Wolfgang, the embedded methods are adaptive. Best, Bruno -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/36ec87a9-acc0-43fc-8aa3-20e54bd81360n%40googlegroups.com.
