Skip to content

Commit

Permalink
Skip 1d dt test for tpe, debugging print.
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed Feb 12, 2024
1 parent a4dd3f0 commit 74fea52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_dt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 74fea52

Please sign in to comment.