aboutsummaryrefslogtreecommitdiff
path: root/src/sfac.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-23 15:04:27 +0100
committerThomas White <taw@physics.org>2009-11-23 18:43:22 +0100
commite2e6f1ae3039184d2012a02901f7d1138c4ac231 (patch)
tree0694ac0f8a0d39b9086a84a54f19b981338e4d4b /src/sfac.h
parentc4296981d5f16c58537a70ea66d9fadf49aed203 (diff)
Centre the molecule before calculating structure factors
Also fixes an incorrect comment
Diffstat (limited to 'src/sfac.h')
-rw-r--r--src/sfac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sfac.h b/src/sfac.h
index 725ebff9..f88729f4 100644
--- a/src/sfac.h
+++ b/src/sfac.h
@@ -36,6 +36,10 @@ struct molecule
{
int n_species;
struct mol_species *species[32];
+
+ double xc;
+ double yc;
+ double zc;
};