Hello Mehdi,

thanks for your suggestion. I was sure that my version was 1.6.8, but this
was in reality the version of Guile (obtained in the meep interactive mode
by the "(version)" command).

So at the end a too old version installed was the problem indeed. Now I
managed to install a version older than 1.0 and after the first tries it
seems working ok.

Iztok


> Hello Iztok
>
> Which version of meep do you use ?
> these variables for an anisotropic material has been added to meep from
> its
> 1.0 version. please read this link :
> http://ab-initio.mit.edu/wiki/index.php/Meep_release_notes
>
> sincerely yours
>
> Mehdi
>
> On Thu, Dec 16, 2010 at 8:30 PM,
> <[email protected]>wrote:
>
>> Send meep-discuss mailing list submissions to
>>        [email protected]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>> or, via email, send a message with subject or body 'help' to
>>        [email protected]
>>
>> You can reach the person managing the list at
>>        [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of meep-discuss digest..."
>>
>>
>> Today's Topics:
>>
>>   1. epsilon-diag: unbound variable error (Iztok Bajc)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 15 Dec 2010 19:44:03 +0100 (CET)
>> From: "Iztok Bajc" <[email protected]>
>> Subject: [Meep-discuss] epsilon-diag: unbound variable error
>> To: [email protected]
>> Message-ID:
>>        <[email protected]>
>> Content-Type: text/plain;charset=utf-8
>>
>> Dear Prof. Johnson and all,
>>
>> I've changed the code of the tutorial example ring.ctl in order to have
>> a
>> resonator made of anisotropic material, but I always get:
>>
>> ERROR: Unbound variable: epsilon-diag
>>
>> I really don't know what is wrong. My meep version is "1.6.8", so it
>> should be definitely new enough to support this utility.
>> I checked the manual and mailing list and found some related mails, but
>> nothing that could clear up (I hope I didn't make a trivial mistake).
>>
>> Thanks in advance for any help or suggestion.
>>
>> Best regards,
>> Iztok Bajc
>>
>>
>> ; Calculating 2d ring-resonator modes, from the Meep tutorial - adapted.
>> (define-param w 1) ; width of waveguide
>> (define-param r 1) ; inner radius of ring
>> (define-param pad 4) ; padding between waveguide and edge of PML
>> (define-param dpml 2) ; thickness of PML
>> (define sxy (* 2 (+ r w pad dpml))) ; cell size
>> (set! geometry-lattice (make lattice (size sxy sxy 10)))
>>
>> ; Create a ring waveguide by two overlapping cylinders - later objects
>> ; take precedence over earlier objects, so we put the outer cylinder
>> first. ; and the inner (air) cylinder second.
>> (set! geometry
>>          (make cylinder
>>                   (center 0 0 0)
>>                   (height 20)
>>                   (radius (+ r w))
>>                   (material (make dielectric (epsilon-diag  0.5 0.4 0.5)
>> (epsilon-offdiag 0.3 0.5 0.6) ) )
>>          )
>> )
>>
>> (exit)
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> meep-discuss mailing list
>> [email protected]
>> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>>
>> End of meep-discuss Digest, Vol 58, Issue 14
>> ********************************************
>>
> _______________________________________________
> 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