-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add fnal booster input files #408
base: development
Are you sure you want to change the base?
Conversation
- Modified the initial beam size in the IOTA lens benchmark example. - Added 2 benchmarks of 3D space charge for initial testing. - Add documentation for 2 benchmarks with space charge. - Add a benchmark example with space charge and periodic s-dependent focusing. - Added an s-dependent example using a Kurth beam without space charge. - Modified tolerance for IOTA lens benchmark example. Reduced tolerance to account for smaller initial beam size and improved preservation of invariants of motion. - Modified tolerances of space charge examples to allow CI tests to pass when space charge is not active. - Modified tolerance for space charge examples. These should fail unless space charge is turned on.
Selected numerical values for amr.n_cell, lattice.nslice, and geometry.prob_relative.
This is not part of this PR.
for more information, see https://pre-commit.ci
Parse all elements. Co-authored-by: Chad Mitchell <[email protected]>
for more information, see https://pre-commit.ci
# Basic function for parsing a single element | ||
|
||
|
||
def parse_one_group(element, key): |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note test
if match: | ||
return match.group(key).strip() | ||
else: | ||
None |
Check notice
Code scanning / CodeQL
Statement has no effect Note test
for more information, see https://pre-commit.ci
Old file, deleted and replaced by file of a similar name.
There are a large number of MAD-X files here that are not used by ImpactX. Here, we use only the SXF file. I am tempted to delete these for clarity, and keep them on the Google Drive for later use by us if needed. |
for more information, see https://pre-commit.ci
Delete unused files.
Delete unused files.
Delete unused files.
Delete unused files.
Delete unused files.
Add dipedge rotation tilt to lattice file.
for more information, see https://pre-commit.ci
Convert thin dipole bend angle to degrees.
for more information, see https://pre-commit.ci
Include SXF file for ctest runs.
for more information, see https://pre-commit.ci
Correct fnal_booster dir name for ctest
Adjusting supplementary file path for ctest.
Correct ThinDipole bend angle to reflect input degrees.
Correct index of multipole coefficients (+1).
for more information, see https://pre-commit.ci
Modify ThinDipole and DipEdge parameters to set unknown parameters to reasonable default values.
for more information, see https://pre-commit.ci
Modified initial beam moments to match 1) emittance in MADX initial input line & 2) sigx, sigy from initial space charge element in SXF input.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Modified filenames for input and SXF files in CMakeLists.txt
Deleted obsolete version of input file.
# Basic function for parsing a single element | ||
|
||
|
||
def parse_one_group(element, key): |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
if match: | ||
return match.group(key).strip() | ||
else: | ||
None |
Check notice
Code scanning / CodeQL
Statement has no effect Note
Correct sxf filename.
Update sigma -> lambda
Reduced the number of particles to 10,000 for CI tests.
for more information, see https://pre-commit.ci
Added MAD-X + SXF input files for a reduced thin-multipole model of the Fermilab Booster lattice for space charge studies in ImpactX. For this simplified example, space charge is turned off. A follow-up PR will include the corresponding example with space charge turned on.
Contains a placeholder draft of a script for parsing the SXF input file (testparse.py), to be developed.
fermi-booster-madx-sxf_corr_new
(1.4MB text) to ZenodoComplete data located on Zenodo: https://doi.org/10.5281/zenodo.11645618