diff options
author | rideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-08-22 20:46:00 +0000 |
---|---|---|
committer | rideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-08-22 20:46:00 +0000 |
commit | 3e30d22cd8aee881beb42eef41dac416cb76e0bc (patch) | |
tree | c5254d3b820a6313df702b2e36ec4a2af132fcf0 /src/include/cctk_Faces.h | |
parent | eacd73dc50bf612220b59f81dc543cd2680aac3f (diff) |
works with 2 byte integers
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3383 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Faces.h')
-rw-r--r-- | src/include/cctk_Faces.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/cctk_Faces.h b/src/include/cctk_Faces.h index f3bf3d83..a9a3109d 100644 --- a/src/include/cctk_Faces.h +++ b/src/include/cctk_Faces.h @@ -13,11 +13,16 @@ #define _CCTK_FACES_H_ 1 /* The set of all faces */ +#if CCTK_INTEGER_PRECISION>=4 #define CCTK_ALL_FACES 1073741823 /* (This is 2^30-1, so it will set the 'last' 30 bits to 1.) * (The 'top' two bits are useless because there is no unsigned int in * Fortran, and face bits come in pairs.) */ +#else +#define CCTK_ALL_FACES 16383 +/* 2^14-1 */ +#endif /* Here will be placed macros which provide a user friendly interface * to a general specification for expressing sets of faces of an |