Skip to content
Snippets Groups Projects
Commit 50443299 authored by patavirt's avatar patavirt
Browse files

tests: fixup

parent 0b3d923c
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ def test_example_sns_1d_J_usadel1(): ...@@ -94,7 +94,7 @@ def test_example_sns_1d_J_usadel1():
def test_example_sss_1d_J_usadel1(): def test_example_sss_1d_J_usadel1():
Lx = 10 Lx = 10
phi = pi / 2 phi = pi / 2
sol = example_sns_1d(phi, Lx, nx=30) sol = example_sns_1d(phi, 30 * Lx / (30 - 2), nx=30)
sol.Ly = 1 sol.Ly = 1
T_c0 = np.exp(np.euler_gamma) / np.pi T_c0 = np.exp(np.euler_gamma) / np.pi
...@@ -240,7 +240,7 @@ def test_selfcons_kupriyanov(request, T): ...@@ -240,7 +240,7 @@ def test_selfcons_kupriyanov(request, T):
Imax = abs(Is_u).max() Imax = abs(Is_u).max()
assert curve_separation(phis, Is, phis_u, Is_u) < 0.025 * Imax assert curve_separation(phis, Is, phis_u, Is_u) < 0.04 * Imax
assert curve_separation(phis, Is, phis_k, Is_k) < 0.075 * Imax assert curve_separation(phis, Is, phis_k, Is_k) < 0.075 * Imax
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment