You need (meep-time) to get  the current simulation time (see
http://ab-initio.mit.edu/wiki/index.php/Meep_Reference).

2015-07-14 0:04 GMT+04:00 Steve <[email protected]>:

> Dear Steven and Meep users,
>
> Does Meep make the current simulation time available to the user? If so,
> what is the name of that parameter?
>
> The alternative is to use t = 0 to start, calculate dt and propagate
> like (set! t (+ t dt)) or something similar.
>
> This question is in the context of custom-src, where I want to turn off
> the Gaussian after a run specific number of periods of the drive center
> frequency. I need to see the behavior of the fields in my very high Q
> resonate cavity when the source is cut off but time stepping until the
> cavity reaches saturation is out of the question.
>
> And if someone has a custom source like that, would you mind sharing it
> with me?
>
> Steve
>
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to