Changeset 24 in TRACY3
- Timestamp:
- Dec 19, 2013, 2:13:02 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 43 deleted
- 13 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/lattice
- Property svn:ignore
-
old new 1 .cvsignore 1 2
-
- Property svn:ignore
-
trunk/make_for_gcc.sh
r3 r24 3 3 set -x # for debugging 4 4 5 #=================================================== 6 # Compile non-parallel Tracy3 on the ubuntu 12.04 7 # 8 # 9 # Last updated by Jianfeng Zhang @LAL, 04/2012. 10 #=================================================== 5 11 6 12 -
trunk/make_for_tracy3.sh
r3 r24 3 3 #=================================================== 4 4 # script to compile non-parallel version tracy 5 # and paralle version tracy at SOLEIL cluster 6 # 7 # 8 # Last updated by L. Nadolski @SOLEIL, 12/2011. 5 9 #=================================================== 6 10 -
trunk/tracy
- Property svn:ignore
-
old new 1 .cvsignore 1 *.kdev4 2 .kdev4 3 config.h.in 4 configure.in 5 configure.ref 6 Makefile.in 7 8 9 10
-
- Property svn:ignore
-
trunk/tracy/TPSA
- Property svn:ignore
-
old new 1 .cvsignore 1 Makefile.in 2 3
-
- Property svn:ignore
-
trunk/tracy/tracy
- Property svn:ignore
-
old new 1 .cvsignore 1 Makefile.in
-
- Property svn:ignore
-
trunk/tracy/tracy/bin
- Property svn:ignore
-
old new 1 .cvsignore 1 soltracy
-
- Property svn:ignore
-
trunk/tracy/tracy/doc
- Property svn:ignore
-
old new 1 .cvsignore1 runme
-
- Property svn:ignore
-
trunk/tracy/tracy/inc
- Property svn:ignore
-
old new 1 .cvsignore 1 *.dat 2 3
-
- Property svn:ignore
-
trunk/tracy/tracy/lib
- Property svn:ignore
-
old new 1 .cvsignore 1
-
- Property svn:ignore
-
trunk/tracy/tracy/src
- Property svn:ignore
-
old new 1 .cvsignore 1 log 2 Makefile.in 3 *.out 4 *.dat 5 *.fft 6
-
- Property svn:ignore
-
trunk/tracy/tracy/src/t2elem.cc
r19 r24 1062 1062 close to the Forest's model and K. Brown's models. 1063 1063 1064 07/2013 Jianfeng Zhang @ LAL 1065 Fix the bug in x[py], change 1066 x0[y]/ (1.0 + x0[delta_]*1) to x0[y_]/ (1.0 + x0[delta_]*0), 1067 now the vertical chromaticity is not 0.5 as in ELEGANT. 1068 1064 1069 ****************************************************************************/ 1065 1070 template<typename T> 1066 1071 static void EdgeFocus(double irho, double phi, double gap, ss_vect<T> &x, bool Entrance) { 1067 1072 1073 ss_vect<T> x0; 1074 x0 = x; 1068 1075 1069 1076 if (true) { … … 1104 1111 //add the contribution of the entrance momentum of the particle, from Alex Loulergue. 1105 1112 if(Entrance){ 1106 x[px_] += irho * tan(dtor(phi) +x[py_]/(1+x[delta_]*1)) * x[x_]/ (1.0 + x[delta_]*0);1107 x[py_] -= irho * tan(dtor(phi) + x [px_]/(1+x[delta_]*1) - get_psi(irho, phi, gap)/(1+x[delta_]*0)) * x[y_]1108 / (1.0 + x [delta_]*0);1113 x[px_] += irho * tan(dtor(phi) ) * x0[x_]; 1114 x[py_] -= irho * tan(dtor(phi) + x0[px_]/(1+x0[delta_]*1) - get_psi(irho, phi, gap)/(1+x0[delta_]*0)) * x0[y_] 1115 / (1.0 + x0[delta_]*0); 1109 1116 }else{ 1110 x[px_] += irho * tan(dtor(phi) - x[py_]/(1+x[delta_]*1)) * x[x_]/ (1.0 + x[delta_]*0);1111 x[py_] -= irho * tan(dtor(phi) - x [px_]/(1+x[delta_]*1) - get_psi(irho, phi, gap)/(1+x[delta_]*0)) * x[y_]1112 / (1.0 + x [delta_]*0);1117 x[px_] += irho * tan(dtor(phi)) * x0[x_]; 1118 x[py_] -= irho * tan(dtor(phi) - x0[px_]/(1+x0[delta_]*1) - get_psi(irho, phi, gap)/(1+x0[delta_]*0)) * x0[y_] 1119 / (1.0 + x0[delta_]*0); 1113 1120 } 1114 1121
Note: See TracChangeset
for help on using the changeset viewer.