From 4e0bd8b3c61a2d7de30b95735ad81b0a4b28517f Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 16 Oct 2020 19:32:22 -0700 Subject: [PATCH] switch to meanas --- fdtd.py | 4 ++-- opencl_fdtd/simulation.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fdtd.py b/fdtd.py index da47177..37f70f9 100644 --- a/fdtd.py +++ b/fdtd.py @@ -17,7 +17,7 @@ from opencl_fdtd import Simulation from masque import Pattern, shapes import gridlock import pcgen -import fdfd_tools +import meanas __author__ = 'Jan Petykiewicz' @@ -228,7 +228,7 @@ def main(): with lzma.open('saved_simulation', 'wb') as f: def unvec(f): - return fdfd_tools.unvec(f, grid.shape) + return meanas.unvec(f, grid.shape) d = { 'grid': grid, 'E': unvec(sim.E.get()), diff --git a/opencl_fdtd/simulation.py b/opencl_fdtd/simulation.py index cfd4a0a..b708411 100644 --- a/opencl_fdtd/simulation.py +++ b/opencl_fdtd/simulation.py @@ -12,7 +12,7 @@ import pyopencl import pyopencl.array from pyopencl.elementwise import ElementwiseKernel -from fdfd_tools import vec +from meanas import vec __author__ = 'Jan Petykiewicz'