コード例 #1
0
 def test_piecewise_constant_square(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.60411247160628478,
                                                      's',
                                                      mu_piecewise_constant,
                                                      0.05, [5, 6], [2, 1],
                                                      muw=1),
                     [1.5, 0.84628438, 16.92568751],
                     atol=1e-4)
コード例 #2
0
 def test_piecewise_constant(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.71017973670799939,
                                                      't',
                                                      mu_piecewise_constant,
                                                      0.05, [5, 6], [2, 1],
                                                      muw=1),
                     [1.5, 0.78755635, 15.75112704],
                     atol=1e-4)
コード例 #3
0
 def test_overlapping_linear(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.71017973670799939,
                                                      't',
                                                      mu_overlapping_linear,
                                                      0.05,
                                                      5,
                                                      2,
                                                      muw=1),
                     [1.61711464, 0.84904594, 16.9809188],
                     atol=1e-4)
コード例 #4
0
 def test_ideal(self):
     assert_allclose(back_calc_drain_spacing_from_eta(1.0680524125462512,
                                                      't',
                                                      mu_ideal,
                                                      0.05,
                                                      5,
                                                      2,
                                                      muw=1),
                     [1.5, 0.78755635, 15.75112704],
                     atol=1e-4)
コード例 #5
0
ファイル: test_smear_zones.py プロジェクト: mikyes/geotecha
 def test_overlapping_linear(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.71017973670799939, 't',
                         mu_overlapping_linear,
                         0.05, 5, 2, muw=1),
                         [  1.61711464,   0.84904594,  16.9809188 ],
                         atol=1e-4)
コード例 #6
0
ファイル: test_smear_zones.py プロジェクト: mikyes/geotecha
 def test_piecewise_constant_square(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.60411247160628478, 's',
                         mu_piecewise_constant,
                         0.05, [5, 6], [2, 1], muw=1),
                         [  1.5       ,   0.84628438,  16.92568751],
                         atol=1e-4)
コード例 #7
0
ファイル: test_smear_zones.py プロジェクト: mikyes/geotecha
 def test_piecewise_linear(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.71017973670799939, 't',
                         mu_piecewise_linear,
                         0.05, [1,5,5], [2,2, 1], muw=1),
                         [  1.5       ,   0.78755635,  15.75112704],
                         atol=1e-4)
コード例 #8
0
ファイル: test_smear_zones.py プロジェクト: mikyes/geotecha
 def test_constant(self):
     assert_allclose(back_calc_drain_spacing_from_eta(0.71017973670799939, 't', mu_constant,
                         0.05, 5, 2, muw=1),
                         [  1.5       ,   0.78755635,  15.75112704],
                         atol=1e-4)
コード例 #9
0
ファイル: test_smear_zones.py プロジェクト: mikyes/geotecha
 def test_ideal(self):
     assert_allclose(back_calc_drain_spacing_from_eta(1.0680524125462512, 't', mu_ideal,
                         0.05, 5, 2, muw=1),
                         [  1.5       ,   0.78755635,  15.75112704],
                         atol=1e-4)