aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-26 16:14:42 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-26 16:14:42 -0700
commit86fa0c2abf6e1399e5c2751f64cf4c19c912aedf (patch)
tree1b35ce3539bbda36f4697de5a6586c9d6458bdaf /src/partial_sim.c
parent516dc9e50975ef245f7367b35eb038787f81708c (diff)
New parameter in beam description files: profile_radius
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 3cfb94a2..cdddf6a3 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -506,7 +506,7 @@ int main(int argc, char *argv[])
image.lambda = ph_en_to_lambda(eV_to_J(beam->photon_energy));
image.div = beam->divergence;
image.bw = beam->bandwidth;
- image.profile_radius = 0.003e9;
+ image.profile_radius = beam->profile_radius;
image.filename = malloc(256);
image.copyme = NULL;