Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ccc() in OE gfile and defining FMIRR=10: preparing CRL
- Loading branch information
Showing
9 changed files
with
585 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,4 @@ START STEP7 cleaning *.f90 | |
START STEP8 mv preprocessors routines to math | ||
|
||
|
||
See log in git repository... |
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
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 |
---|---|---|
@@ -0,0 +1,160 @@ | ||
$tsour | ||
fdistr = 2 - defines source angle distribution types: | ||
Available options are: flat(1),uniform(2), | ||
gaussian(3), synchrotron(4), conical(5), exact | ||
synchrotron(6). | ||
fgrid = 0 - defines source modelling type -- | ||
spatial/momentum space. Options are: | ||
RANDOM/RANDOM (0), GRID/GRID (1), GRID/RANDOM | ||
(2), RANDOM/GRID (3), ELLIPSE in phase/RANDOM on | ||
the ellipse (4), ELLIPSE in phase/GRID on the | ||
ellipse (5). | ||
fsour = 0 - spatial source type/shape in X-Z plane. Options are: | ||
point (0), rectangle (1), ellipse (2), gaussian | ||
(3). | ||
fsource_depth = 1 - defines the source depth (Y). Options | ||
are: no depth (1), flat depth (2), | ||
gaussian (3), synchrotron depth (4). | ||
f_coher = 0 - if generating the A vectors, defines | ||
whether the light is incoherent (0), or | ||
coherent (1). | ||
f_color = 1 - photon energy distribution type. Options | ||
are: single energy (1), mutliple | ||
discrete energies, up to 10 energies | ||
(2), uniform energy distribution (3). | ||
f_phot = 0 - defines whether the photon energy will be | ||
specified in eV (0) or Angstroms (1). | ||
f_pol = 0 - for synchrotron and wiggler sources defines the | ||
polarization component of interest: parallel (1), | ||
perpendicular (2), total (3). | ||
f_polar = 1 - flag defining whether or not to generate | ||
the A vectors: yes (1), no (0). | ||
f_opd = 0 - flag defining whether or not to save the optical | ||
paths (OPD): yes (1), no (0). | ||
f_wiggler = 0 - source type. Options: regular/bending | ||
magnet/synchrotron (0), wiggler (1), | ||
undulator (2). | ||
f_bound_sour = 0 - flag defining whether or not to optimize | ||
the source: yes (1), no (0). | ||
f_sr_type = 0 - for synchrotron sources, distribution in | ||
terms of: photons (0), or power | ||
distribution (1). | ||
istar1 = 478291 - seed for random number generator, odd. | ||
npoint = 5000 - number of random rays (0-5000). | ||
ncol = 0 - source generation routines will fill in the | ||
number of columns in your source. | ||
n_circle = 0 - for fgrid=1,3 and fdistr=5; number of | ||
grid points along each circle. | ||
n_color = 0 - for f_color=2, number of discrete lines | ||
in energy, maximum = 10. | ||
n_cone = 0 - for fgrid=1,3 and fdistr=5; number of grid | ||
points along the radius(number of concentric circles). | ||
ido_vx = 1 - for fgrid=1,3; number of grid points in | ||
horizontal angle distribution. | ||
ido_vz = 1 - for fgrid=1,3; number of grid points in vertical | ||
angle distribution. | ||
ido_x_s = 1 - for fgrid=1,2; fsour=1 points along x, | ||
fsour=2 number of concentric ellipses. | ||
ido_y_s = 1 - for fgrid=1,2; number of points along | ||
depth (Y). | ||
ido_z_s = 1 - for fgrid=1,2; fsour=1 points along z, | ||
fsour=2 number of concentric ellipses. | ||
ido_xl = 0 - for fgrid=4,5; number of sigma levels in X for | ||
phase space ellipse source. | ||
ido_xn = 0 - for fgrid=5; number of rays/sigma level in X | ||
ido_zl = 0 - for fgrid=4,5; number of sigma levels in X for | ||
phase space ellipse source. | ||
ido_zn = 0 - for fgrid=5; number of rays/sigma level in Z. | ||
sigxl1 = 0.0000000000000000E+00 - for fgrid=4,5; values for sigma | ||
sigxl2 = 0.0000000000000000E+00 levels in X. | ||
sigxl3 = 0.0000000000000000E+00 | ||
sigxl4 = 0.0000000000000000E+00 | ||
sigxl5 = 0.0000000000000000E+00 | ||
sigxl6 = 0.0000000000000000E+00 | ||
sigxl7 = 0.0000000000000000E+00 | ||
sigxl8 = 0.0000000000000000E+00 | ||
sigxl9 = 0.0000000000000000E+00 | ||
sigxl10 = 0.0000000000000000E+00 | ||
sigzl1 = 0.0000000000000000E+00 - for fgrid=4,5; values for sigma | ||
sigzl2 = 0.0000000000000000E+00 levels in Z. | ||
sigzl3 = 0.0000000000000000E+00 | ||
sigzl4 = 0.0000000000000000E+00 | ||
sigzl5 = 0.0000000000000000E+00 | ||
sigzl6 = 0.0000000000000000E+00 | ||
sigzl7 = 0.0000000000000000E+00 | ||
sigzl8 = 0.0000000000000000E+00 | ||
sigzl9 = 0.0000000000000000E+00 | ||
sigzl10 = 0.0000000000000000E+00 | ||
conv_fact = 0.0000000000000000E+00 - for fwiggler=1; conversion | ||
factor from meters to user units. | ||
cone_max = 0.0000000000000000E+00 - for fdistr=5; maximum half | ||
divergence. | ||
cone_min = 0.0000000000000000E+00 - for fdistr=5; minimum half | ||
divergence. | ||
epsi_dx = 0.0000000000000000E+00 - for fdistr=4,6 or fwiggler=1; | ||
in X, the distance from the waist | ||
that the emittance value corresponds | ||
to, signed. | ||
epsi_dz = 0.0000000000000000E+00 - for fdistr=4,6 or fwiggler=1; | ||
in Z, the distance from the | ||
waist that the emittance value | ||
corresponds to, signed. | ||
epsi_x = 0.0000000000000000E+00 - for fdistr=4,6 or fwiggler=1; the | ||
beam emittance in units of radians*length | ||
units used so far. (in X) | ||
epsi_z = 0.0000000000000000E+00 - for fdistr=4,6 or fwiggler=1; the | ||
beam emittance (in Z) in units of | ||
radians*length units used so far. | ||
hdiv1 = 0.0000000000000000E+00 - horizontal divergence in +X (radians). | ||
hdiv2 = 0.0000000000000000E+00 - horizontal divergence in -X (radians). | ||
ph1 = 11160.00000000000 - photon energy: f_color=1 desired | ||
energy, f_color=2 first energy line, | ||
f_color=3 minimum energy. | ||
ph2 = 0.0000000000000000E+00 - photon energy: f_color=2 second energy | ||
line, f_color=3 maximum energy. | ||
ph3 = 0.0000000000000000E+00 - photon energy: f_color=2 third energy | ||
line. | ||
ph4 = 0.0000000000000000E+00 | ||
ph5 = 0.0000000000000000E+00 | ||
ph6 = 0.0000000000000000E+00 | ||
ph7 = 0.0000000000000000E+00 | ||
ph8 = 0.0000000000000000E+00 | ||
ph9 = 0.0000000000000000E+00 | ||
ph10 = 0.0000000000000000E+00 | ||
bener = 0.0000000000000000E+00 - for fdistr=4,6 or f_wiggler=1; | ||
Electron beam energy (GeV). | ||
pol_angle = 0.0000000000000000E+00 - for f_polar=1; phase | ||
difference in degrees. | ||
pol_deg = 0.0000000000000000E+00 - for f_polar=1; degree of | ||
polarization (between 0 and 1). | ||
r_aladdin = 0.0000000000000000E+00 - for fdistr=4,6 or f_wiggler=1; | ||
bending magnet radius in units | ||
of length used for source | ||
size, CCW rings negative. | ||
r_magnet = 0.0000000000000000E+00 - for fdistr=4,6 or f_wiggler=1; | ||
bending magnet radius (m). | ||
sigdix = 0.0000000000000000E+00 - for fdistr=3; sigma (radians)for horizontal | ||
divergence (gaussian angle distribution). | ||
sigdiz = 0.0000000000000000E+00 - for fdistr=3; sigma (radians) for vertical | ||
divergence (gaussian angle distribution). | ||
sigmax = 0.0000000000000000E+00 - for fsour=3; sigma in X | ||
sigmay = 0.0000000000000000E+00 - for fsource_depth=3; sigma in Y | ||
sigmaz = 0.0000000000000000E+00 - for fsour=3; sigma in Z | ||
vdiv1 = 6.0000000000000002E-05 - vertical divergence in +Z (radians). | ||
vdiv2 = 6.0000000000000002E-05 - vertical divergence in -Z (radians). | ||
wxsou = 0.0000000000000000E+00 - for fsour=1,2; source width (X). | ||
wysou = 0.0000000000000000E+00 - for fsource_depth=2; source depth (Y). | ||
wzsou = 0.0000000000000000E+00 - for fsour=1,2; source height (Z). | ||
file_traj = - for fwiggler=1,2; filename containing | ||
'' the electron trajectoryfor wigglers or | ||
the CDF's for undulators. (from | ||
make_id). | ||
file_source = - filled in by source generation. | ||
'' | ||
file_bound = - for f_bound_sour=1; file containing | ||
'' the output of reflag and histo3. | ||
oe_number = 0 - the last variables are set in the | ||
idummy = 0 source generation and recorded in | ||
dummy = 0.0000000000000000E+00 END.00 file. They should be left | ||
f_new = 0 alone. | ||
$end |