1 #ifndef LIBGEODECOMP_GEOMETRY_FIXEDCOORD_H
2 #define LIBGEODECOMP_GEOMETRY_FIXEDCOORD_H
3 
4 #include <libgeodecomp/misc/cudautil.h>
5 
6 namespace LibGeoDecomp {
7 
8 /**
9  * is not meant to be used with actual instances, but rather to
10  * bind template parameters in a convenient way. See the testbed and
11  * unit tests for examples of how to use FixedCoord.
12  */
13 template<int DIM_X=0, int DIM_Y=0, int DIM_Z=0>
14 class FixedCoord
15 {
16 public:
17     static const int X = DIM_X;
18     static const int Y = DIM_Y;
19     static const int Z = DIM_Z;
20 
21     __host__ __device__
FixedCoord()22     inline FixedCoord()
23     {}
24 };
25 
26 }
27 
28 #endif
29