Hi Ben,
I think what you want is possible with the ctl interface.
I made a simple example based on a dielectric waveguide, and some
contrived polarization values, and functions which vary both the
permittivity and the sigma with respect to position.
http://pastebin.com/f10731e93
I'm assuming that my example works because it runs and gives me an end
result, but I haven't actually investigated whether the values of
epsilon and sigma change as a function of position.
Best Regards,
Matt
On Fri, 12 Oct 2007, Benjamin M. Schwartz wrote:
> matt wrote:
>> You proably want to evaluate what you want sigma to be higher up in
>> make-mat-from-eps-and-sigma. Instead of calling
>> make-polarizability-from-conductivity and passing it a function, you
>> only pass a single sigma value.
>
> Unfortunately, this is not the case. My goal is specifically to describe a
> material in which the electrical conductivity and permittivity vary
> continuously
> with position. Due to Meep's architecture, it is not possible to generate a
> new
> polarizability at each location. Instead, we are intended to use the sigma
> function to generate a single polarizability object whose behavior depends on
> position. If sigma is not meant to be passed as a function, then sigma and
> delta-epsilon are entirely redundant.
>
> Is this a bug, either in documentation or in implementation?
>
> - --Ben
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss