Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
515ae69e
Commit
515ae69e
authored
14 years ago
by
nadolski
Browse files
Options
Downloads
Patches
Plain Diff
new file for code checking
parent
11645c56
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tracy/tools/Input_checkcode.prm
+144
-0
144 additions, 0 deletions
tracy/tools/Input_checkcode.prm
with
144 additions
and
0 deletions
tracy/tools/Input_checkcode.prm
0 → 100644
+
144
−
0
View file @
515ae69e
#*******************************************************************
# 28 septembre 2010
# File for checking TRacy is running well
#
# input script to set the file and bool flag
#
# comments:
# 1) blank line and line starting with "#" (comment) are ignored
# 2) obligatory parameter: lat_file
# 3) all the other parameters are optional, and all the default
# values for flags are false
# 4) if set ExperimentFMAFlag or detailedFMAFlag to be true,
# FmapFlag must be true
# 5) if ThinsextFlag is true, MultipoleFlag must be true
# 6) if set ChamberNoU20Flag or ReadChamberFlag to be true,
# ChamberFlag must be true
#******************************************************************
#
#******files********
# relative directory of the files in the script
# in_dir /Users/nadolski/codes/tracy/TracyIII/tracy/tools/
in_dir /Users/nadolski/codes/tracy/maille/soleil/
# lattice file wihout .lat extension
# lat_file soleil_HU36_checkcode
lat_file solamor2_reglage_focalisation_chcvqt_thicksextu_LQPintermediaire_QFF
# lat_file modele_complet_202_317_ksi_2_2_wiggler_slicing_SX8mod
#*******boolean flag***********
# VACCUUM CHAMBER PART
# vacuum chamber file
chamber_file /Users/nadolski/codes/tracy/TracyIII/Tracy/tools/Chamber_example.dat
# read vacuum chamber from chamber_file, ChamberFlag must be true, if
# ReadChamberFlag is true
ReadChamberFlag false
# include vacuum chamber
ChamberFlag true
# include vacuum chamber but no U20, ChamberFlag must be true, if
# ChamberNoU20Flag is true
ChamberNoU20Flag false
# GLOBAL PARAMETER PART
# Activate quadrupole Fringefield
globval.quad_fringe true
# include RF Cavity or not and set
# 4D/6D tracking, true=6D, false=4D
globval.Cavity_on false
# tune obtained by tracking
TuneTracFlag true
# chromaticity obtained by tracking
ChromTracFlag true
###
# TUNESHIFT WITH AMPLITUDE
###
# tune shift with amplitude and energy
# AmplitudeTuneShiftFlag flag Nbx Nby TurnNumber xmax(m) ymax(m) delta
# Nbx and Nby Number of amplitude values in H et V planes
# TurnNumber number of turns for tracking
# xmax ymax maximum amplitude value (sqrt law)
# delta energy offset
AmplitudeTuneShiftFlag true 31 21 516 0.025 0.005 0.0
# EnergyTuneShiftFlag flag Nb TurnNumber emax
# Nb point number
# TurnNumber number of turn for tracking
# emax maximum energy for tracking
EnergyTuneShiftFlag true 31 516 0.06
####
# FMA calculate frequency map
####
FmapFlag false
# experiment Fmap, FmapFlag must be true if ExperimentFMAFlag is true
# ExperimentFMAFlag flag Nbx Nby TurnNumber xmax(m) ymax(m) energyoffset diffusionflag
# Nbx Nby nuber of point in h and v planes
# TurnNumber Number of turns for tracking
# xmax, ymax maximum amplitude
# energyoffset
# diffusionflag to compute tunediffusion
ExperimentFMAFlag true 31 21 516 0.025 0.005 0.0 true
# detailed Fmap, FmapFlag must be true if DetailedFMAFlag is true
DetailedFMAFlag true
# error coupling
ErrorCouplingFlag true
# coupling flag
CouplingFlag true
# calculate momentum acceptance for Touscheck lifetime
# istart istop eminp emaxp nstepp eminn emaxn nstepn
#
MomentumAccFlag false 1 108 0.01 0.05 100 -0.01 -0.05 100
####
#### MULTIPOLE FACTORY
# include multipole error into the lattice
MultipoleFlag true
# set multipole with thin or thick lens model,
# MultipoleFlag must be true if ThinsextFlag is true
ThinsextFlag false
# files for looking for the multipole of corrector (Machine current based)
fic_hcorr /Users/nadolski/Documents/codes/tracy/maille/soleil/corh.txt
fic_vcorr /Users/nadolski/Documents/codes/tracy/maille/soleil/corv.txt
fic_skew /Users/nadolski/Documents/codes/tracy/maille/soleil/corqt.txt
###
### FITTING FACTORY
###
# fit tune
# name flag targetnudx targetnudz
FitTuneFlag true 18.202 10.317
# fit chromaticity
# name flag targetksix targetksiz
FitChromFlag true 2.0 2.6
### OTHER
# include girder error
GirderErrorFlag false
# plot beam size around the ring
SigmaFlag true
# specific for test
PX2Flag false
# calculate induced amplitude
InducedAmplitudeFlag false
# specific for test
CodeComparaisonFlag false
# calculate Eta function
EtaFlag false
# calculate phase space
PhaseSpaceFlag false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment