Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read laser from openPMD file #844

Open
4 tasks
MaxThevenet opened this issue Jan 4, 2023 · 0 comments
Open
4 tasks

Read laser from openPMD file #844

MaxThevenet opened this issue Jan 4, 2023 · 0 comments
Labels
component: laser envelope About the laser envelope solver

Comments

@MaxThevenet
Copy link
Member

MaxThevenet commented Jan 4, 2023

We currently support generating a Gaussian laser profile. Rather than implementing all complex profiles (flattened Gaussian etc.) in C++, let's have the capability to read from an openPMD file. This will be easier for advanced analytic profiles (that can then be generated in Python) and will enable arbitrary profiles, e.g. from another simulation.

At the moment, let's focus on the simple case where the input file contains the 3D profile with 1 array of complex numbers, and adopt the conventions at https://github.com/openPMD/openPMD-standard/blob/a6e997c025f4a7c564e077324c88fcc9e2dead0d/EXT_LaserEnvelope.md.

Suggested steps:

  • Input a 3D file and run the simulation with the same resolution.
  • The input file can have a different resolution
  • Also support 2D (axisymmetric) arrays
  • Same thing with azimuthal decomposition
@MaxThevenet MaxThevenet added the component: laser envelope About the laser envelope solver label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: laser envelope About the laser envelope solver
Projects
None yet
Development

No branches or pull requests

1 participant