DIY  2.0
data-parallel out-of-core C++ library
types.h
1 #ifndef DIY_TYPES_H
2 #define DIY_TYPES_H
3 
4 #include "constants.h"
5 
6 // Types that need to be exposed to the C API must be declared here
7 
8 // Global block representation: (gid, proc)
9 struct gb_t
10 {
11  int gid;
12  int proc;
13 };
14 
15 // Discrete box
16 struct bb_d_t
17 {
18  int min[DIY_MAX_DIM];
19  int max[DIY_MAX_DIM];
20 };
21 
22 // Continuous box
23 struct bb_c_t
24 {
25  float min[DIY_MAX_DIM];
26  float max[DIY_MAX_DIM];
27 };
28 
29 #endif
Definition: types.h:9
Definition: types.h:23
Definition: types.h:16