Dear meep users,
i am trying to create linear ex source in 2D with a parabolic phase
modulation. For this I setup the source like shown here in 'main':
continuous_src_time src(freq, fwidth);
geometric_volume src_plane(vec(0.5,2),vec(19.5,2));
f.add_volume_source(Ex,src,src_plane,one,1.0);
Earlier I define the function 'one' that should create the phase modulation:
complex<double> one (const vec &p) {
return ((cos(p.x()*p.x())),sin(p.x()*p.x()));// make parabolic profile
according to (e^(i*x^2)) !!!!!!!!!THIS IS THE LINE
}
however, this function only modulates the real part of the amplitude.
It would be great if anybody could help with this issue.
Thanks a lot!
Best, Moritz
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss