-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ele%space_charge_method differentially settable by different mul…
…tipass slaves.
- Loading branch information
1 parent
60afa0c
commit 3af4777
Showing
9 changed files
with
135 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,49 @@ | ||
parameter[geometry] = Open | ||
|
||
parameter[p0c] =9.9999986944E8 | ||
parameter[particle] = Positron | ||
parameter[absolute_time_tracking] = F | ||
beginning[s] = 3 | ||
|
||
beginning[beta_a] = 10 | ||
beginning[beta_b] = 10 | ||
|
||
|
||
parameter[p0c] = 9.99999869440028E8 | ||
parameter[particle] = Positron | ||
|
||
beginning[beta_a] = 10 | ||
beginning[beta_b] = 10 | ||
|
||
|
||
!------------------------------------------------------- | ||
|
||
slave_drift_0_1: drift, l = 1.5 | ||
slave_drift_0_2: drift, l = 1 | ||
slave_drift_0_3: drift, l = 3.5 | ||
slave_drift_0_4: drift, l = 0.284 | ||
slave_drift_0_6: drift, l = 0.284 | ||
MM: Marker | ||
DRI01: Pipe, L = 6, space_charge_method = Slice | ||
Q01: Quadrupole, L = 1, tracking_method = Runge_Kutta, space_charge_method = FFT_3D, A2 = 1 | ||
CAVITY2: Lcavity, grid_field = call::cavity2.grid_field.h5, L = 0.568, RF_FREQUENCY = 1.3E9, | ||
DS_STEP = 0.568, mat6_calc_method = Tracking, tracking_method = Runge_Kutta, | ||
space_charge_method = Slice, field_calc = FieldMap | ||
|
||
!------------------------------------------------------- | ||
! Overlays, groups, rampers, and superimpose | ||
|
||
superimpose, element = DRI01, ref = slave_drift_0_1, offset = 2.25 | ||
superimpose, element = Q01, ref = slave_drift_0_2, offset = 0 | ||
superimpose, element = CAVITY2, ref = slave_drift_0_4, offset = 0.141999999999999 | ||
|
||
!------------------------------------------------------- | ||
|
||
A: DRIFT, L = 1 | ||
MA: PATCH | ||
|
||
! Lattice lines | ||
|
||
|
||
!------------------------------------------------------- | ||
! Overlays, groups, etc. | ||
|
||
B: SBEND, L = 0.1, REF_TILT = 0.1, G = 31.415926536, N_REF_PASS = 1 | ||
A2: DRIFT, L = 2, N_REF_PASS = 1 | ||
FID: FIDUCIAL, DX_ORIGIN = 1, DTHETA_ORIGIN = 0.01, origin_ele = MA | ||
PF: PATCH, TILT = -6.4599543167E-30, FLEXIBLE = T, X_PITCH = -1.9997892306E-14, & | ||
Y_PITCH = -8.8817844391E-16, X_OFFSET = 6.487865977E-16, & | ||
Y_OFFSET = -3.9187172163E-16, Z_OFFSET = 1 | ||
|
||
|
||
multi_line_01: line[multipass] = ( slave_drift_0_1, slave_drift_0_2, slave_drift_0_3, slave_drift_0_4, | ||
MM, slave_drift_0_6) | ||
|
||
ERLRECOVERY: line = ( multi_line_01, multi_line_01) | ||
|
||
use, ERLRECOVERY | ||
|
||
!------------------------------------------------------- | ||
|
||
multi_line_01: line[multipass] = ( A, B, A2, B) | ||
|
||
B1: line = ( A, MA) | ||
|
||
B2: line = ( multi_line_01, FID, PF, multi_line_01) | ||
|
||
B2[geometry] = Open | ||
B2[particle] = Positron | ||
B2[p0c] = 9.9999986944E8 | ||
B2[s] = 2 | ||
B2[ref_time] = 1E-9 | ||
|
||
B2[beta_a] = 10 | ||
B2[beta_b] = 10 | ||
|
||
use, B1, B2 | ||
|
||
expand_lattice | ||
|
||
Q01\2[space_charge_method] = Slice | ||
CAVITY2\2[space_charge_method] = FFT_3D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,44 @@ | ||
"scm-1DRI01\1#1" STR "Slice" "Slice" | ||
"scm-2DRI01\1\Q01\1" STR "FFT_3D" "FFT_3D" | ||
"scm-3DRI01\1#2" STR "Slice" "Slice" | ||
"scm-4CAVITY2\1#1" STR "Slice" "Slice" | ||
"scm-5MM\1" STR "Off" "Off" | ||
"scm-6CAVITY2\1#2" STR "Slice" "Slice" | ||
"scm-7DRI01\2#1" STR "Slice" "Slice" | ||
"scm-8DRI01\2\Q01\2" STR "Slice" "Slice" | ||
"scm-9DRI01\2#2" STR "Slice" "Slice" | ||
"scm-10CAVITY2\2#1" STR "FFT_3D" "FFT_3D" | ||
"scm-11MM\2" STR "Off" "Off" | ||
"scm-12CAVITY2\2#2" STR "FFT_3D" "FFT_3D" | ||
"scm-13END" STR "Off" "Off" | ||
"scm-14DRI01\1" STR "Slice" "Slice" | ||
"scm-15Q01\1" STR "FFT_3D" "FFT_3D" | ||
"scm-16DRI01\2" STR "Slice" "Slice" | ||
"scm-17Q01\2" STR "Slice" "Slice" | ||
"scm-18CAVITY2\1" STR "Slice" "Slice" | ||
"scm-19CAVITY2\2" STR "FFT_3D" "FFT_3D" | ||
"scm-20MM" STR "Off" "Off" | ||
"scm-21DRI01" STR "Slice" "Slice" | ||
"scm-22Q01" STR "FFT_3D" "FFT_3D" | ||
"scm-23CAVITY2" STR "Slice" "Slice" | ||
"BF-01" STR "FORK2" | ||
"BF-02" ABS 0 0 4 | ||
"BF-03" REL 1e-12 100.0000 | ||
"MS-01" STR "DRI01\1#1" | ||
"MS-02" STR "DRI01\Q01\1" | ||
"MS-02" STR "DRI01\1\Q01\1" | ||
"MS-03" STR "DRI01\1#2" | ||
"MS-04" STR "CAVITY2\1#1" | ||
"MS-05" STR "MM\1" | ||
"MS-06" STR "CAVITY2\1#2" | ||
"MS-07" STR "DRI01\2#1" | ||
"MS-08" STR "DRI01\Q01\2" | ||
"MS-08" STR "DRI01\2\Q01\2" | ||
"MS-09" STR "DRI01\2#2" | ||
"MS-10" STR "CAVITY2\2#1" | ||
"MS-11" STR "MM\2" | ||
"MS-12" STR "CAVITY2\2#2" | ||
"MS-13" STR "END" | ||
"P-0S" ABS 0 2.000000 | ||
"P-0T" ABS 0 1.000000E-09 | ||
"P-6MI" ABS 0 1.000000 0.000000 0.000000 | ||
"P-7FR" ABS 0 1.020000 0.000000 2.999900 | ||
"P-7FA" ABS 0 0.010000 0.000000 0.000000 | ||
"P-6MI" ABS 0 1.000000 -0.000000 -0.000000 | ||
"P-7FR" ABS 0 1.020000 -0.000000 2.999900 | ||
"P-7FA" ABS 0 0.010000 -0.000000 0.000000 |