aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-14 15:10:37 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:33 +0100
commitc6af54b9a326119ab43a06fd209d2009df64f07e (patch)
tree8115216e90662a06cc802267b53fb9e5a6117085 /src/utils.h
parent812bce99717e18289b02f515180c8d9ae8ca1827 (diff)
partial_sim: Use flat noise in cell parameters
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 5e05a7f3..1179a57f 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -91,6 +91,8 @@ extern int assplode(const char *a, const char *delims, char ***pbits,
AssplodeFlag flags);
extern void progress_bar(int val, int total, const char *text);
+extern double random_flat(double max);
+extern double flat_noise(double expected, double width);
extern double gaussian_noise(double expected, double stddev);
extern int poisson_noise(double expected);