diff options
author | Thomas White <taw@physics.org> | 2010-03-25 11:53:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-25 11:53:48 +0100 |
commit | b372c5d77caa1bc9bd4c8f69de76d064f8d93ccd (patch) | |
tree | d1571f069f33730bef0d76964f9e8ce95d4bdb95 /src/sfac.h | |
parent | f93bd1a5a69ad5061a1289bf77c701c13275842f (diff) |
Improved PDB parser
Diffstat (limited to 'src/sfac.h')
-rw-r--r-- | src/sfac.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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]; }; |