lisawim / pySDC

pySDC is a Python implementation of the spectral deferred correction (SDC) approach and its flavors, esp. the multilevel extension MLSDC and PFASST.
http://www.parallel-in-time.org/pySDC
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

RK sweeper(s) for DAEs #9

Closed lisawim closed 10 months ago

lisawim commented 10 months ago

PR contains the RK sweepers such as backward Euler, implicit midpoint method and a DIRK method for DAEs. Furthermore, I added a method du_exact to some problems, because they are necessary to have initial conditions for the RK sweepers to start.

A new hook is added that logs the values of the algebraic variable (the last entry in the solution) to have a look if the order is achieved also in the algebraic variable (preferably in case of semi-explicit DAEs).

Since current bugfix for the RK sweepers for ODEs is not pushed, I added it manually. We have to take care of this when pushing to the pySDC main repo.