Skip to content

Commit efce949

Browse files
committed
Added some documentation
1 parent 4688744 commit efce949

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pySDC/implementations/sweeper_classes/Runge_Kutta.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,12 @@ class IMEXEuler(RungeKuttaIMEX):
511511

512512

513513
class IMEXEulerStifflyAccurate(RungeKuttaIMEX):
514+
"""
515+
This implements u = fI^-1(u0 + fE(u0)) rather than u = fI^-1(u0) + fE(u0) + u0.
516+
This implementation is slightly inefficient with two stages, but the last stage is the solution, making it stiffly
517+
accurate and suitable for some DAEs.
518+
"""
519+
514520
nodes = np.array([0, 1])
515521
weights = np.array([0, 1])
516522
weights_explicit = np.array([1, 0])

0 commit comments

Comments
 (0)