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

tests: tweak to be faster

parent 5ff5a0e1
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ def test_selfcons_kupriyanov(request, T):
Delta0 = BCS_Delta(T, Tc0)
Delta00 = BCS_Delta(0.05, Tc0)
sol = example_sns_1d(0, L, nx=100, ny=1, Delta0=Delta0)
sol = example_sns_1d(0, L, nx=40, ny=1, Delta0=Delta0)
sol.Ly = 1
phase_mask = (sol.mask == MASK_TERMINAL) & (sol.x[:, None] > 0)
......@@ -215,8 +215,8 @@ def test_selfcons_kupriyanov(request, T):
T_c0=Tc0,
phase_mask=phase_mask,
filename=cache_fn,
tol=1e-6,
workers=-1,
ds=0.4,
)
phis, Deltas, Js = res
......@@ -236,7 +236,7 @@ def test_selfcons_kupriyanov(request, T):
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
......
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