diff --git a/tests/test_solver.py b/tests/test_solver.py index 1861ee1db2804e6f388b2eaa4540bf198da2a41a..11db396c133f92d62a2a6b9984b8213299e35b85 100644 --- a/tests/test_solver.py +++ b/tests/test_solver.py @@ -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