vec/unvec live in meanas.fdmath

lethe/LATEST
Jan Petykiewicz 3 years ago
parent 1403b9e1a3
commit 4c81f33d05

@ -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()),

@ -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])

Loading…
Cancel
Save