vec/unvec live in meanas.fdmath

This commit is contained in:
Jan Petykiewicz 2021-07-11 17:35:25 -07:00
parent 1403b9e1a3
commit 4c81f33d05
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ def main():
with lzma.open('saved_simulation', 'wb') as f:
def unvec(f):
return meanas.unvec(f, grid.shape)
return meanas.fdmath.unvec(f, grid.shape)
d = {
'grid': grid,
'E': unvec(sim.E.get()),

View File

@ -48,7 +48,7 @@ class Simulation(object):
event.wait()
with lzma.open('saved_simulation', 'wb') as f:
dill.dump(fdfd_tools.unvec(sim.E.get(), grid.shape), f)
dill.dump(meanas.fdmath.unvec(sim.E.get(), grid.shape), f)
Code in the form
event2 = sim.update_H([event0, event1])