diff options
author | Thomas White <taw@physics.org> | 2009-11-17 17:04:00 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-17 17:04:00 +0100 |
commit | 79d63b556b771d4fb4dc4073c10891f26739d565 (patch) | |
tree | 90dd74656fed448feb11b51319bb6d21a03f9d6f /src/sfac.h | |
parent | 9c95cc556f924cbbba4e453c5582f24d3ac31955 (diff) |
Move load_molecule to sfac
Diffstat (limited to 'src/sfac.h')
-rw-r--r-- | src/sfac.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -18,6 +18,28 @@ #include <complex.h> + +struct mol_species +{ + char species[4]; /* Species name */ + int n_atoms; /* Number of atoms of this species */ + + float x[32*1024]; + float y[32*1024]; + float z[32*1024]; + float occ[32*1024]; + float B[32*1024]; +}; + + +struct molecule +{ + int n_species; + struct mol_species *species[32]; +}; + + extern double complex get_sfac(const char *n, double s, double en); +extern struct molecule *load_molecule(void); #endif /* SFAC_H */ |