fixing frequency of cavities in EGunCTF-tests; fixing P0 in DCGun-Cornell-tests

parent f275ade6
......@@ -15,7 +15,7 @@ Option, VERSION=10900;
REAL QB = 100e-12;
REAL BFREQ = 1.3e9;
REAL BCURRENT = QB*BFREQ;
REAL P0 = 1.95695E+00 * EMASS;
call, file = "lat.opal";
file_distribution:DISTRIBUTION, TYPE=fromfile, FNAME="lat.opal_particles";
......@@ -47,4 +47,4 @@ RUN, METHOD = "PARALLEL-T",
DISTRIBUTION = file_distribution;
ENDTRACK;
STOP;
STOP;
\ No newline at end of file
......@@ -15,6 +15,7 @@ Option, VERSION=10900;
REAL QB = 100e-12;
REAL BFREQ = 1.3e9;
REAL BCURRENT = QB*BFREQ;
REAL P0 = 1.95695E+00 * EMASS;
call, file = "lat.opal";
......@@ -49,4 +50,4 @@ RUN, METHOD = "PARALLEL-T",
DISTRIBUTION = file_distribution;
ENDTRACK;
STOP;
STOP;
\ No newline at end of file
......@@ -13,8 +13,8 @@ REAL REPARTFREQ = 100;
REAL MINSTEPFORREBIN = 600;
REAL QB = 0.2e-9;
REAL BF = 2998.0e6;
REAL BC = QB*BF;
REAL BF = 2998.0;
REAL BC = QB*BF*1e6;
// Begin: CTF3 /////////////////////////////////////////////////////////////////////////////////////////////////
......@@ -114,7 +114,7 @@ Dist1:DISTRIBUTION, TYPE = "GUNGAUSSFLATTOPTH",
Dist2:DISTRIBUTION, TYPE=fromfile,
FNAME="ReferenceParticles.dat";
beam1: BEAM, PARTICLE = ELECTRON, pc = P0, NPART = 20000, BFREQ = BF * 1e-6, BCURRENT = BC, CHARGE = -1;
beam1: BEAM, PARTICLE = ELECTRON, pc = P0, NPART = 20000, BFREQ = BF, BCURRENT = BC, CHARGE = -1;
SELECT, LINE=Injector;
......@@ -128,4 +128,4 @@ TRACK,LINE= Injector, BEAM=beam1, MAXSTEPS=50, DT=1.0e-11, ZSTOP=0.20;
RUN, METHOD = "PARALLEL-T", BEAM=beam1, FIELDSOLVER=Fs1;
ENDTRACK;
QUIT;
QUIT;
\ No newline at end of file
......@@ -14,8 +14,8 @@ REAL REPARTFREQ = 100;
REAL MINSTEPFORREBIN = 600;
REAL QB = 0.2e-9;
REAL BF = 2998.0e6;
REAL BC = QB*BF;
REAL BF = 2998.0;
REAL BC = QB*BF*1e6;
// Begin: CTF3 /////////////////////////////////////////////////////////////////////////////////////////////////
......@@ -113,7 +113,7 @@ Dist1:DISTRIBUTION, TYPE = "ASTRAFLATTOPTH",
//Dist2:DISTRIBUTION, DISTRIBUTION=fromfile, FNAME="ReferenceParticles.dat";
beam1: BEAM, PARTICLE = ELECTRON, pc = P0, NPART = 20000, BFREQ = BF * 1e-6, BCURRENT = BC, CHARGE = -1;
beam1: BEAM, PARTICLE = ELECTRON, pc = P0, NPART = 20000, BFREQ = BF, BCURRENT = BC, CHARGE = -1;
Select, Line=Injector;
......@@ -127,4 +127,4 @@ track,line= Injector, beam=beam1, MAXSTEPS=50, DT=1.0e-11, ZSTOP=0.20;
run, method = "PARALLEL-T", beam=beam1, fieldsolver=Fs1;
endtrack;
QUIT;
QUIT;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment