Hi, I am trying to add dispersion to Meep's C++ interface.
In Meep tutorial there is an example about dispersion: s.add_polarizability (one, 0.4, 0.01, 27.63); There is no matching function in C++ class: meep::structure::add_polarizability ( double sigmaconst vec &, field_type ft, double omega, double gamma ) My questions: 1. Is is fine to define polarization in this form: s.add_polarizability (sigmaN, E_stuff, .4, 0.01) 2. field_type can be E_stuff, H_stuff, D_stuff, B_stuff, PE_stuff, PH_stuff. But we only have two types of polarization (Magnetic(H-polarizations) and Electric(E-polarizations )), so why these types are defined here. Thanks, Joe
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

