svenreiche / Genesis-1.3-Version4

Time-dependent, 3D Code to simulate the amplification process of a Free-electron Laser.
GNU General Public License v3.0
54 stars 27 forks source link

Add Beam "energymin" and "energymax" to main output #102

Closed ChristopherMayes closed 1 year ago

ChristopherMayes commented 1 year ago

It is useful to see the minimum and maximum particle energy in the main output. Could we add:

Describe alternatives you've considered The only alternative is to dump particles on regular intervals and inspect them, which is slow.

svenreiche commented 1 year ago

I will add them soon since it is rather easy to implement.

svenreiche commented 1 year ago

Minimum and maximum value for x,px,y,py and energy have been added to the output. For large files this output can be suppresed with enable_aux_output = False in the main setup deck. The addition is in the current dev branch but will be transferred to the master branch with a new release.