Skip to content

Commit

Permalink
Update dt_utils test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed Feb 12, 2024
2 parents d9fea00 + 74fea52 commit afb4a0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_dt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ def test_wave_dt_estimate(actx_factory, dim, degree, tpe, visualize=False):

actx = actx_factory()

if tpe:
if dim == 1:
pytest.skip()

# {{{ cases

from meshmode.mesh import TensorProductElementGroup
Expand Down Expand Up @@ -224,6 +228,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 afb4a0d

Please sign in to comment.