aboutsummaryrefslogtreecommitdiff
path: root/src/sfac.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-25 11:53:48 +0100
committerThomas White <taw@physics.org>2010-03-25 11:53:48 +0100
commitb372c5d77caa1bc9bd4c8f69de76d064f8d93ccd (patch)
treed1571f069f33730bef0d76964f9e8ce95d4bdb95 /src/sfac.h
parentf93bd1a5a69ad5061a1289bf77c701c13275842f (diff)
Improved PDB parser
Diffstat (limited to 'src/sfac.h')
-rw-r--r--src/sfac.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/sfac.h b/src/sfac.h
index 000b859f..fea97022 100644
--- a/src/sfac.h
+++ b/src/sfac.h
@@ -21,16 +21,19 @@
#include "cell.h"
+#define MAX_ATOMS (128*1024)
+
+
struct mol_species
{
char species[4]; /* Species name */
int n_atoms; /* Number of atoms of this species */
- double x[32*1024];
- double y[32*1024];
- double z[32*1024];
- double occ[32*1024];
- double B[32*1024];
+ double x[MAX_ATOMS];
+ double y[MAX_ATOMS];
+ double z[MAX_ATOMS];
+ double occ[MAX_ATOMS];
+ double B[MAX_ATOMS];
};