summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/defines.h b/includes/defines.h
index 562ee0d..d44eb76 100644
--- a/includes/defines.h
+++ b/includes/defines.h
@@ -36,6 +36,9 @@
#define MAXSIGNS 16
#define TAG_MAX 256
+#define PS 8 //the particle number shift that also determines element limit
+#define TYPE (int)pow(2,PS)-1 //where the type of the particle is stored in pmap
+
#define ZSIZE_D 16
#define ZFACTOR_D 8
extern unsigned char ZFACTOR;