In my hands, using the 5th Jan development code commit on Arch Linux, an
error:

TypeError: __init__() got an unexpected keyword argument 'progress_interval'

results, if I include an assignment to progress_interval in the
simulation definition:

sim=mp.Simulation(cell_size=cell,
                  sources=[source1, source2],
                  boundary_layers=pml,
                  resolution=res,
                  force_complex_fields=True,
                  progress_interval=100
)

All is well if I comment out that line & the preceding comma.

Is this a bug or does it need a different syntax?

Thanks,

Ian


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to