def test_ssp3_steady_state():
    ssp3 = lserk.SSP3()
    odes.check_steady_state_case(ssp3)
    ssp3 = lserk.SSP3(3)
    odes.check_steady_state_case(ssp3)
    ssp3 = lserk.SSP3(4)
    odes.check_steady_state_case(ssp3)
def test_ssp2_steady_state():
    ssp2 = lserk.SSP2()
    odes.check_steady_state_case(ssp2)
    ssp2 = lserk.SSP2(3)
    odes.check_steady_state_case(ssp2)
    ssp2 = lserk.SSP2(4)
    odes.check_steady_state_case(ssp2)
Exemplo n.º 3
0
def test_backward_euler_steady_state():
    backward_euler = irk.BackwardEuler()
    odes.check_steady_state_case(backward_euler)
Exemplo n.º 4
0
def test_irk2_steady_state():
    irk2 = irk.IRK2()
    odes.check_steady_state_case(irk2)
Exemplo n.º 5
0
def test_crank_nicolson_steady_state():
    crank_nicolson = irk.CrankNicolson()
    odes.check_steady_state_case(crank_nicolson)
def test_imex1_steady_state():
    imex1 = imexrk.IMEX1()
    odes.check_steady_state_case(imex1)
def test_imex3_steady_state():
    imex3 = imexrk.IMEX3()
    odes.check_steady_state_case(imex3)
def test_imex2_steady_state():
    imex2 = imexrk.IMEX2()
    odes.check_steady_state_case(imex2)
def test_tvd_rk3_steady_state():
    tvd_rk3 = explicit_runge_kutta.TVDRK3()
    odes.check_steady_state_case(tvd_rk3)
def test_ssp_rk3_steady_state():
    ssp_rk3 = explicit_runge_kutta.SSPRK3()
    odes.check_steady_state_case(ssp_rk3)
def test_classic_rk4_steady_state():
    rk4 = explicit_runge_kutta.ClassicRK4()
    odes.check_steady_state_case(rk4)
def test_forward_euler_steady_state():
    forward_euler = explicit_runge_kutta.ForwardEuler()
    odes.check_steady_state_case(forward_euler)
def test_ssp4_steady_state():
    ssp4 = lserk.SSP4()
    odes.check_steady_state_case(ssp4)