Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:04

0001 #ifndef MAD_TRACK_H
0002 #define MAD_TRACK_H
0003 
0004 // types
0005 
0006 struct in_cmd;
0007 struct command;
0008 
0009 // interface
0010 
0011 void  pro_track(struct in_cmd*);
0012 void  track_pteigen(double* eigen);
0013 void  track_tables_dump(void);
0014 void  track_tables_create(struct in_cmd*);
0015 void  track_tables_delete(void);
0016 void  track_start(struct command*);
0017 
0018 /**
0019  * Used by copytrackstoarray
0020  * Used in madx_ptc_trackcavs.f90
0021  */
0022 void  deletetrackstrarpositions(void);
0023 int   getcurrentcmdname(char* string);
0024 int   getnumberoftracks(void);
0025 /**
0026  * Used in madx_ptc_trackcavs.f90
0027  */
0028 int   gettrack(int* nt, double* x, double* px, double* y, double* py, double* t, double* pt);
0029 
0030 int   next_start(double* x, double* px, double* y, double* py, double* t, double* deltae,
0031                  double* fx,double* phix, double* fy, double* phiy, double* ft,double* phit);
0032 
0033 
0034 /**
0035  * Used in RPLOT plugin
0036  */
0037 const char* getcurrentelementname(void);
0038 
0039 #endif // MAD_TRACK_H
0040