Hi,

Probably simple, but I couldn't figure it out:
I'd like to execute a step function at the beginning of the run, but only if
a certain condition is met, i.e. I need to combine the at-beginning and
when-true.

I tried (in run-sources+):
(when-true cond? (at-beginning output-epsilon)) and (at-beginning (when-true
cond? output-epsilon))

but neither had worked.

I see there's combine-step-funcs, but I couldn't figure out how to use it.

Thx,
David
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to