Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef MAD_GCST_H
0002 #define MAD_GCST_H
0003 
0004 /* Temporary file: global constants
0005    these constants will be split over their respective modules...
0006    and should be const pointers to constant values...
0007 */
0008 
0009 extern const char* const version_name;
0010 extern const char* const version_arch;
0011 extern const char* const version_ostype;
0012 extern const char* const version_date;
0013 
0014 extern const char* const functs[];
0015 extern const char* const op_string;
0016 extern const char* const file_string;        /* to avoid local in routine alias */
0017 extern const char* const vrai;               /* to avoid local in routine alias */
0018 extern const char* const faux;               /* to avoid local in routine alias */
0019 extern const int n_match;         /* # of match token lists in cmd_match_base */
0020 extern const int s_match[];       /* position of first token of command below */
0021 extern const int t_match[];       /* order in which the commands are matched */
0022 extern const char* const cmd_match_base[];
0023 
0024 /* aperture types and # of parameters, needed for twiss table */
0025 
0026 extern const char* const aperture_types[];
0027 
0028 /*added 4, 3 and "racetrack" here */
0029 
0030 extern const int         aperture_npar[];
0031 
0032 /* table descriptors: type 1 = int, type 2 = double, type 3 = string;
0033    internally, however, int are stored as double */
0034 
0035 extern const int         ap_table_types[];
0036 extern const char* const ap_table_cols[];
0037 extern const int         survey_table_types[];
0038 extern const char* const survey_table_cols[];
0039 extern const int         efield_table_types[];
0040 extern const char* const efield_table_cols[];
0041 extern const char* const sxf_table_names[];
0042 
0043 extern const int         twiss_opt_end;   /* last column filled by twiss module */
0044 extern const int         twiss_mult_end;  /* last multipole column filled by complete_twiss_table */
0045 extern const int         twiss_fill_end;  /* last standard column filled by complete_twiss_table */
0046 /*== jln 11.11.2010 increased twiss_fill_end from 96 to 97 to accomodate for v_pos */
0047 
0048 /* warning: modify routine complete_twiss_table in case of changes */
0049 extern const int         twiss_table_types[];
0050 extern const char* const twiss_table_cols[];
0051 extern const int         twiss_sector_table_types[];
0052 extern const char* const twiss_sector_table_cols[];
0053 extern const int         ptc_twiss_summary_table_types[];
0054 extern const char* const ptc_twiss_summary_table_cols[];
0055 
0056 extern const int         bb6d_ixy_types[];
0057 extern const char* const bb6d_ixy_cols[];
0058 
0059 extern const int         ibs_table_types[];
0060 extern const char* const ibs_table_cols[];
0061 extern const int         map_tab_types[];
0062 extern const char* const map_tab_cols[];
0063 extern const int         normal_res_types[];
0064 extern const char* const normal_res_cols[];
0065 
0066 extern const int         sodd_detune_5_types[];
0067 extern const char* const sodd_detune_5_cols[];
0068 extern const int         sodd_distort1_8_types[];
0069 extern const char* const sodd_distort1_8_cols[];
0070 extern const int         sodd_distort1_11_types[];
0071 extern const char* const sodd_distort1_11_cols[];
0072 extern const int         sodd_distort2_9_types[];
0073 extern const char* const sodd_distort2_9_cols[];
0074 
0075 extern const int         touschek_table_types[];
0076 extern const char* const touschek_table_cols[];
0077 extern const int         mon_table_types[];
0078 extern const char* const mon_table_cols[];
0079 extern const int         corr_table_types[];
0080 extern const char* const corr_table_cols[];
0081 
0082 extern const int         orbit_table_types[];
0083 extern const char* const orbit_table_cols[];
0084 extern const int         special_comm_cnt[];
0085 extern const char* const special_comm_desc[]; 
0086 extern const int         summ_table_types[]; 
0087 
0088 extern const char* const summ_table_cols[]; 
0089 
0090 extern const int         trackone_table_types[];
0091 extern const char* const trackone_table_cols[];
0092 extern const int         track_table_types[];
0093 extern const char* const track_table_cols[];
0094 extern const int         track_table_cols_len;
0095 extern const int         tracksumm_table_types[];
0096 extern const char* const tracksumm_table_cols[];
0097 extern const int         ptcnodetrack_table_types[];
0098 extern const char* const ptcnodetrack_table_cols[];
0099 
0100 extern const int         trackloss_table_types[];
0101 extern const char* const trackloss_table_cols[];
0102 
0103 extern const char* const dist_table_cols[];
0104 extern const int         dist_table_types[];
0105 
0106 extern const int         dynap_table_types[];
0107 extern const char* const dynap_table_cols[];
0108 extern const int         dynaptune_table_types[];
0109 extern const char* const dynaptune_table_cols[];
0110 
0111 extern const int         emit_table_types[];
0112 extern const char* const emit_table_cols[];
0113 extern const int         emitsumm_table_types[];
0114 extern const char* const emitsumm_table_cols[];
0115 
0116 /* Definition of "select_ptc_normal" parameters for "ptc_normal"*/
0117 extern const char* const names[];
0118 extern const char* const atm[];
0119 extern const char* const atc[];
0120 
0121 extern const char*  atc_type;
0122 extern       int    atc_flag;
0123 
0124 extern const char*  atm_type;
0125 extern       int    atm_flag;
0126 
0127 extern const char* const nonlin_table_cols[];  
0128 extern const int    nonlin_table_types[];
0129 
0130 #endif // MAD_GCST_H