aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/man/partial_sim.14
-rw-r--r--src/partial_sim.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/man/partial_sim.1 b/doc/man/partial_sim.1
index 86ef0701..e11c75e7 100644
--- a/doc/man/partial_sim.1
+++ b/doc/man/partial_sim.1
@@ -144,6 +144,10 @@ Set the radius of the scattering density surrounding each reciprocal lattice poi
.PD
Set the central photon energy, in eV, for the incident beam. The default is \fB--photon-energy=9000\fR, i.e. 9 keV X-rays.
+.PD 0
+.IP \fB--really-random\fR
+.PD
+Seed the random number generator using the kernel random number generator (/dev/urandom). This means that truly random numbers for the orientation and crystal size, instead of the same sequence being used for each new run.
.SH AUTHOR
This page was written by Thomas White.
diff --git a/src/partial_sim.c b/src/partial_sim.c
index c0d9aaaa..18689565 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -241,6 +241,7 @@ static void show_help(const char *s)
" --profile-radius Reciprocal space reflection profile radius in m^-1.\n"
" Default 0.001e9 m^-1\n"
" --photon-energy Photon energy in eV. Default 9000.\n"
+" --really-random Be non-deterministic.\n"
"\n"
);
}