Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

amereghe
Copy link
Contributor

@amereghe amereghe commented Apr 18, 2019

This PR is a continuation of PR #839 - separated, though, not to mix modifications necessary by fox with other stuff.

Changes:

  • write statements involving exponential notation are all converted to 1pe22.15;
  • remaining signs of chebyshev maps in elens module have been removed;
  • gamma_electron added to computation of kick by elens. Documentation and tests updated accordingly;
  • fixing plotting scripts and plots of radial integrated currents and kicks of elenses with measured radial profiles; fix in SixTrack code will actually come with PR foxifying e-lenses #839, where it was found and fixed immediately in order not to forget to do it;
  • elens module fully dynamic allocatable;
  • give possibility to express R_1 and R_2 in sigma;
  • add any ion species to be defined as possible lens beam;
  • perform checks on sensible values of R_1 and R_2, eg they fall inside the domain of the ASCII map;
  • review plots of tests and optimise storage space in git;

A change in the printout format of dynkset.dat was necessary - hence, all the tests with this file among the extra checks have been updated.

@amereghe
Copy link
Contributor Author

Hi @vkbo ,
have you implemented the generalised storage of optics functions at specific elements?

I am implementing in the elens module the fact of specifying R1 and R2 in normalised units, hence this functionality would be really beneficial for me.

Thanks!

@amereghe amereghe changed the title WIP: more elens changes more elens changes Feb 11, 2020
Copy link
Member

@vkbo vkbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looked at the parsing and such, so my review is not a full review.

@amereghe
Copy link
Contributor Author

Hi @vkbo ,
I have applied all the changes you have requested. Hope the code is fine, now
Cheers,
A.

@amereghe amereghe merged commit 54ee9d8 into SixTrack:master Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants