Skip to content

Commit

Permalink
Reduce test cases for debug testing
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Sep 11, 2023
1 parent 82169f6 commit 330b434
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions benchmarks/run_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,51 +82,51 @@
['dijkstra_distance_test'],
'',
'd = dijkstra_distance_test()'),
TestInfo('Euler',
'euler_mod.py',
['euler_humps_test'],
'',
'err = euler_humps_test(0., 2000., 1000000)'),
TestInfo('Midpoint Explicit',
'midpoint_explicit_mod.py',
['midpoint_explicit_humps_test'],
'',
'err = midpoint_explicit_humps_test(0., 2000., 1000000)'),
TestInfo('Midpoint Fixed',
'midpoint_fixed_mod.py',
['midpoint_fixed_humps_test'],
'',
'err = midpoint_fixed_humps_test(0., 2000., 1000000)'),
TestInfo('RK4',
'rk4_mod.py',
['rk4_humps_test'],
'',
'err = rk4_humps_test(0., 2000., 1000000)'),
TestInfo('FD - L Convection',
'linearconv_1d_mod.py',
['linearconv_1d'],
'',
'x, u = linearconv_1d(2001, 0.0003, 3000)'),
TestInfo('FD - NL Convection',
'nonlinearconv_1d_mod.py',
['nonlinearconv_1d'],
'',
'x, u = nonlinearconv_1d(2001, 0.00035, 3000)'),
TestInfo('FD - Poisson',
'poisson_2d_mod.py',
['poisson_2d'],
'',
'x, y, phi = poisson_2d(150, 150, 200)'),
TestInfo('FD - Laplace',
'laplace_2d_mod.py',
['laplace_2d'],
'',
'x, y, phi, niter = laplace_2d(150, 150, 5e-5, 5000)'),
TestInfo('M-D',
'md_mod.py',
['md'],
'',
'p, k = md(3, 100, 200, 0.1)'),
#TestInfo('Euler',
# 'euler_mod.py',
# ['euler_humps_test'],
# '',
# 'err = euler_humps_test(0., 2000., 1000000)'),
#TestInfo('Midpoint Explicit',
# 'midpoint_explicit_mod.py',
# ['midpoint_explicit_humps_test'],
# '',
# 'err = midpoint_explicit_humps_test(0., 2000., 1000000)'),
#TestInfo('Midpoint Fixed',
# 'midpoint_fixed_mod.py',
# ['midpoint_fixed_humps_test'],
# '',
# 'err = midpoint_fixed_humps_test(0., 2000., 1000000)'),
#TestInfo('RK4',
# 'rk4_mod.py',
# ['rk4_humps_test'],
# '',
# 'err = rk4_humps_test(0., 2000., 1000000)'),
#TestInfo('FD - L Convection',
# 'linearconv_1d_mod.py',
# ['linearconv_1d'],
# '',
# 'x, u = linearconv_1d(2001, 0.0003, 3000)'),
#TestInfo('FD - NL Convection',
# 'nonlinearconv_1d_mod.py',
# ['nonlinearconv_1d'],
# '',
# 'x, u = nonlinearconv_1d(2001, 0.00035, 3000)'),
#TestInfo('FD - Poisson',
# 'poisson_2d_mod.py',
# ['poisson_2d'],
# '',
# 'x, y, phi = poisson_2d(150, 150, 200)'),
#TestInfo('FD - Laplace',
# 'laplace_2d_mod.py',
# ['laplace_2d'],
# '',
# 'x, y, phi, niter = laplace_2d(150, 150, 5e-5, 5000)'),
#TestInfo('M-D',
# 'md_mod.py',
# ['md'],
# '',
# 'p, k = md(3, 100, 200, 0.1)'),
]

if verbose:
Expand Down

0 comments on commit 330b434

Please sign in to comment.