In the C++ interface, there is a function field::phase_in_material(const 
structure *s, double time) that does this.  It continuously changes from 
the current structure to the new one (s) over the given time, by linear 
interpolation.  (Give a time=0 to change discontinously, but usually 
abrupt changes are not a good idea.)

This can be called from the .ctl interface, of course, like all the C++ 
functions, via (meep-field-phase-in-material fields structure time) where 
structure is a new structure you have initialized by calling 
init-structure.

Steven

On Fri, 5 Oct 2007, AJ Cressman wrote:
> I'm trying to find a way to make my structure change its epsilon after a
> certain time; I've searched the archives, but all I can find are some
> hints that it can be done.  Could anyone point me in the right direction?

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

Reply via email to