Hi! I am working with meep in the C++ interface. Still I am working with a plane wave of perpendicular incidence and calculate fields and absorption for every wavelength. For the scheme-Interface, there are several suggested implementations of oblique angles and dispersive materials (like this one: http://www.mail-archive.com/[email protected]/msg00697.html ), but with the C++ interface a few questions remain.
How can I implement the amplitude function my-amp to my source (volume source)? There is a custom source "custom_src_time" in meep.hpp but just concerning the time. Concerning the dispersive materials I will use: structure s(v,monolayer,pml(0.5,Z)); s.add_polarizability(sigma, 0.3, 0.1); Is it possibile to use more than one oscillator in this Drude-lorentz-model? Maybe with another s.add_polarizability ? If I want to output fields afterwards, how do I get the certain frequencies back? Thanks for your answers! André ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

