Hello.
I would like to point out to a typo of great significance:
the right name for the mentioned SWIG interface function is: 
meep-fields-phase-in-material
and not: meep-field-phase-in-material (fields with an 's' in the end).
(It is expected if one knows that the class's type name is fields (not 
field) but anyway).
I am still not clear about how to use this function and would appreciate 
help (& examples)  very much.
Regards,
    Michael Shlafman.

----- Original Message ----- 
From: "Steven G. Johnson" <[EMAIL PROTECTED]>
To: "AJ Cressman" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Monday, October 08, 2007 18:50
Subject: Re: [Meep-discuss] Time Dependent Structure


> 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 


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

Reply via email to