def test_ssp3_linear():
    ssp3 = lserk.SSP3()
    odes.check_linear_case(ssp3)
    ssp3 = lserk.SSP3(3)
    odes.check_linear_case(ssp3)
    ssp3 = lserk.SSP3(4)
    odes.check_linear_case(ssp3)
def test_ssp2_linear():
    ssp2 = lserk.SSP2()
    odes.check_linear_case(ssp2)
    ssp2 = lserk.SSP2(3)
    odes.check_linear_case(ssp2)
    ssp2 = lserk.SSP2(4)
    odes.check_linear_case(ssp2)
Пример #3
0
def test_irk2_linear():
    irk2 = irk.IRK2()
    odes.check_linear_case(irk2)
Пример #4
0
def test_crank_nicolson_linear():
    crank_nicolson = irk.CrankNicolson()
    odes.check_linear_case(crank_nicolson)
Пример #5
0
def test_backward_euler_linear():
    backward_euler = irk.BackwardEuler()
    odes.check_linear_case(backward_euler)
def test_imex3_linear():
    imex3 = imexrk.IMEX3()
    odes.check_linear_case(imex3)
def test_imex2_linear():
    imex2 = imexrk.IMEX2()
    odes.check_linear_case(imex2)
def test_imex1_linear():
    imex1 = imexrk.IMEX1()
    odes.check_linear_case(imex1)
def test_tvd_rk3_linear():
    tvd_rk3 = explicit_runge_kutta.TVDRK3()
    odes.check_linear_case(tvd_rk3)
def test_tvd_rk2_linear():
    tvd_rk2 = explicit_runge_kutta.TVDRK2()
    odes.check_linear_case(tvd_rk2)
def test_ssp_rk3_linear():
    ssp_rk3 = explicit_runge_kutta.SSPRK3()
    odes.check_linear_case(ssp_rk3)
def test_classic_rk4_linear():
    rk4 = explicit_runge_kutta.ClassicRK4()
    odes.check_linear_case(rk4)
def test_forward_euler_linear():
    forward_euler = explicit_runge_kutta.ForwardEuler()
    odes.check_linear_case(forward_euler)
def test_ssp4_linear():
    ssp4 = lserk.SSP4()
    odes.check_linear_case(ssp4)