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
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

