Thank you very much, Ian. I'm going to perform your suggestions.

El sáb., 31 oct. 2020 a las 15:06, Ian Sage (<i...@sage.myzen.co.uk>)
escribió:

> You just need to apply an amp_func function to your source, with an
> appropriate spatial profile. The function takes as argument a vector giving
> the spatial offset from the centre of the source, allowing you to specify a
> scaled exponential fall-off from the centre. You can also return a complex
> amplitude to spatially vary the phase and steer the beam.
>
> It's pretty well covered in the documentation.
>
> Ian
> On 31/10/2020 16:20, Alfredo Daniel Sánchez wrote:
>
> Hello everybody!
>
> I realized that the GaussianBeamSource class is not defined in my meep
> package. It is possible that it does'n exist anymore? In that case, how can
> I generate one?
>
> Best regards,
>
> Alfredo.
>
> _______________________________________________
> meep-discuss mailing 
> listmeep-disc...@ab-initio.mit.eduhttp://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to