switch to meanas
This commit is contained in:
parent
a4dd031666
commit
4e0bd8b3c6
4
fdtd.py
4
fdtd.py
@ -17,7 +17,7 @@ from opencl_fdtd import Simulation
|
|||||||
from masque import Pattern, shapes
|
from masque import Pattern, shapes
|
||||||
import gridlock
|
import gridlock
|
||||||
import pcgen
|
import pcgen
|
||||||
import fdfd_tools
|
import meanas
|
||||||
|
|
||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
@ -228,7 +228,7 @@ def main():
|
|||||||
|
|
||||||
with lzma.open('saved_simulation', 'wb') as f:
|
with lzma.open('saved_simulation', 'wb') as f:
|
||||||
def unvec(f):
|
def unvec(f):
|
||||||
return fdfd_tools.unvec(f, grid.shape)
|
return meanas.unvec(f, grid.shape)
|
||||||
d = {
|
d = {
|
||||||
'grid': grid,
|
'grid': grid,
|
||||||
'E': unvec(sim.E.get()),
|
'E': unvec(sim.E.get()),
|
||||||
|
@ -12,7 +12,7 @@ import pyopencl
|
|||||||
import pyopencl.array
|
import pyopencl.array
|
||||||
from pyopencl.elementwise import ElementwiseKernel
|
from pyopencl.elementwise import ElementwiseKernel
|
||||||
|
|
||||||
from fdfd_tools import vec
|
from meanas import vec
|
||||||
|
|
||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
Loading…
Reference in New Issue
Block a user