Skip to content

Add PIP-II linac#385

Open
cemitch99 wants to merge 9 commits intoBLAST-ImpactX:developmentfrom
cemitch99:add_pipii_linac
Open

Add PIP-II linac#385
cemitch99 wants to merge 9 commits intoBLAST-ImpactX:developmentfrom
cemitch99:add_pipii_linac

Conversation

@cemitch99
Copy link
Copy Markdown
Member

@cemitch99 cemitch99 commented Jun 21, 2023

Preliminary draft of PIP-II linac input file for ImpactX. Caution: This draft will require several updates.

  • Set up a TraceWin parser based on modifications to lume-tracewin
  • Construct a preliminary draft input file using default RF cavity and solenoid elements
  • Update quad and sol elements to support TraceWin units
  • Determine RF cavity absolute phase values, and correct the input file
  • Verify correct scaling/normalization of element field strengths
  • Preprocess field data files to extract Fourier components of 1D on-axis field

Follow-up:

  • Benchmark against TraceWin results

cemitch99 and others added 4 commits June 20, 2023 15:39
- 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.
@ax3l ax3l added this to the Advanced Methods (SciDAC) milestone Jun 21, 2023
@cemitch99 cemitch99 requested a review from ax3l June 21, 2023 00:13
@ax3l ax3l added the component: tests examples, tests and benchmarks label Jun 21, 2023

# TraceWin Lattice Parsing

**IN DEVELOPMENT**

Check failure

Code scanning / CodeQL

Syntax error

Syntax Error (in Python 3).
Comment on lines +132 to +135
#elif t =='thin_steering':
# isteer += 1
# name = f'K{isteer}'
# line = f'{name}: kicker, L = 0'

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests examples, tests and benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants