pathsim.solvers.dirk2 moduleο
- class pathsim.solvers.dirk2.DIRK2(*solver_args, **solver_kwargs)[source]ο
Bases:
DiagonallyImplicitRungeKuttaTwo-stage, 2nd order, Diagonally Implicit Runge-Kutta (DIRK) method.
This specific method is SSP-optimal (largest radius of absolute monotonicity for a 2-stage, 2nd order DIRK), symplectic, and A-stable. Itβs a robust choice for moderately stiff problems where second-order accuracy is sufficient.
- FROM:
L. Ferracina and M.N. Spijker. Strong stability of singly-diagonally-implicit Runge-Kutta methods. Applied Numerical Mathematics, 58:1675β1686, 2008.
- Characteristics:
Order: 2
Stages: 2 (Implicit)
Implicit (DIRK)
Fixed timestep only
A-stable, SSP-optimal, Symplectic