imex_ars222_step

Contents

imex_ars222_step#

class braintools.quad.imex_ars222_step(f_exp, f_imp, y, t, *args, max_iter=2, **kwargs)#

ARS(2,2,2) IMEX Runge–Kutta step (Ascher, Ruuth & Spiteri, 1997).

Second-order, L-stable, stiffly accurate IMEX Runge–Kutta scheme with γ = 1 - 1/sqrt(2) and δ = 1 - 1/(2γ):

Explicit tableau (c = [0, γ, 1]):

0 | 0      0      0
γ | γ      0      0
1 | δ      1-δ    0
--+--------------------
  | δ      1-δ    0

Implicit tableau (c = [0, γ, 1]):

0 | 0      0      0
γ | 0      γ      0
1 | 0      1-γ    γ
--+--------------------
  | 0      1-γ    γ

The two implicit stages are solved with Newton’s method; the new state is the last stage.

Parameters:
Returns:

The updated state y_{n+1}.

Return type:

PyTree