Hi! 

 I am interested in the same question (How to setup a inhomogeneous and 
anisotropic material?) so let me know if you have any success. At this moment I 
am trying to understand is it possible to override (or change) 
anisotropic_averaging.cpp, as far as it 
describes how to set individual anisotropic chi1inv (void 
structure_chunk::set_chi1inv) for each point of the grid.

Best regards,
Konstantin Ladutenko

>
>Message: 1
>Date: Fri, 18 Feb 2011 08:40:38 +0800
>From: "Zong-Han, Xie" <[email protected]>
>Subject: [Meep-discuss] How to setup a inhomogeneous and anisotropic
>material and a space-time dependent wave source???
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="big5"
>
>Dear all
>I am recently studying uniaxial materials such as liquid crystals. In
>order to simulate such materials in 2D or 3D, I need to setup an epsilon
>tensor distribution over my simulatin space and no dispersion is
>considered right now. I checked the mailing-list and I found I need to
>declare asubclass of material_function and override eff_chi1inv_row
>under meep c++ interface. My first question is when I override
>eff_chi1inv_row function, how do I get a coordinate in that function?
>Does coordinate information pass into this function through "const
>volume &v" parameters?
>Another question of mine is how to setup up a space-time dependent wave
>source. I checked the maling-list and I found that I need to use
>"add_volume_source" to specify a non-point source. However, all the
>source functions built in Meep only depend on time not on spacial
>coordinate. How do I make a space-time dependent sourceunder c++
>interfaceby my own???
>
>Best regard
>Zong-Han. Xie
>Engineer
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20110218/0d1f7da2/attachment.html>
>
>------------------------------
>
>_______________________________________________
>meep-discuss mailing list
>[email protected]
>http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
>End of meep-discuss Digest, Vol 60, Issue 18
>********************************************



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

Reply via email to