From 935b2c9a80a3f31fa36ee561204d431e76ac524f Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 17 Jul 2019 00:51:13 -0700 Subject: [PATCH] remove extra dt --- fdfd_tools/fdtd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdfd_tools/fdtd.py b/fdfd_tools/fdtd.py index bc52e45..15b5635 100644 --- a/fdfd_tools/fdtd.py +++ b/fdfd_tools/fdtd.py @@ -292,7 +292,7 @@ def delta_energy_h2e(dt, e0, h1, e2, h3, epsilon=None, mu=None, dxes=None): """ de = e2 * (e2 - e0) / dt dh = h1 * (h3 - h1) / dt - du = dt * dxmul(de, dh, epsilon, mu, dxes) + du = dxmul(de, dh, epsilon, mu, dxes) return du