Go to the documentation of this file. 16 #include <autoconfig.H> 25 #include "NamespaceHeader.H" 27 #if !defined(CH_LANG_FORT) || defined(CH_LANG_CC) 55 #if ! defined(CH_SPACEDIM) 56 #error CH_SPACEDIM must be defined 59 #if (CH_SPACEDIM < 1 || CH_SPACEDIM > 6) 60 #error CH_SPACEDIM must be either 1, 2, 3, 4, 5, or 6 67 #include "NamespaceFooter.H" 77 #ifndef LAST_SPACE_H_SPACEDIM 78 #define LAST_SPACE_H_SPACEDIM 0 81 #if CH_SPACEDIM != LAST_SPACE_H_SPACEDIM 82 #undef LAST_SPACE_H_SPACEDIM 97 # define D_EXPR(a,b,c) ((void)((a),0)) 98 # define D_DECL(a,b,c) a 99 # define D_TERM(a,b,c) a 100 # define D_SELECT(a,b,c) a 101 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),0)) 102 # define D_DECL6(a,b,c,d,e,f) a 103 # define D_TERM6(a,b,c,d,e,f) a 104 # define D_SELECT6(a,b,c,d,e,f) a 105 # define LAST_SPACE_H_SPACEDIM 1 109 # define D_EXPR(a,b,c) ((void)((a),(b),0)) 110 # define D_DECL(a,b,c) a,b 111 # define D_TERM(a,b,c) a b 112 # define D_SELECT(a,b,c) b 113 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),(b),0)) 114 # define D_DECL6(a,b,c,d,e,f) a,b 115 # define D_TERM6(a,b,c,d,e,f) a b 116 # define D_SELECT6(a,b,c,d,e,f) b 117 # define LAST_SPACE_H_SPACEDIM 2 147 # define D_EXPR(a,b,c) ((void)((a),(b),(c),0)) 148 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),(b),(c),0)) 175 # define D_DECL(a,b,c) a,b,c 176 # define D_DECL6(a,b,c,d,e,f) a,b,c 198 # define D_TERM(a,b,c) a b c 199 # define D_TERM6(a,b,c,d,e,f) a b c 217 # define D_SELECT(a,b,c) c 218 # define D_SELECT6(a,b,c,d,e,f) c 220 # define LAST_SPACE_H_SPACEDIM 3 228 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),(b),(c),(d),0)) 229 # define D_DECL6(a,b,c,d,e,f) a,b,c,d 230 # define D_TERM6(a,b,c,d,e,f) a b c d 231 # define D_SELECT6(a,b,c,d,e,f) d 232 # define LAST_SPACE_H_SPACEDIM 4 235 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),(b),(c),(d),(e),0)) 236 # define D_DECL6(a,b,c,d,e,f) a,b,c,d,e 237 # define D_TERM6(a,b,c,d,e,f) a b c d e 238 # define D_SELECT6(a,b,c,d,e,f) e 239 # define LAST_SPACE_H_SPACEDIM 5 242 # define D_EXPR6(a,b,c,d,e,f) ((void)((a),(b),(c),(d),(e),(f),0)) 243 # define D_DECL6(a,b,c,d,e,f) a,b,c,d,e,f 244 # define D_TERM6(a,b,c,d,e,f) a b c d e f 245 # define D_SELECT6(a,b,c,d,e,f) f 246 # define LAST_SPACE_H_SPACEDIM 6 249 #else // matches elif CH_SPACEDIM==3 251 # define LAST_SPACE_H_SPACEDIM CH_SPACEDIM 253 #endif // matches CH_SPACEDIM != LAST_SPACE_H_SPACEDIM #define CH_SPACEDIM
Definition: SPACE.H:52
const int SpaceDim
Definition: SPACE.H:39