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

Skip to content

Conversation

vkbo
Copy link
Member

@vkbo vkbo commented Aug 8, 2019

This PR moves the linopt routines to a new module, and also the input parsing for it.

This is extracted from my scatter branch as I there inject code to extract twiss parameters from writelin. I want to add some additional features to this module later to save these parameters for specific elements. This is needed both in Scatter and in Collimation.

Note: I needed to edit the include files used for the solenoid, and noticed that the three of them were always included in sequence, so I just merged them to one file.

@vkbo vkbo requested review from rdemaria, kyrsjo and amereghe August 8, 2019 17:42
@kyrsjo
Copy link
Member

kyrsjo commented Aug 13, 2019

Could you add header to the output file as well?

@vkbo
Copy link
Member Author

vkbo commented Aug 14, 2019

Updates:

There was a region where the indentation was one step out, so fixed that. Also renamed fort.34 to a more sensible file name. It now has a header, but I did not add a header to former fort.11 (coupled parameters file) because I don't really know what everything is.

I also cleaned up the printout a little bit.

@vkbo vkbo merged commit a2ee68f into SixTrack:master Aug 14, 2019
@vkbo vkbo deleted the linopt_module branch August 29, 2019 13:34
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