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

three switchyard changes #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

three switchyard changes #48

wants to merge 1 commit into from

Conversation

moellep
Copy link
Member

@moellep moellep commented May 26, 2023

  • when writing opal input distribution, center particles z at 0, for switchyard from elegant to opal z value #47
  • when extracting opal total_charge, get value from array, otherwise it appears in GENESIS file as "CHARGE = [...]"
  • use abs(total_charge) for GENESIS input file, GENESIS doesn't seem to support negative CHARE values?

@cchall I need changes similar to this to support running elegant to opal sims, and opal to genesis sims. Feel free to directly change this branch if it isn't correct.

- when writing opal input distribution, center particles z at 0, for #47
- when extracting opal total_charge, get value from array, otherwise it
  appears in GENESIS file as "CHARGE = [...]"
- use abs(total_charge) for GENESIS input file, GENESIS doesn't seem to support negative values?
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.

1 participant