From 74fea5201b1091dba5e5886ee751fd6673a1d368 Mon Sep 17 00:00:00 2001 From: Mike Campbell Date: Mon, 12 Feb 2024 15:50:02 -0600 Subject: [PATCH] Skip 1d dt test for tpe, debugging print. --- test/test_dt_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_dt_utils.py b/test/test_dt_utils.py index 884aa4f78..d9ea7aef8 100644 --- a/test/test_dt_utils.py +++ b/test/test_dt_utils.py @@ -180,6 +180,8 @@ def test_wave_dt_estimate(actx_factory, dim, degree, tpe, visualize=False): from grudge.array_context import TensorProductArrayContext if tpe: + if dim == 1: + pytest.skip() ctx = cl.create_some_context() queue = cl.CommandQueue(ctx) actx = TensorProductArrayContext(queue) @@ -239,6 +241,7 @@ def test_wave_dt_estimate(actx_factory, dim, degree, tpe, visualize=False): RK4MethodBuilder.output_coeffs)) dt_est = actx.to_numpy(wave_op.estimate_rk4_timestep(actx, dcoll)) + print(f"{dt_est=}") if visualize: re, im = np.mgrid[-4:1:30j, -5:5:30j]