| 1 |  | /* | 
| 2 |  | File autogenerated by gengetopt version 2.11 | 
| 3 |  | generated with the following command: | 
| 4 | < | /home/maul/gezelter/tim/bin/gengetopt -F StaticPropsCmd | 
| 4 | > | /home/maul/gezelter/tim/bin/gengetopt -i StaticProps.ggo -F StaticPropsCmd | 
| 5 |  |  | 
| 6 |  | The developers of gengetopt consider the fixed text that goes in all | 
| 7 |  | gengetopt output files to be in the public domain: | 
| 53 |  | printf("      --r_omega                   g(r, cos(omega))\n"); | 
| 54 |  | printf("      --theta_omega               g(cos(theta), cos(omega))\n"); | 
| 55 |  | printf("      --gxyz                      g(x, y, z)\n"); | 
| 56 | + | printf("      --p2                        p2 order parameter\n"); | 
| 57 |  | } | 
| 58 |  |  | 
| 59 |  |  | 
| 95 |  | args_info->r_omega_given = 0 ; | 
| 96 |  | args_info->theta_omega_given = 0 ; | 
| 97 |  | args_info->gxyz_given = 0 ; | 
| 98 | + | args_info->p2_given = 0 ; | 
| 99 |  | #define clear_args() { \ | 
| 100 |  | args_info->input_arg = NULL; \ | 
| 101 |  | args_info->output_arg = NULL; \ | 
| 136 |  | { "r_omega",    0, NULL, 0 }, | 
| 137 |  | { "theta_omega",        0, NULL, 0 }, | 
| 138 |  | { "gxyz",       0, NULL, 0 }, | 
| 139 | + | { "p2", 0, NULL, 0 }, | 
| 140 |  | { NULL, 0, NULL, 0 } | 
| 141 |  | }; | 
| 142 |  |  | 
| 337 |  | break; | 
| 338 |  | } | 
| 339 |  |  | 
| 340 | + | /* p2 order parameter.  */ | 
| 341 | + | else if (strcmp (long_options[option_index].name, "p2") == 0) | 
| 342 | + | { | 
| 343 | + | if (args_info->p2_given) | 
| 344 | + | { | 
| 345 | + | fprintf (stderr, "%s: `--p2' option given more than once\n", CMDLINE_PARSER_PACKAGE); | 
| 346 | + | clear_args (); | 
| 347 | + | exit (EXIT_FAILURE); | 
| 348 | + | } | 
| 349 | + | args_info->p2_given = 1; staticProps_group_counter += 1; | 
| 350 | + |  | 
| 351 | + | break; | 
| 352 | + | } | 
| 353 | + |  | 
| 354 |  |  | 
| 355 |  | case '?':       /* Invalid option.  */ | 
| 356 |  | /* `getopt_long' already printed an error message.  */ |