aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-24 16:41:38 +0200
committerThomas White <taw@physics.org>2014-09-24 16:41:38 +0200
commite3bb47c737988d277aebc240e517ae52819ad895 (patch)
tree140c9e1ff044321fbaaadc90c63497568c46488e /src/pattern_sim.c
parent9ce505843376f26996fb818b4ab972073b445f94 (diff)
WTF is this doing here?
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 7bbad81d..20a96d84 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -310,7 +310,6 @@ int main(int argc, char *argv[])
{"background", 1, NULL, 5},
{"template", 1, NULL, 6},
{"beam-bandwidth", 1, NULL, 7},
- {"profile-radius", 1, NULL, 8},
{"photon-energy", 1, NULL, 9},
{"nphotons", 1, NULL, 10},
{"beam-radius", 1, NULL, 11},
@@ -435,18 +434,6 @@ int main(int argc, char *argv[])
}
break;
- case 8 :
- beam.profile_radius = strtod(optarg, &rval);
- if ( *rval != '\0' ) {
- ERROR("Invalid profile radius.\n");
- return 1;
- }
- if ( beam.divergence < 0.0 ) {
- ERROR("Profile radius must be positive.\n");
- return 1;
- }
- break;
-
case 9 :
beam.photon_energy = strtod(optarg, &rval);
if ( *rval != '\0' ) {