From 64acc8cd7bcade6fd6ed4958c21580bb94c98d04 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 7 Dec 2009 15:21:42 +0100 Subject: Typo in help message --- src/pattern_sim.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/pattern_sim.c') 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(); -- cgit v1.2.3