You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to run an opal sim with that input file, it fails silently almost immediately. If I subtract the mean(z) from that value, it works OK, but that probably isn't the right thing to do.
The text was updated successfully, but these errors were encountered:
- 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?
When I use switchyard to convert output from an elegant sim to opal, it looks like the z value isn't what opal expects.
For example, using this elegant output file (from the Sirepo Los Alamos Proton Storage Ring example).
run_setup.output.sdds.gz
If I look at the first lines of opal.dat, the z value is around 139.36, rather than something closer to 0.
If I try to run an opal sim with that input file, it fails silently almost immediately. If I subtract the mean(z) from that value, it works OK, but that probably isn't the right thing to do.
The text was updated successfully, but these errors were encountered: