From 4b032dc3d01bceb3748c68f0174e6a532a62964c Mon Sep 17 00:00:00 2001
From: Thomas Gibson <gibsonthomas1120@hotmail.com>
Date: Wed, 2 Jun 2021 14:25:53 -0500
Subject: [PATCH] Use dt estimator in Maxwell convergence test

---
 test/test_grudge.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_grudge.py b/test/test_grudge.py
index 83b084b4..cf3064db 100644
--- a/test/test_grudge.py
+++ b/test/test_grudge.py
@@ -850,7 +850,7 @@ def test_convergence_maxwell(actx_factory,  order):
         def rhs(t, w):
             return maxwell_operator.operator(t, w)
 
-        dt = 0.002
+        dt = maxwell_operator.estimate_rk4_timestep(dcoll)
         final_t = dt * 5
         nsteps = int(final_t/dt)
 
-- 
GitLab