Hello Prof Steven and all Meepers,

I am writing my code in c++ and have trouble in trying to output field. I do
not know how to set the simulation time and tell meep that field needs to be
output at regular time steps, which is done in libctl using the following
syntax

(run-until 200
           (at-beginning output-epsilon)
           (to-appended "ez" (at-every 0.6 output-efield-z)))

How would you code the above in c++ ?  I am quite new to c++, thus would
really value if someone could help me with this.

thanks
Geeth
_______________________________________________
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