Skip to content

three switchyard changes#48

Open
moellep wants to merge 1 commit intomasterfrom
47-switchyard-changes
Open

three switchyard changes#48
moellep wants to merge 1 commit intomasterfrom
47-switchyard-changes

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