Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Jan 3, 2025
1 parent ff54e62 commit 6164273
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/linac_segment/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _examples-linac-segment:

PIP-II Linac Segment
=======================
====================

This example illustrates a small segment of the PIP-II linac, which includes the last RF cavity in the MEBT section (a quarter-wave resonator cavity for longitudinal bunching) and the first
RF cavity in the succeeding cryomodule (a superconducting half-wave resonator for acceleration).
Expand Down
2 changes: 1 addition & 1 deletion examples/linac_segment/analysis_linac_segment.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright 2022-2023 ImpactX contributors
# Copyright 2022-2025 ImpactX contributors
# Authors: Axel Huebl, Chad Mitchell
# License: BSD-3-Clause-LBNL
#
Expand Down
6 changes: 3 additions & 3 deletions examples/linac_segment/input_linac_segment.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
###############################################################################
# Particle Beam(s)
###############################################################################
#beam.npart = 10000000 #use this value for high-resolution runs
#beam.npart = 10000000 # use this value for high-resolution runs
beam.npart = 10000
beam.units = static
beam.kin_energy = 2.1226695
Expand Down Expand Up @@ -262,7 +262,7 @@ SOL2b.sin_coefficients = \
-1.3824319466948509E-009 \
-2.3654450397774321E-008 \
-2.3981556296348572E-008 \
-4.3793988876300594E-008 \
-4.3793988876300594E-008 \
5.3089692633387364E-009 \
6.5186324602062307E-009 \
3.9130100049078465E-008 \
Expand Down Expand Up @@ -363,7 +363,7 @@ algo.space_charge = true

# Space charge using IGF solver
algo.poisson_solver = "fft"
#amr.n_cell = 64 64 64 #use this value for high resolution runs
#amr.n_cell = 64 64 64 # use this value for high resolution runs
amr.n_cell = 32 32 32
geometry.prob_relative = 1.1 1.1

Expand Down
4 changes: 2 additions & 2 deletions examples/linac_segment/run_linac_segment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#
# Copyright 2022-2024 ImpactX contributors
# Authors: Marco Garten, Axel Huebl, CHad Mitchell
# Copyright 2022-2025 ImpactX contributors
# Authors: Chad Mitchell
# License: BSD-3-Clause-LBNL
#
# -*- coding: utf-8 -*-
Expand Down

0 comments on commit 6164273

Please sign in to comment.