|
||||
File indexing completed on 2025-01-18 10:02:03
0001 #ifndef MAD_DEF_H 0002 #define MAD_DEF_H 0003 0004 // Temporary file: 0005 // these constants should be split over their respective modules... 0006 // and most of them should be replaced by constant variables or enums 0007 0008 /* preparation of Touschek */ 0009 /* defined constants for word lengths etc. */ 0010 #define ALIGN_MAX 14 /* alignment error array length */ 0011 #define EFIELD_TAB 42 /* field error array length for ESAVE table */ 0012 #define FIELD_MAX 42 /* field error array length */ 0013 #define RFPHASE_MAX 42 /* rf-phase error array length */ 0014 #define SEQ_DUMP_LEVEL 0 /* chooses amount of dumped output */ 0015 #define NAME_L 48 /* internal name length */ 0016 #define TITLE_SIZE 114 /* Size of the title for gnuplot ploting in tracking mode */ 0017 #define PTC_NAMES_L 13 /* Number of ptc variables treated in select_ptc_normal */ 0018 #define MAX_ROWS 101 /* Initial size of ptc_normal table */ 0019 #define FNAME_L 240 /* for file names */ 0020 #define INVALID 1.e20 /* used for erroneous value requests */ 0021 #define AUX_LG 50000 /* initial size for ancillary buffers */ 0022 #define MAX_ITEM 1000 /* initial # of items in tok_list etc. */ 0023 #define MAX_D_ITEM 30000 /* initial storage size for doubles */ 0024 #define MAX_LINE 20000 /* max. input line length (has to stay fixed) */ 0025 #define MAX_LOOP 100 /* max. count for (possibly circular) calls */ 0026 #define MAX_COND 100 /* max. nesting level for "if" and "while" */ 0027 #define MAX_TYPE 11 /* for SXF output */ 0028 #define MAX_TAG 50 /* for SXF output */ 0029 #define CHAR_BUFF_SIZE 100000 /* size of dynamic char_buff members */ 0030 #define IN_BUFF_SIZE 500000 /* initial size of buffer for command groups */ 0031 #define LINE_FILL 240 /* max. line length -2 for "save" output */ 0032 #define LINE_F_MAD8 70 /* the same, for mad-8 format */ 0033 #define MADX_LINE_MAX 78 /* for SXF output */ 0034 #define MATCH_WORK 10 /* no. of work spaces in matching */ 0035 #define USER_TABLE_LENGTH 100 /* initial length of user defined tables */ 0036 #define MAXARRAY 1000 /* max. length of apex tables in aperture module*/ 0037 #define DQ_DELTAP 1.e-6 /* deltap for difference calculation of chrom. */ 0038 0039 #define E_D_MAX 500 /* max. length of extra displacement tables (per element) */ 0040 #define E_D_LIST_CHUNK 1000 /* chunk to allocate memory for extra displacement tables */ 0041 0042 #define MADX_LONG 1 0043 #define MADX_DOUBLE 2 0044 #define MADX_STRING 3 0045 0046 #define MAX_TFS_ROW 2000 /* max. number of rows for SDDS conversion */ 0047 #define MAX_TFS_COL 500 /* max. number of columns for SDDS conversion */ 0048 0049 #endif // MAD_DEF_H 0050
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |