diff options
author | Thomas White <taw@physics.org> | 2009-11-23 15:04:27 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-23 18:43:22 +0100 |
commit | e2e6f1ae3039184d2012a02901f7d1138c4ac231 (patch) | |
tree | 0694ac0f8a0d39b9086a84a54f19b981338e4d4b /src/sfac.h | |
parent | c4296981d5f16c58537a70ea66d9fadf49aed203 (diff) |
Centre the molecule before calculating structure factors
Also fixes an incorrect comment
Diffstat (limited to 'src/sfac.h')
-rw-r--r-- | src/sfac.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,10 @@ struct molecule { int n_species; struct mol_species *species[32]; + + double xc; + double yc; + double zc; }; |