示例#1
0
def test_logy():
    check_rd_integration_run(decay.integrate_rd, 300, logy=True, small=1e-20)
示例#2
0
def test_linear():
    check_rd_integration_run(decay.integrate_rd)
示例#3
0
def test_logy_logt():
    check_rd_integration_run(decay.integrate_rd, 500, rtol='1e-10', logy=True,
                             logt=True, small=1e-20, t0=1e-70)
    check_rd_integration_run(decay.integrate_rd, 500, tend=4.0, rates='1.0',
                             atol='1e-6', rtol='1e-13', logy=True, logt=True,
                             small=1e-20, t0=1e-40)
示例#4
0
def test_logy_tweak():
    check_rd_integration_run(decay.integrate_rd, 20, rtol='1e-11', logy=True,
                             small=1e-6)
示例#5
0
def test_logt():
    check_rd_integration_run(decay.integrate_rd, 30, logt=True)
示例#6
0
def test_logy():
    check_rd_integration_run(equilibrium.integrate_rd, 30, logy=True)
示例#7
0
def test_logy_logt():
    check_rd_integration_run(equilibrium.integrate_rd, 40, rtol='1e-10',
                             logy=True, logt=True)
    check_rd_integration_run(equilibrium.integrate_rd, 20, tend=2.0,
                             atol='1e-6', rtol='1e-13', logy=True, logt=True)
示例#8
0
def test_logt():
    check_rd_integration_run(equilibrium.integrate_rd, 10, logt=True)
示例#9
0
def test_linear():
    check_rd_integration_run(equilibrium.integrate_rd)