diff options
-rw-r--r-- | src/pattern_sim.c | 13 |
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' ) { |