DIY 3.0 data-parallel out-of-core C++ library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List

All Classes Namespaces Functions Typedefs Groups Pages
constants.h
1 #ifndef DIY_CONSTANTS_H
2 #define DIY_CONSTANTS_H
3
4 // Default DIY_MAX_DIM to 4, unless provided by the user
5 // (used for static min/max size in various Bounds)
6 #ifndef DIY_MAX_DIM
7 #define DIY_MAX_DIM 4
8 #endif
9
10 enum
11 {
12 DIY_X0 = 0x01, /* minimum-side x (left) neighbor */
13 DIY_X1 = 0x02, /* maximum-side x (right) neighbor */
14 DIY_Y0 = 0x04, /* minimum-side y (bottom) neighbor */
15 DIY_Y1 = 0x08, /* maximum-side y (top) neighbor */
16 DIY_Z0 = 0x10, /* minimum-side z (back) neighbor */
17 DIY_Z1 = 0x20, /* maximum-side z (front)neighbor */
18 DIY_T0 = 0x40, /* minimum-side t (earlier) neighbor */
19 DIY_T1 = 0x80 /* maximum-side t (later) neighbor */
20 };
21
22 #define DIY_UNUSED(expr) do { (void)(expr); } while (0)
23
24 #endif