aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index b8f00647..765b348d 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -32,7 +32,7 @@ static void show_help(const char *s)
{
printf("Syntax: %s [options]\n\n", s);
printf(
-"Simulate diffraction patterns from small crystals probed with femosecond\n"
+"Simulate diffraction patterns from small crystals probed with femtosecond\n"
"pulses of X-rays from a free electron laser.\n"
"\n"
" -h, --help Display this help message.\n"
@@ -223,6 +223,16 @@ int main(int argc, char *argv[])
do {
+ int na, nb, nc;
+
+ //na = 8*random()/RAND_MAX + 4;
+ //nb = 8*random()/RAND_MAX + 4;
+ //nc = 16*random()/RAND_MAX + 30;
+ na = 4;
+ nb = 4;
+ nc = 30;
+ STATUS("Particle size = %i x %i x %i\n", na, nb, nc);
+
/* Read quaternion from stdin */
if ( config_randomquat ) {
image.orientation = random_quaternion();