1 | #ifndef REGISTRY_H |
---|
2 | #define NAMELEN 8092 |
---|
3 | #define MAXDIMS 21 |
---|
4 | #define MAX_DYNCORES 50 /* ha ha, just kidding */ |
---|
5 | /* #define MAX_ARGLINE 175 WRF uses 128 by default, but the nested chem version hit the continuation line limit for efc so it had to be increased, wig 14-Oct-2004 */ |
---|
6 | #define MAX_ARGLINE 128 /* welp, 175 means lines longer than 130 chars, which is a Fortran no no */ |
---|
7 | #define MAX_TYPEDEFS 50 /* typedef history -ajb */ |
---|
8 | |
---|
9 | /* defines of system commands */ |
---|
10 | #define UNIQSORT "/bin/sort -u" |
---|
11 | #define CATCOMM "/bin/cat" |
---|
12 | #define RMCOMM "/bin/rm" |
---|
13 | #define MVCOMM "/bin/mv" |
---|
14 | |
---|
15 | #define DRIVER_LAYER 100 |
---|
16 | #define MEDIATION_LAYER 200 |
---|
17 | |
---|
18 | enum coord_axis { COORD_X , COORD_Y , COORD_Z , COORD_C } ; |
---|
19 | enum len_defined_how { DOMAIN_STANDARD , NAMELIST , CONSTANT } ; |
---|
20 | enum type_type { SIMPLE , DERIVED } ; |
---|
21 | enum proc_orient { ALL_Z_ON_PROC , ALL_X_ON_PROC , ALL_Y_ON_PROC } ; |
---|
22 | |
---|
23 | /* node_kind mask settings */ |
---|
24 | #define FIELD 1 |
---|
25 | #define I1 2 |
---|
26 | #define RCONFIG 4 |
---|
27 | #define FOURD 8 |
---|
28 | #define MEMBER 16 |
---|
29 | #define TYPE 32 |
---|
30 | #define DIM 64 |
---|
31 | #define PACKAGE 128 |
---|
32 | #define HALO 256 |
---|
33 | #define PERIOD 512 |
---|
34 | #define SWAP 1024 |
---|
35 | #define CYCLE 2048 |
---|
36 | #define XPOSE 4096 |
---|
37 | #define FOURD1 8192 |
---|
38 | #define BDYONLY 16384 |
---|
39 | |
---|
40 | /* I/O mask settings bit */ |
---|
41 | #define HISTORY 0x00000002 /* 1 */ |
---|
42 | #define AUXHIST1 0x00000004 /* 2 */ |
---|
43 | #define AUXHIST2 0x00000008 /* 3 */ |
---|
44 | #define AUXHIST3 0x00000010 /* 4 */ |
---|
45 | #define AUXHIST4 0x00000020 /* 5 */ |
---|
46 | #define AUXHIST5 0x00000040 /* 6 */ |
---|
47 | #define AUXHIST6 0x00000080 /* 7 */ |
---|
48 | #define AUXHIST7 0x00000100 /* 8 */ |
---|
49 | #define AUXHIST8 0x00000200 /* 9 */ |
---|
50 | #define AUXHIST9 0x00000400 /* 0 */ |
---|
51 | #define AUXHIST10 0x00000800 /* 11 */ |
---|
52 | #define AUXHIST11 0x00001000 /* 12 */ |
---|
53 | #define INPUT 0x00002000 /* 13 */ |
---|
54 | #define AUXINPUT1 0x00004000 /* 14 */ |
---|
55 | #define AUXINPUT2 0x00008000 /* 15 */ |
---|
56 | #define AUXINPUT3 0x00010000 /* 16 */ |
---|
57 | #define AUXINPUT4 0x00020000 /* 17 */ |
---|
58 | #define AUXINPUT5 0x00040000 /* 18 */ |
---|
59 | #define AUXINPUT6 0x00080000 /* 19 */ |
---|
60 | #define AUXINPUT7 0x00100000 /* 10 */ |
---|
61 | #define AUXINPUT8 0x00200000 /* 21 */ |
---|
62 | #define AUXINPUT9 0x00400000 /* 22 */ |
---|
63 | #define AUXINPUT10 0x00800000 /* 23 */ |
---|
64 | #define AUXINPUT11 0x01000000 /* 24 */ |
---|
65 | #define RESTART 0x02000000 /* 25 */ |
---|
66 | #define BOUNDARY 0x04000000 /* 26 */ |
---|
67 | #define INTERP_DOWN 0x08000000 /* 27 */ |
---|
68 | #define FORCE_DOWN 0x10000000 /* 28 */ |
---|
69 | #define INTERP_UP 0x20000000 /* 29 */ |
---|
70 | #define SMOOTH_UP 0x40000000 /* 20 */ |
---|
71 | #define METADATA 0x80000000 /* 31 */ |
---|
72 | |
---|
73 | |
---|
74 | #define REGISTRY_H |
---|
75 | #endif |
---|
76 | |
---|