Hello.
I'm also trying to simulate a time dependent structure, but I'm not clear
how to right down the appropriate .ctl file.
It is not clear to me who to define a new structure and initiating it using
(init-structure) and where/when to put the
meep-field-phase-in-material statement.
In addition when I added the following line in my file :
"(meep-field-phase-in-material fields structure 20)"
I got the following in the output : "ERROR: Unbound variable:
meep-field-phase-in-material"
Could someone help with an example and /or detailed explanation?
Thanks in Advance,
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