picmi-standard / picmi

Standard input format for Particle-In-Cell codes
https://picmi.readthedocs.io
Other
35 stars 25 forks source link

Analytic laser #20

Closed dpgrote closed 4 years ago

dpgrote commented 4 years ago

This adds the AnalyticLaser class that allows adding a laser with the profile described by an analytic expression.

LDAmorim commented 4 years ago

Thanks for the changes and the assert messages. Will you add the analytical option also to the Docs?

dpgrote commented 4 years ago

I also went ahead and added the name option to the lasers since it was a small enough change.