aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-22 18:06:40 +0100
committerThomas White <taw@physics.org>2010-02-22 18:06:40 +0100
commitebe8f6f9882d388637c58ad2093c35fef57963ed (patch)
treedc31bc75f579038472e84800a7ce9ab5dc305dd5 /src/pattern_sim.c
parent762c8658741617b58f70fa4f99d885096387a02c (diff)
Fix particle size again (FIXME: make this optional at runtime)
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 574f6f1c..dc6ac354 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -243,9 +243,12 @@ int main(int argc, char *argv[])
int na, nb, nc;
double a, b, c, d;
- na = 8*random()/RAND_MAX + 4;
- nb = 8*random()/RAND_MAX + 4;
- nc = 16*random()/RAND_MAX + 30;
+ //na = 8*random()/RAND_MAX + 4;
+ //nb = 8*random()/RAND_MAX + 4;
+ //nc = 16*random()/RAND_MAX + 30;
+ na = 8;
+ nb = 8;
+ nc = 16;
/* Read quaternion from stdin */
if ( config_randomquat ) {