diff options
author | Thomas White <taw@physics.org> | 2009-12-07 15:21:42 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-12-07 15:21:42 +0100 |
commit | 64acc8cd7bcade6fd6ed4958c21580bb94c98d04 (patch) | |
tree | 781c2403ba7a61b94e7f95366a49852999163244 /src/pattern_sim.c | |
parent | 787cafd0d3b8ef2154dcafb37e2331381f4c4c8b (diff) |
Typo in help message
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 12 |
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(); |