Skip to Content.
Sympa Menu

opal - [Opal] Injected distribution with OFFSETZ

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Injected distribution with OFFSETZ


Chronological Thread 
  • From: "Dr. Simon Friederich" <s.friederich AT uni-mainz.de>
  • To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: [Opal] Injected distribution with OFFSETZ
  • Date: Tue, 7 Jul 2020 18:46:43 +0200
  • Authentication-results: localhost; iprev=pass (ironport-1.zdv.net) smtp.remote-ip=134.93.178.241; spf=pass smtp.mailfrom=uni-mainz.de; dkim=pass header.d=uni-mainz.de header.s=20190702 header.a=rsa-sha256; dmarc=pass header.from=uni-mainz.de
  • Ironport-phdr: 9a23:j+vOfhVLxWUEvWyOKxMCMV11nwTV8LGtZVwlr6E/grcLSJyIuqrYZRSCvqdThVPEFb/W9+hDw7KP9fy5BypZvN3e7ThCKMUKC0ZYz51O3kQJO42sMQXDNvnkbig3ToxpdWRO2DWFC3VTA9v0fFbIo3e/vnY4ExT7MhdpdKyuQtaBx8u42Pqv9JLNfg5GmCSyYa9oLBWxsA7dqtQajZFtJ6osyxbFuGZEduRZyW5qJV+YghLw6tut8JJ5/ClcpvIs+9RcXanmeqgzUKBVAikhP20p/sPgqAPNTRGI5nsSU2UWlgRHDg3Y5xzkXZn/rzX3uPNl1CaVIcP5Q7Y0WS+/76hwUx/nlD0HNz8i/27JjMF7kb9Wrwigpxx7xI7UfZ2VOf9jda7TYd8WWWxMVdtXWidcAI2zcpEPAvIfM+hYsof9oFgAoxWwCgajGOzvyyRFhnrq0aAgyektDQ/L0Q4mEtkTsHrUttL1NKIKXOy7wqfI1y/PZO5L1zf87YjIdRYhquyMU7JqcMre11QgGB3fjlWRtYPlPz2Z3fkKvmiA9eZgW/ivi285pA5svDev3MYshZXJho8O11DE8yR5zJ8wJdKiSU57Z9+lHIFNuC6ELoZ7RN4pTG50tigg0LIGpYK7czYQyJQh3xPSdfyKfoeL7x/9SOqcLzh1iG5rdby/mhq/7Eutx/HzW8e60ltHrjdJn9jPu30N2RHf9tSKR/t+80qv1juDygTe5+dZKk43jarWM5AhzaM/m5YNtEnOESH7lFv4gaKTdUgr5vWn5Pnib7jnupORNop5hwXkPagylMGyBOA1PRMAX2iV/Om82qPs8VPiT7hPlfI5jrXWvI3CKckfpqO1GQtY3ps55xqhEjur0c4UkHcEIV9DZRmJlZLmO0vUL/D9Ffq/hlOsnyp1yP3eJb3hB4nNLmDEkLf8YbZx805cxxQ3zdBY/59bFL4ALO/9V0L+qdDUFxo5Mxe0zubnEdlxyIMTVXiOA6CELqPeq1GH5uQuI+WVY4Eaojf9K/4k5vL0g3E3lkcRfaiv3ZQJdHC1BvpmLFiWbHbyh9oMHmkHshQwQeHvi1CNTSNcaGu3Uq89+j02CYerAIPZSYyxjrGM2SO2EYZYZmBID12MH2nne5ufVPoJcy2dPtNuniEcWbikUYAh1BWutAHgy7pgK+rZ4jYYtZPt1Nhv5u3ciww9+iJvAsSA1WGNTnh4nmYSSD832qB+oFZxxUqd3qRgmfxXCcRT5+9VUgc9LZPcyPR6BMr2Wg/aeteJSU2mQsm9AT0rVtIx2N4Ob1xhFNWi3Vj/2H/gBKcck5SPBYco6eTExHm3LMY3gyLBzKAlp10nWddUc3W9h+h0916AKZTOlhDTu7zsPZ8d2SnLvEmZzGeCsVtZWw46GfHeG34FZ0baoM747UPqUrmvTLEuMw1Tj8KPfPgZIub1hElLEa+wcO/VZHi8zj+9
  • Ironport-sdr: SCaEcLZp4tQlFYbYmaMr6B/PVzDIyOZQv7kWLcrK7PM0QwlrPVZv5qD/X4Fgay7qruIv5Pxf3i 4p6lSQL8HNBLWYS84zlP3L1QesXJ+5zM5Jj9dHB0VCuYtJ/0oIWE4BaxdRu29EomNyNBauPSKP R+aydyw11Ayoxfim1V0inkTNRUPeeE9lYhLu7HaH6qitp0KwcrZWIlnFE3z4iIrMm9vousQwiF 0LDymgN0lOTjthEQX7uQZubrrAae6+Am8e9QhXaRIwVTXh3cFJcvH5q08KxeCkfivUO85WuF+/ wo4=
  • Organization: Institut für Kernphysik Mainz

Dear OPAL-Team,

My goal: I want to inject an electron bunch with a gaussian distribution at Z=-0.2 and have it cross a solenoid which is located at 0.0.

I tried: To use the OFFSETZ parameter, but it has not the desired effect (I expect the stat-file to start from s=-0.2m, right?).

I have also tried: To change the CATHODE's position, but it has no(t the desired) effect either.

I wanted to use the OFFSETZ parameter once to import a particle distribution at a specific point within my beam line so that I don't have to change the elements position and get the same result as if I injected the start-distribution at (0,0,0). [The purpose was to save computational time, because I could optimize the beam line step by step without having to simulate everything from the beginning]

If you find the time, maybe you could have a look at my input files and tell me what I've missed here.

Best regards,

Simon

-- 
Dr. Simon Friederich
Helmholtz-Institut Mainz
Kollaboration B/ACID
Johannes Gutenberg-Universität Mainz
Staudingerweg 18
55128 Mainz, Deutschland

Tel.: +49 (0)6131 39-23160
E-Mail: s.friederich AT uni-mainz.de

PNG image

# ['r', 'z'] in cm
# Bz in T
1DMagnetoStatic 40
-4.6 4.6 1840
0.01 2 199
0.019592132006251192
0.019659120030481456
0.019726395538238278
0.019793959906479572
0.019861814518455485
0.01992996076372362
0.019998400038164024
0.02006713374399394
0.020136163289782124
0.020205490090463334
0.02027511556735212
0.02034504114815654
0.02041526826699177
0.02048579836439309
0.020556632887328927
0.0206277732892134
0.020699221029918648
0.020770977575786855
0.020843044399641967
0.020915422980801093
0.02098811480508562
0.02106112136483185
0.021134444158901578
0.02120808469269208
0.021282044478145832
0.02135632503375987
0.02143092788459496
0.021505854562283985
0.0215811066050404
0.021656685557665988
0.021732592971558388
0.021808830404718153
0.0218853994217554
0.021962301593896106
0.022039538498987772
0.02211711172150497
0.02219502285255411
0.022273273489878103
0.022351865237860192
0.02243079970752753
0.0225100785165543
0.022589703289264226
0.022669675656632634
0.02274999725628801
0.02283066973251306
0.02291169473624517
0.022993073925076404
0.023074808963252893
0.023156901521673726
0.023239353277889216
0.023322165916098595
0.02340534112714714
0.023488880608522715
0.02357278606435167
0.02365705920539404
0.02374170174903838
0.023826715419295538
0.02391210194679218
0.023997863068763416
0.0240840005290448
0.0241705160780636
0.024257411472829508
0.02434468847692453
0.024432348860491983
0.02452039440022517
0.024608826879354888
0.02469764808763649
0.0247868598213359
0.024876463883215058
0.02496646208251642
0.025056856234946766
0.02514764816266007
0.025238839694239575
0.025330432664679048
0.025422428915363126
0.025514830294046772
0.025607638654833904
0.025700855858154938
0.025794483770743788
0.025888524265613406
0.02598297922203078
0.02607785052549088
0.026173140067689494
0.026268849746495116
0.02636498146591996
0.026461537136089803
0.026558518673212843
0.026655927999547444
0.02675376704336892
0.026852037738935134
0.026950742026451098
0.027049881852032245
0.02714945916766686
0.02724947593117715
0.0273499341061792
0.027450835662041758
0.027552182573843884
0.027653976822331196
0.02775622039387113
0.02785891528040674
0.02796206347940938
0.02806566699382992
0.028169727832049005
0.02827424800782553
0.02837922954024414
0.02848467445366127
0.02859058477764974
0.02869696254694211
0.028803809801372374
0.028911128585816594
0.029018920950131737
0.029127188949093243
0.029235934642331127
0.029345160094264466
0.02945486737403443
0.029565058555435772
0.02967573571684682
0.029786900941157726
0.02989855631569733
0.03001070393215833
0.030123345886520655
0.030236484278973522
0.030350121213835537
0.030464258799473207
0.030578899148217722
0.030694044376280018
0.030809696603664262
0.030925857954079095
0.031042530554847673
0.031159716536815457
0.031277418034256335
0.03139563718477704
0.03151437612921936
0.03163363701156076
0.03175342197881294
0.031873733180918594
0.031994572770645956
0.0321159429034817
0.03223784573752173
0.03236028343335972
0.032483258153974
0.032606772064612224
0.03273082733267383
0.032855426127590716
0.03298057062070544
0.033106262985147655
0.03323250539570801
0.03335930002871021
0.033486649061880744
0.03361455467421632
0.033743019045849205
0.03387204435791023
0.03400163279238954
0.03413178653199509
0.03426250776000868
0.034393798660139904
0.034525661416377515
0.03465809821283848
0.0347911112336148
0.03492470266261759
0.0350588746834191
0.03519362947909205
0.03532896923204652
0.035464896123864394
0.03560141233513131
0.0357385200452661
0.035876221432347616
0.03601451867293896
0.036153413941909365
0.036292909412253126
0.036433007254906336
0.03657370963856053
0.036715018729474115
0.0368569366912808
0.03699946568479557
0.03714260786781777
0.037286365394931714
0.037430740417304396
0.03757573508248037
0.03772135153417414
0.037867591912059566
0.03801445835155662
0.03816195298361513
0.038310077934495965
0.038458835325549286
0.03860822727298985
0.03875825588766972
0.03890892327484772
0.039060231533956456
0.039212182758366236
0.03936477903514588
0.039518022444821166
0.039671915061129784
0.03982645895077371
0.03998165617316861
0.04013750878019021
0.04029401881591775
0.040451188316374495
0.040609019309265394
0.04076751381371149
0.040926673839981706
0.04108650138922142
0.04124699845317815
0.041408167013924205
0.0415700090435765
0.041732526504013205
0.04189572134658745
0.04205959551183826
0.042224150929198165
0.04238938951669807
0.04255531318066906
0.042721923815441334
0.04288922330304
0.04305721351287797
0.043225896301446076
0.0433952735119999
0.04356534697424399
0.04373611850401284
0.0439075899029493
0.04407976295817966
0.04425263944198622
0.04442622111147666
0.044600509708250816
0.044775506958064225
0.04495121457048935
0.045127634238573404
0.04530476763849383
0.04548261642921064
0.04566118225211632
0.04584046673068262
0.04602047147010499
0.04620119805694398
0.04638264805876423
0.04656482302377064
0.046747724480442
0.04693135393716194
0.047115712881847495
0.04730080278157486
0.047486625082203054
0.04767318120799456
0.04786047256123407
0.04804850052184457
0.04823726644700109
0.04842677167074215
0.04861701750357905
0.048808005232102686
0.04899973611858843
0.04919221140059872
0.04938543229058363
0.04957939997547934
0.04977411561630459
0.04996958034775539
0.050165795277797465
0.0503627614872573
0.05056048002941104
0.05075895192957188
0.05095817818467569
0.05115815976286524
0.05135889760307247
0.05156039261459976
0.051762645676699484
0.05196565763815235
0.0521694293168444
0.0523739614993429
0.05257925494047098
0.052785310362881394
0.05299212845662918
0.05319970987874332
0.053408055252797806
0.053617165168481966
0.0538270401811698
0.054037680811489214
0.05424908754489035
0.05446126083121387
0.05467420108425868
0.05488790868134946
0.05510238396290436
0.05531762723200224
0.05553363875395027
0.05575041875585164
0.055967967426173486
0.05618628491431529
0.05640537133017753
0.05662522674373121
0.05684585118458781
0.05706724464157028
0.05728940706228464
0.05751233835269287
0.05773603837668672
0.057960506955663
0.0581857438680999
0.05841174884913508
0.05863852159014533
0.05886606173832765
0.059094368896282515
0.059323442621599075
0.059553282426442165
0.05978388777714178
0.060015258093784864
0.06024739274980953
0.060480291071601806
0.06071395233809539
0.06094837578037392
0.061183560581276455
0.06141950587500623
0.06165621074674232
0.061893674232255044
0.06213189531752484
0.06237087293836476
0.06261060598004689
0.06285109327693275
0.06309233361210777
0.06333432571702
0.06357706827112357
0.06382055990152606
0.06406479918264131
0.06430978463584655
0.06455551472914481
0.06480198787683235
0.0650492024391716
0.06529715672206915
0.06554584897675987
0.06579527739949635
0.06604544013124444
0.0662963352573849
0.06654796080742104
0.06680031475469297
0.06705339501609825
0.06730719945181907
0.06756172586505652
0.0678169720017716
0.06807293555043352
0.068329614141775
0.06858700534855533
0.06884510668533075
0.06910391560823266
0.06936342951475355
0.06962364574354117
0.06988456157420075
0.07014617422710538
0.0704084808632151
0.07067147858390443
0.07093516443079866
0.07119953538561898
0.07146458837003683
0.07173032024553713
0.071996727813291
0.07226380781403782
0.072531556927977
0.07279997177466928
0.07306904891294798
0.07333878484084012
0.0736091759954978
0.07388021875313955
0.07415190942900236
0.0744242442773038
0.07469721949121502
0.07497083120284427
0.07524507548323134
0.07551994834235289
0.07579544572913878
0.07607156353149955
0.07634829757636526
0.07662564362973558
0.07690359739674113
0.07718215452171681
0.07746131058828643
0.07774106111945897
0.07802140157773711
0.07830232736523698
0.07858383382382056
0.07886591623523952
0.0791485698212916
0.07943178974398897
0.07971557110573874
0.07999990894953597
0.08028479825916901
0.08057023395943692
0.08085621091637987
0.08114272393752163
0.08142976777212457
0.08171733711145766
0.08200542658907652
0.08229403078111645
0.08258314420659804
0.08287276132774528
0.08316287655031654
0.08345348422394809
0.08374457864251045
0.08403615404447722
0.08432820461330671
0.08462072447783632
0.08491370771268929
0.08520714833869426
0.08550104032331755
0.08579537758110777
0.08609015397415291
0.08638536331255031
0.08668099935488859
0.08697705580874228
0.08727352633117871
0.08757040452927717
0.08786768396066011
0.08816535813403684
0.0884634205097588
0.08876186450038734
0.08906068347127286
0.08935987074114611
0.08965941958272099
0.08995932322330912
0.09025957484544557
0.09056016758752634
0.0908610945444569
0.0911623487683117
0.09146392326900506
0.09176581101497248
0.09206800493386319
0.09237049791324264
0.0926732828013061
0.092976352407602
0.09327969950376566
0.09358331682426305
0.09388719706714396
0.09419133289480533
0.09449571693476355
0.09480034178043631
0.09510519999193336
0.09541028409685627
0.09571558659110689
0.0960210999397041
0.09632681657760922
0.09663272891055909
0.09693882931590732
0.09724511014347312
0.09755156371639753
0.09785818233200695
0.09816495826268344
0.09847188375674223
0.0987789510393153
0.09908615231324147
0.09939347975996259
0.09970092554042545
0.10000848179598934
0.10031614064933884
0.1006238942054018
0.10093173455227204
0.10123965376213667
0.10154764389220779
0.10185569698565801
0.10216380507256007
0.1024719601708297
0.10278015428717195
0.10308837941803044
0.10339662755053917
0.10370489066347721
0.10401316072822497
0.10432142970972298
0.10462968956743181
0.10493793225629384
0.1052461497276955
0.105554333930431
0.10586247681166606
0.10617057031790215
0.10647860639594076
0.10678657699384707
0.10709447406191347
0.10740228955362192
0.10771001542660526
0.10801764364360723
0.10832516617344068
0.10863257499194388
0.1089398620829347
0.10924701943916208
0.10955403906325507
0.10986091296866847
0.1101676331806255
0.11047419173705667
0.11078058068953493
0.1110867921042068
0.11139281806271897
0.1116986506631405
0.11200428202088002
0.11230970426959778
0.11261490956211255
0.11291989007130272
0.11322463799100158
0.11352914553688652
0.11383340494736195
0.11413740848443563
0.11444114843458797
0.11474461710963474
0.11504780684758217
0.1153507100134746
0.11565331900023461
0.1159556262294952
0.11625762415242355
0.11655930525053697
0.1168606620365098
0.11716168705497194
0.11746237288329828
0.1177627121323891
0.11806269744744118
0.11836232150870916
0.11866157703225784
0.11896045677070385
0.11925895351394812
0.11955706008989761
0.11985476936517694
0.12015207424582972
0.12044896767800879
0.12074544264865622
0.12104149218617212
0.12133710936107242
0.1216322872866355
0.12192701911953784
0.12222129806047764
0.1225151173547874
0.12280847029303492
0.1231013502116121
0.12339375049331255
0.12368566456789656
0.12397708591264475
0.12426800805289914
0.1245584245625923
0.1248483290647642
0.12513771523206665
0.12542657678725552
0.12571490750367048
0.12600270120570214
0.12628995176924696
0.12657665312214927
0.12686279924463081
0.12714838416970767
0.12743340198359454
0.1277178468260964
0.1280017128909872
0.12828499442637598
0.1285676857350606
0.12884978117486823
0.12913127515898323
0.1294121621562628
0.12969243669153924
0.1299720933459099
0.13025112675701456
0.1305295316193
0.13080730268427182
0.1310844347607341
0.13136092271501604
0.13163676147118672
0.1319119460112566
0.13218647137536757
0.13246033266196966
0.13273352502798644
0.13300604368896754
0.13327788391922926
0.1335490410519831
0.1338195104794522
0.13408928765297604
0.13435836808310309
0.13462674733967184
0.13489442105188001
0.13516138490834237
0.135427634657137
0.13569316610584004
0.13595797512154925
0.13622205763089654
0.1364854096200491
0.1367480271346998
0.1370099062800467
0.1372710432207617
0.13753143418094874
0.13779107544409117
0.13804996335298936
0.13830809430968716
0.1385654647753891
0.138822071270367
0.13907791037385683
0.13933297872394607
0.13958727301745102
0.13984079000978505
0.14009352651481724
0.140345479404722
0.14059664560981933
0.14084702211840638
0.14109660597658047
0.14134539428805276
0.14159338421395412
0.14184057297263222
0.14208695783944086
0.14233253614652053
0.1425773052825718
0.14282126269262044
0.1430644058777753
0.14330673239497838
0.14354823985674772
0.14378892593091336
0.14402878834034583
0.14426782486267822
0.14450603333002132
0.144743411628672
0.1449799576988158
0.14521566953422255
0.14545054518193637
0.14568458274195947
0.1459177803669303
0.146150136261796
0.1463816486834792
0.1466123159405397
0.1468421363928308
0.14707110845115062
0.14729923057688848
0.1475265012816666
0.1477529191269771
0.14797848272381445
0.1482031907323039
0.1484270418613255
0.14865003486813397
0.14887216855797508
0.14909344178369777
0.14931385344536321
0.14953340248984986
0.14975208791045555
0.14996990874649627
0.15018686408290188
0.1504029530498088
0.15061817482215029
0.1508325286192434
0.1510460137043741
0.15125862938437956
0.15147037500922847
0.15168124997159865
0.15189125370645348
0.15210038569061582
0.15230864544234016
0.15251603252088367
0.15272254652607486
0.15292818709788178
0.15313295391597812
0.1533368466993086
0.1535398652056531
0.15374200923118986
0.15394327861005797
0.15414367321391875
0.15434319295151702
0.15454183776824137
0.15473960764568434
0.15493650260120195
0.1551325226874734
0.1553276679920603
0.155521938636966
0.15571533477819505
0.1559078566053128
0.156099504341005
0.15629027824063813
0.15648017859181995
0.15666920571396048
0.15685735995783381
0.15704464170514026
0.15723105136806978
0.15741658938886557
0.15760125623938928
0.1577850524206866
0.15796797846255445
0.15815003492310883
0.15833122238835412
0.15851154147175392
0.15869099281380256
0.15886957708159868
0.15904729496842004
0.1592241471932997
0.15940013450060403
0.1595752576596124
0.1597495174640984
0.15992291473191292
0.16009545030456912
0.16026712504682916
0.1604379398462931
0.16060789561298935
0.16077699327896777
0.160945233797894
0.16111261814464692
0.16127914731491744
0.16144482232480992
0.16160964421044577
0.16177361402756926
0.16193673285115567
0.16209900177502196
0.1622604219114397
0.16242099439075036
0.16258072036098317
0.16273960098747572
0.16289763745249652
0.16305483095487053
0.1632111827096072
0.16336669394753134
0.1635213659149159
0.16367519987311832
0.1638281970982189
0.1639803588806622
0.16413168652490107
0.16428218134904343
0.16443184468450173
0.1645806778756454
0.1647286822794558
0.1648758592651842
0.16502221021401253
0.16516773651871705
0.16531243958333444
0.16545632082283138
0.16559938166277655
0.16574162353901564
0.16588304789734928
0.16602365619321374
0.16616344989136478
0.1663024304655638
0.16644059939826794
0.16657795818032184
0.16671450831065335
0.16685025129597153
0.16698518865046785
0.16711932189552015
0.16725265255939958
0.1673851821769805
0.16751691228945328
0.16764784444403966
0.16777798019371176
0.16790732109691323
0.16803586871728352
0.16816362462338555
0.1682905903884353
0.16841676759003524
0.1685421578099099
0.1686667626336447
0.1687905836504276
0.1689136224527933
0.16903588063637073
0.16915735979963298
0.16927806154365022
0.16939798747184526
0.16951713918975234
0.16963551830477805
0.16975312642596552
0.16986996516376113
0.16998603612978413
0.17010134093659873
0.1702158811974892
0.17032965852623733
0.17044267453690304
0.17055493084360715
0.17066642906031715
0.17077717080063554
0.17088715767759066
0.17099639130343025
0.17110487328941765
0.17121260524563037
0.17131958878076148
0.17142582550192323
0.17153131701445365
0.1716360649217251
0.1717400708249556
0.17184333632302284
0.17194586301228015
0.17204765248637535
0.17214870633607168
0.1722490261490714
0.1723486135098415
0.17244746999944205
0.17254559719535664
0.17264299667132538
0.17273966999717985
0.17283561873868064
0.1729308444573573
0.17302534871034975
0.17311913305025298
0.17321219902496313
0.17330454817752605
0.1733961820459882
0.17348710216324925
0.1735773100569172
0.17366680724916547
0.17375559525659204
0.17384367559008057
0.17393104975466384
0.17401771924938886
0.17410368556718422
0.17418895019472946
0.17427351461232612
0.17435738029377104
0.17444054870623127
0.1745230213101214
0.174604799558982
0.17468588489936065
0.17476627877069442
0.17484598260519424
0.1749249978277311
0.17500332585572406
0.1750809680990299
0.1751579259598348
0.17523420083254715
0.1753097941036929
0.17538470715181184
0.17545894134735598
0.17553249805258933
0.17560537862148956
0.17567758439965114
0.1757491167241898
0.175819976923649
0.17589016631790794
0.17595968621809052
0.17602853792647646
0.17609672273641375
0.1761642419322322
0.17623109678915902
0.17629728857323543
0.17636281854123484
0.17642768794058247
0.1764918980092762
0.176555449975809
0.1766183450590925
0.1766805844683821
0.17674216940320325
0.17680310105327904
0.17686338059845907
0.1769230092086498
0.17698198804374582
0.17704031825356242
0.1770980009777697
0.1771550373458275
0.17721142847692153
0.1772671754799011
0.17732227945321746
0.17737674148486346
0.1774305626523147
0.17748374402247108
0.17753628665160018
0.17758819158528108
0.1776394598583496
0.17769009249484485
0.17774009050795594
0.17778945489997056
0.17783818666222423
0.17788628677505058
0.17793375620773247
0.17798059591845433
0.1780268068542552
0.17807238995098287
0.17811734613324898
0.17816167631438465
0.17820538139639772
0.17824846226993007
0.17829091981421652
0.17833275489704387
0.17837396837471167
0.17841456109199294
0.17845453388209637
0.1784938875666288
0.1785326229555592
0.1785707408471825
0.1786082420280852
0.17864512727311097
0.17868139734532743
0.17871705299599344
0.17875209496452735
0.1787865239784759
0.17882034075348352
0.178853545993263
0.17888614038956624
0.17891812462215592
0.178949499358778
0.17898026525513452
0.17901042295485742
0.17903997308948286
0.17906891627842617
0.1790972531289574
0.17912498423617765
0.17915211018299582
0.1791786315401061
0.179204548865966
0.17922986270677518
0.1792545735964543
0.17927868205662525
0.17930218859659125
0.17932509371331798
0.17934739789141488
0.17936910160311756
0.17939020530826993
0.17941070945430782
0.1794306144762424
0.1794499207966442
0.17946862882562842
0.17948673896083955
0.1795042515874375
0.17952116707808366
0.1795374857929278
0.1795532080795952
0.1795683342731745
0.17958286469620585
0.17959679965866954
0.17961013945797544
0.17962288437895235
0.17963503469383835
0.1796465906622713
0.1796575525312798
0.17966792053527497
0.17967769489604216
0.17968687582273338
0.17969546351186028
0.17970345814728744
0.17971085990022612
0.1797176689292284
0.17972388538018189
0.17972950938630455
0.17973454106814074
0.17973898053355658
0.17974282787773668
0.1797460831831808
0.17974874651970113
0.17975081794441986
0.17975229750176738
0.1797531852234808
0.17975348112860273
0.17975318522348083
0.17975229750176744
0.1797508179444199
0.17974874651970119
0.17974608318318092
0.17974282787773682
0.17973898053355672
0.1797345410681409
0.17972950938630478
0.17972388538018208
0.17971766892922866
0.17971085990022642
0.17970345814728775
0.17969546351186058
0.17968687582273368
0.17967769489604252
0.1796679205352754
0.1796575525312802
0.17964659066227173
0.17963503469383882
0.17962288437895282
0.17961013945797594
0.1795967996586701
0.1795828646962064
0.1795683342731751
0.17955320807959582
0.17953748579292844
0.1795211670780843
0.17950425158743818
0.17948673896084025
0.1794686288256291
0.17944992079664498
0.17943061447624314
0.17941070945430862
0.17939020530827074
0.1793691016031184
0.17934739789141574
0.17932509371331884
0.17930218859659217
0.17927868205662617
0.17925457359645527
0.17922986270677616
0.17920454886596704
0.1791786315401071
0.17915211018299687
0.1791249842361787
0.17909725312895847
0.1790689162784273
0.179039973089484
0.17901042295485858
0.17898026525513572
0.1789494993587792
0.1789181246221572
0.17888614038956746
0.17885354599326428
0.1788203407534848
0.1787865239784772
0.1787520949645287
0.17871705299599483
0.17868139734532884
0.1786451272731124
0.17860824202808664
0.17857074084718394
0.1785326229555607
0.17849388756663034
0.1784545338820979
0.17841456109199455
0.17837396837471325
0.17833275489704548
0.17829091981421813
0.17824846226993177
0.17820538139639938
0.1781616763143864
0.17811734613325073
0.17807238995098468
0.178026806854257
0.17798059591845616
0.17793375620773433
0.17788628677505247
0.17783818666222614
0.17778945489997247
0.1777400905079579
0.17769009249484682
0.17763945985835164
0.17758819158528308
0.17753628665160223
0.1774837440224732
0.1774305626523168
0.1773767414848656
0.17732227945321957
0.1772671754799033
0.17721142847692373
0.17715503734582969
0.17709800097777195
0.1770403182535647
0.17698198804374812
0.17692300920865217
0.17686338059846143
0.1768031010532814
0.17674216940320564
0.17668058446838453
0.17661834505909493
0.17655544997581146
0.17649189800927867
0.176427687940585
0.17636281854123737
0.176297288573238
0.1762310967891616
0.17616424193223482
0.1760967227364164
0.17602853792647916
0.17595968621809321
0.17589016631791066
0.17581997692365178
0.17574911672419255
0.17567758439965392
0.17560537862149242
0.1755324980525922
0.17545894134735884
0.17538470715181476
0.17530979410369585
0.17523420083255012
0.17515792595983778
0.17508096809903295
0.17500332585572712
0.17492499782773416
0.17484598260519732
0.17476627877069756
0.17468588489936382
0.1746047995589852
0.17452302131012462
0.17444054870623454
0.1743573802937743
0.17427351461232943
0.17418895019473277
0.17410368556718755
0.17401771924939222
0.17393104975466725
0.173843675590084
0.1737555952565955
0.17366680724916897
0.17357731005692073
0.17348710216325278
0.17339618204599178
0.17330454817752966
0.17321219902496673
0.17311913305025664
0.1730253487103534
0.172930844457361
0.17283561873868442
0.17273966999718357
0.17264299667132918
0.17254559719536047
0.1724474699994459
0.17234861350984537
0.1722490261490753
0.17214870633607562
0.17204765248637932
0.17194586301228418
0.17184333632302687
0.17174007082495965
0.17163606492172917
0.17153131701445778
0.1714258255019274
0.1713195887807656
0.17121260524563453
0.17110487328942187
0.17099639130343453
0.17088715767759494
0.1707771708006399
0.1706664290603215
0.1705549308436115
0.17044267453690742
0.17032965852624174
0.17021588119749365
0.17010134093660323
0.16998603612978863
0.1698699651637657
0.16975312642597007
0.16963551830478266
0.16951713918975697
0.16939798747184995
0.1692780615436549
0.16915735979963772
0.16903588063637548
0.16891362245279812
0.1687905836504324
0.16866676263364955
0.16854215780991477
0.16841676759004015
0.16829059038844027
0.1681636246233905
0.16803586871728854
0.16790732109691822
0.16777798019371684
0.1676478444440448
0.1675169122894584
0.16738518217698567
0.16725265255940477
0.1671193218955254
0.16698518865047313
0.16685025129597683
0.1667145083106587
0.1665779581803272
0.16644059939827335
0.16630243046556925
0.16616344989137025
0.16602365619321924
0.16588304789735478
0.1657416235390212
0.16559938166278212
0.16545632082283698
0.16531243958334005
0.16516773651872274
0.16502221021401825
0.1648758592651899
0.16472868227946155
0.1645806778756512
0.16443184468450758
0.1642821813490493
0.16413168652490698
0.16398035888066811
0.16382819709822485
0.16367519987312432
0.16352136591492195
0.16336669394753742
0.1632111827096133
0.16305483095487663
0.16289763745250269
0.16273960098748194
0.16258072036098942
0.1624209943907566
0.162260421911446
0.1620990017750283
0.161936732851162
0.16177361402757562
0.1616096442104522
0.1614448223248164
0.16127914731492396
0.16111261814465344
0.16094523379790054
0.16077699327897432
0.160607895612996
0.16043793984629975
0.16026712504683588
0.16009545030457584
0.15992291473191966
0.1597495174641052
0.15957525765961925
0.15940013450061088
0.1592241471933066
0.15904729496842698
0.15886957708160565
0.15869099281380952
0.15851154147176094
0.1583312223883612
0.1581500349231159
0.1579679784625616
0.1577850524206938
0.15760125623939647
0.15741658938887282
0.15723105136807705
0.1570446417051476
0.1568573599578411
0.15666920571396786
0.15648017859182736
0.1562902782406456
0.15609950434101244
0.1559078566053203
0.15571533477820262
0.15552193863697358
0.15532766799206787
0.155132522687481
0.1549365026012096
0.15473960764569203
0.15454183776824912
0.1543431929515248
0.15414367321392655
0.15394327861006582
0.15374200923119774
0.15353986520566099
0.15333684669931655
0.1531329539159861
0.15292818709788977
0.15272254652608291
0.15251603252089177
0.15230864544234832
0.15210038569062395
0.1518912537064617
0.15168124997160687
0.15147037500923669
0.1512586293843879
0.1510460137043824
0.15083252861925173
0.15061817482215867
0.15040295304981724
0.15018686408291032
0.1499699087465048
0.14975208791046407
0.1495334024898584
0.14931385344537185
0.14909344178370643
0.14887216855798374
0.14865003486814266
0.14842704186133424
0.1482031907323127
0.14797848272382325
0.14775291912698596
0.1475265012816755
0.14729923057689742
0.14707110845115956
0.14684213639283977
0.14661231594054872
0.14638164868348824
0.14615013626180506
0.14591778036693942
0.14568458274196858
0.1454505451819455
0.14521566953423173
0.14497995769882505
0.14474341162868126
0.1445060333300306
0.14426782486268755
0.14402878834035518
0.14378892593092274
0.14354823985675713
0.14330673239498784
0.1430644058777848
0.14282126269262999
0.14257730528258136
0.14233253614653013
0.14208695783945047
0.14184057297264188
0.14159338421396375
0.14134539428806248
0.1410966059765902
0.14084702211841618
0.14059664560982912
0.14034547940473185
0.14009352651482712
0.13984079000979494
0.13958727301746093
0.139332978723956
0.13907791037386683
0.13882207127037702
0.13856546477539916
0.13830809430969726
0.13804996335299946
0.1377910754441013
0.13753143418095887
0.13727104322077188
0.1370099062800569
0.13674802713471004
0.13648540962005937
0.13622205763090686
0.1359579751215596
0.13569316610585042
0.1354276346571474
0.1351613849083528
0.13489442105189045
0.1346267473396823
0.1343583680831136
0.13408928765298658
0.13381951047946272
0.13354904105199367
0.1332778839192399
0.1330060436889782
0.13273352502799712
0.13246033266198035
0.13218647137537828
0.13191194601126738
0.1316367614711975
0.13136092271502683
0.13108443476074488
0.13080730268428264
0.13052953161931086
0.13025112675702546
0.12997209334592083
0.12969243669155017
0.12941216215627377
0.12913127515899425
0.12884978117487922
0.12856768573507166
0.12828499442638702
0.12800171289099826
0.1277178468261075
0.12743340198360567
0.1271483841697188
0.12686279924464197
0.1265766531221605
0.1262899517692582
0.12600270120571336
0.1257149075036817
0.12542657678726682
0.12513771523207795
0.12484832906477554
0.12455842456260363
0.12426800805291048
0.1239770859126561
0.12368566456790797
0.12339375049332396
0.12310135021162356
0.12280847029304637
0.12251511735479889
0.12222129806048912
0.12192701911954935
0.12163228728664703
0.12133710936108395
0.12104149218618368
0.12074544264866781
0.1204489676780204
0.12015207424584133
0.11985476936518859
0.11955706008990924
0.11925895351395978
0.11896045677071551
0.11866157703226952
0.11836232150872088
0.11806269744745286
0.11776271213240082
0.11746237288331
0.1171616870549837
0.11686066203652158
0.11655930525054878
0.11625762415243536
0.11595562622950702
0.11565331900024645
0.11535071001348644
0.11504780684759401
0.1147446171096466
0.11444114843459983
0.1141374084844475
0.11383340494737387
0.1135291455368984
0.11322463799101348
0.11291989007131464
0.11261490956212448
0.1123097042696097
0.11200428202089195
0.11169865066315245
0.11139281806273094
0.11108679210421876
0.11078058068954688
0.11047419173706863
0.11016763318063749
0.10986091296868047
0.10955403906326706
0.10924701943917409
0.1089398620829467
0.1086325749919559
0.10832516617345271
0.10801764364361925
0.10771001542661726
0.10740228955363393
0.1070944740619255
0.1067865769938591
0.10647860639595279
0.10617057031791421
0.1058624768116781
0.10555433393044306
0.10524614972770756
0.10493793225630588
0.10462968956744387
0.10432142970973501
0.10401316072823703
0.10370489066348927
0.10339662755055123
0.10308837941804247
0.102780154287184
0.10247196017084174
0.1021638050725721
0.10185569698567007
0.10154764389221982
0.10123965376214872
0.10093173455228407
0.10062389420541383
0.10031614064935086
0.10000848179600137
0.09970092554043747
0.09939347975997459
0.09908615231325348
0.09877895103932732
0.09847188375675425
0.09816495826269545
0.09785818233201893
0.09755156371640954
0.09724511014348508
0.09693882931591928
0.09663272891057104
0.09632681657762117
0.09602109993971604
0.09571558659111881
0.0954102840968682
0.09510519999194526
0.0948003417804482
0.09449571693477544
0.09419133289481721
0.09388719706715583
0.09358331682427488
0.09327969950377754
0.09297635240761384
0.09267328280131794
0.09237049791325448
0.092068004933875
0.09176581101498428
0.09146392326901683
0.09116234876832348
0.09086109454446868
0.0905601675875381
0.09025957484545731
0.08995932322332086
0.08965941958273271
0.08935987074115781
0.08906068347128454
0.088761864500399
0.08846342050977046
0.08816535813404847
0.08786768396067174
0.08757040452928878
0.0872735263311903
0.08697705580875385
0.08668099935490016
0.08638536331256187
0.08609015397416445
0.08579537758111927
0.08550104032332906
0.08520714833870573
0.08491370771270074
0.08462072447784776
0.08432820461331815
0.08403615404448862
0.08374457864252184
0.08345348422395946
0.08316287655032788
0.08287276132775662
0.08258314420660934
0.08229403078112776
0.0820054265890878
0.08171733711146892
0.0814297677721358
0.08114272393753284
0.08085621091639107
0.0805702339594481
0.08028479825918014
0.0799999089495471
0.07971557110574984
0.07943178974400006
0.07914856982130267
0.07886591623525055
0.07858383382383158
0.07830232736524798
0.07802140157774806
0.07774106111946992
0.07746131058829733
0.07718215452172772
0.07690359739675198
0.0766256436297464
0.0763482975763761
0.07607156353151036
0.07579544572914955
0.07551994834236365
0.07524507548324208
0.07497083120285497
0.0746972194912257
0.07442424427731446
0.074151909429013
0.07388021875315015
0.07360917599550836
0.07333878484085066
0.07306904891295851
0.07279997177467978
0.07253155692798749
0.07226380781404827
0.07199672781330141
0.07173032024554753
0.0714645883700472
0.07119953538562933
0.07093516443080897
0.07067147858391472
0.07040848086322538
0.07014617422711561
0.06988456157421095
0.06962364574355134
0.0693634295147637
0.06910391560824279
0.06884510668534087
0.06858700534856542
0.06832961414178504
0.06807293555044354
0.06781697200178158
0.06756172586506647
0.06730719945182899
0.06705339501610816
0.06680031475470286
0.06654796080743088
0.0662963352573947
0.06604544013125424
0.06579527739950611
0.06554584897676961
0.06529715672207886
0.06504920243918128
0.06480198787684201
0.06455551472915441
0.06430978463585615
0.06406479918265089
0.0638205599015356
0.06357706827113306
0.06333432571702949
0.06309233361211719
0.06285109327694216
0.06261060598005627
0.06237087293837413
0.062131895317534165
0.061893674232264335
0.06165621074675157
0.06141950587501546
0.061183560581285656
0.060948375780383084
0.06071395233810452
0.06048029107161093
0.06024739274981861
0.06001525809379392
0.05978388777715082
0.05955328242645117
0.059323442621608054
0.059094368896291466
0.05886606173833653
0.05863852159015421
0.05841174884914395
0.05818574386810869
0.05796050695567179
0.0577360383766955
0.05751233835270159
0.057289407062293345
0.057067244641578946
0.056845851184596466
0.0566252267437398
0.0564053713301861
0.056186284914323835
0.055967967426182
0.05575041875586013
0.055533638753958704
0.055317627232010676
0.05510238396291277
0.054887908681357844
0.054674201084267
0.0544612608312222
0.05424908754489864
0.05403768081149747
0.053827040181178024
0.05361716516849015
0.053408055252805973
0.05319970987875145
0.05299212845663729
0.05278531036288949
0.05257925494047901
0.05237396149935088
0.05216942931685237
0.0519656576381603
0.051762645676707415
0.051560392614607646
0.051358897603080336
0.05115815976287306
0.050958178184683504
0.05075895192957964
0.05056048002941877
0.05036276148726501
0.050165795277805174
0.04996958034776304
0.04977411561631222
0.04957939997548691
0.04938543229059118
0.04919221140060623
0.04899973611859592
0.04880800523211016
0.0486170175035865
0.048426771670749595
0.04823726644700848
0.04804850052185193
0.0478604725612414
0.047673181208001895
0.047486625082210326
0.0473008027815821
0.04711571288185472
0.046931353937169185
0.04674772448044916
0.04656482302377775
0.04638264805877135
0.04620119805695109
0.04602047147011203
0.04584046673068962
0.04566118225212332
0.04548261642921765
0.04530476763850076
0.0451276342385803
0.04495121457049623
0.04477550695807112
0.04460050970825762
0.04442622111148342
0.04425263944199298
0.04407976295818643
0.04390758990295602
0.0437361185040195
0.04356534697425063
0.04339527351200659
0.04322589630145267
0.04305721351288452
0.04288922330304652
0.04272192381544788
0.04255531318067554
0.042389389516704505
0.042224150929204604
0.04205959551184472
0.041895721346593855
0.04173252650401953
0.04157000904358283
0.041408167013930554
0.04124699845318443
0.041086501389227655
0.04092667383998794
0.04076751381371772
0.04060901930927156
0.04045118831638062
0.04029401881592387
0.04013750878019633
0.039981656173174694
0.03982645895077973
0.03967191506113579
0.039518022444827196
0.03936477903515188
0.039212182758372155
0.0390602315339624
0.03890892327485364
0.03875825588767559
0.03860822727299569
0.0384588353255551
0.03831007793450178
0.0381619529836209
0.03801445835156232
0.03786759191206528
0.037721351534179874
0.03757573508248605
0.03743074041731
0.03728636539493737
0.0371426078678234
0.03699946568480113
0.036856936691286334
0.03671501872947966
0.03657370963856607
0.036433007254911824
0.03629290941225856
0.03615341394191479
0.03601451867294441
0.035876221432353014
0.03573852004527145
0.03560141233513664
0.03546489612386974
0.03532896923205182
0.03519362947909731
0.035058874683424376
0.03492470266262284
0.03479111123362002
0.03465809821284367
0.034525661416382684
0.03439379866014508
0.034262507760013806
0.034131786532000156
0.034001632792394626
0.03387204435791531
0.03374301904585425
0.03361455467422132
0.03348664906188573
0.033359300028715205
0.033232505395712965
0.033106262985152575
0.032980570620710366
0.032855426127595615
0.03273082733267868
0.03260677206461701
0.0324832581539788
0.03236028343336452
0.032237845737526506
0.03211594290348644
0.03199457277065067
0.03187373318092332
0.03175342197881763
0.031633637011565394
0.031514376129224
0.03139563718478169
0.03127741803426095
0.031159716536820033
0.031042530554852236
0.030925857954083657
0.0308096966036688
0.03069404437628452
0.030578899148222184
0.030464258799477697
0.030350121213840002
0.030236484278977946
0.030123345886525058
0.030010703932162718
0.029898556315701704
0.029786900941162053
0.029675735716851146
0.029565058555440123
0.02945486737403873
0.02934516009426874
0.029235934642335402
0.029127188949097507
0.02901892095013595
0.028911128585820782
0.028803809801376548
0.028696962546946297
0.028590584777653888
0.02848467445366538
0.02837922954024824
0.02827424800782963
0.028169727832053078
0.02806566699383396
0.027962063479413404
0.02785891528041078
0.02775622039387513
0.027653976822335183
0.027552182573847846
0.02745083566204572
0.027349934106183138
0.02724947593118104
0.02714945916767076
0.027049881852036144
0.026950742026454973
0.026852037738938957
0.026753767043372734
0.02665592799955128
0.026558518673216642
0.026461537136093578
0.026364981465923698
0.026268849746498867
0.026173140067693203
0.026077850525494592
0.02598297922203449
0.025888524265617094
0.025794483770747462
0.0257008558581586
0.025607638654837526
0.025514830294050418
0.025422428915366738
0.02533043266468262
0.025238839694243138
0.02514764816266363
0.02505685623495031
0.02496646208251993
0.02487646388321854
0.02478685982133941
0.024697648087639988
0.02460882687935836
0.024520394400228605
0.024432348860495445
0.02434468847692794
0.024257411472832918
0.024170516078066986
0.02408400052904818
0.023997863068766775
0.023912101946795505
0.023826715419298858
0.0237417017490417
0.02365705920539735
0.02357278606435493
0.023488880608526
0.02340534112715041
0.02332216591610183
0.023239353277892425
0.02315690152167695
0.023074808963256102
0.02299307392507959
0.02291169473624833
0.02283066973251622
0.02274999725629117
0.022669675656635767
0.022589703289267325
0.02251007851655743
0.022430799707530643
0.022351865237863276
0.022273273489881153
0.02219502285255717
0.022117111721508
0.022039538498990794
0.021962301593899104
0.021885399421758423
0.02180883040472115
0.02173259297156136
0.021656685557668934
0.02158110660504336
0.021505854562286934
0.02143092788459788
0.02135632503376278
0.0212820444781487
0.021208084692694976
0.02113444415890446
0.02106112136483471
0.020988114805088463
0.020915422980803938
0.020843044399644788
0.02077097757578965
0.020699221029921454
0.020627773289216205
0.02055663288733171
0.02048579836439585
0.020415268266994514
0.0203450411481593
0.020275115567354854
0.020205490090466054
0.020136163289784844
0.020067133743996622
0.01999840003816672
0.019929960763726252
0.019861814518458143
0.019793959906482243
0.019726395538240925
0.01965912003048408
0.019592132006253815
TITLE, STRING="Chopper cavity test (two rfcavities)";

OPTION,
VERSION = 23000,
//SEED = 123456789, // fix seed for particle generation and
comparison reason
ECHO = false,
INFO = false,
STATDUMPFREQ = 1, //[1] after how many time steps we dump statistical
data
ENABLEHDF5 = true,
PSDUMPFREQ = 100, //[1] Affects the stdout information **BUNCH**
AUTOPHASE = 6; // how accurate the search for the phase at which the
maximal energy is gained (default=6, off=-1)

//----------------------------------------------------------------------------
// Beam parameter
REAL freq_Hz = 1.30294e9;
//REAL Qbunch = 0.77e-12; // 1mA
REAL Qbunch = 0.77e-15; //1 uA
REAL current = Qbunch*freq_Hz;

// Simulation parameter
REAL nelectrons = 10000; //[1e4]
REAL dt_s = 10e-12; //[10e-12] time step in s
REAL zstop = 1; // in m

//----------------------------------------------------------------------------
// Distribution
distr_gauss_injected:
DISTRIBUTION,
TYPE = GAUSS,
SIGMAR = 1.0e-3, CUTOFFR = 3,
SIGMAZ = 0.001, CUTOFFLONG = 3,
OFFSETZ = -0.2,
EMITTED=false;
//DEBUG SIGMAZ = 0.015960;
// [SIGMAZ]=m;

//----------------------------------------------------------------------------
// Fieldsolver
fieldsolver_default:
FIELDSOLVER,
FSTYPE = FFT, // Specify type of field solver ("none" does not
respect space charge)
MX = 20, // Number of grid points in x specifying rectangluar grid
MY = 20,
MT = 20,
PARFFTX = true, // dimension x is distributed among the processors
PARFFTY = true,
PARFFTT = false, // changed that!
BCFFTX = open, // Boundary condition in x,y options: [open]
BCFFTY = open,
BCFFTT = open, // Boundary condition in z options: [open, periodic]
BBOXINCR = 10, // Enlargement of the bounding box in %
GREENSF = INTEGRATED;

//----------------------------------------------------------------------------
// Source
cathode: SOURCE, ELEMEDGE = -0.2; // not yet known if really necessary

//----------------------------------------------------------------------------
// Solenoid
chop_sol: SOLENOID,
APERTURE = "circle(0.04)", L = 0.2,
Z = 0.0, KS = 22e-3, FMAPFN="solenoid_fieldmap_1D.t7";

//----------------------------------------------------------------------------
//Drifts
beampipe: DRIFT, APERTURE = "circle(0.04)", ELEMEDGE = 0, L = zstop;
beamdump: DRIFT, APERTURE = "circle(0.04)", ELEMEDGE = zstop, L = 1e-3;

//----------------------------------------------------------------------------
// Monitors
mon1: MONITOR, ELEMEDGE = 0.10, OUTFN="screen_sol_in";
mon2: MONITOR, ELEMEDGE = 0.30, OUTFN="screen_sol";
mon3: MONITOR, ELEMEDGE = 0.90, OUTFN="screen_sol_out";
monline: LINE=(mon1, mon2, mon3);

//----------------------------------------------------------------------------
// Beamline
mybeamline: LINE = (cathode, chop_sol, monline, beampipe); //Debug

//----------------------------------------------------------------------------
// Beam
mybeam: BEAM,
PARTICLE = ELECTRON,
ENERGY = EMASS+1e-4, // in MeV // But for gun no starting energy
needed
// ENERGY = EMASS+1e-9, // in GeV
BCURRENT = current, // in A
NPART = nelectrons,
BFREQ = freq_Hz*1e-6; // [BFREQ] = MHz

//----------------------------------------------------------------------------
// Simulation
TRACK,
LINE = mybeamline,
BEAM = mybeam,
MAXSTEPS=10000,
DT=dt_s, // in s
ZSTOP=zstop; // in m

RUN,
METHOD = "OPAL-T",
BEAM = mybeam,
FIELDSOLVER=fieldsolver_default,
DISTRIBUTION=distr_gauss_injected;

ENDTRACK;

// SYSTEM, "python3 python_xy_multimon_enhanced.py $(ls screen_*.h5)";

STOP;



Archive powered by MHonArc 2.6.19.

Top of Page