aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-10-14 18:32:00 +0200
committerThomas White <taw@bitwiz.org.uk>2009-10-14 18:32:00 +0200
commit67bf9d34e65c9f7006efe6af131947f207f2db38 (patch)
treeebc396ff16dbf523f491867fb3f112b09c04fbfa
parent524eabb8b023db20dcb5597ccf52ca495be058e0 (diff)
Tidy up comments, and add PS1 lattice parameters
-rw-r--r--src/sim-main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sim-main.c b/src/sim-main.c
index af7f57bd..fe8572bc 100644
--- a/src/sim-main.c
+++ b/src/sim-main.c
@@ -56,7 +56,17 @@ int main(int argc, char *argv[])
}
+ /* Define unit cell */
+ cell = cell_new_from_parameters(28.10e-9,
+ 28.10e-9,
+ 16.52e-9,
+ deg2rad(90.0),
+ deg2rad(90.0),
+ deg2rad(120.0));
+
printf("Generating test data...\n");
+
+ /* Define image parameters */
list = image_list_new();
image.width = 512;
image.height = 512;