| 1 | 
  | 
/* | 
| 2 | 
< | 
  File autogenerated by gengetopt version 2.15 | 
| 2 | 
> | 
  File autogenerated by gengetopt version 2.16 | 
| 3 | 
  | 
  generated with the following command: | 
| 4 | 
< | 
  gengetopt -i DynamicProps.ggo --file-name=DynamicPropsCmd  | 
| 4 | 
> | 
  gengetopt -F DynamicPropsCmd  | 
| 5 | 
  | 
 | 
| 6 | 
  | 
  The developers of gengetopt consider the fixed text that goes in all | 
| 7 | 
  | 
  gengetopt output files to be in the public domain: | 
| 50 | 
  | 
  args_info->dcorr_given = 0 ; | 
| 51 | 
  | 
  args_info->lcorr_given = 0 ; | 
| 52 | 
  | 
  args_info->r_rcorr_given = 0 ; | 
| 53 | 
+ | 
  args_info->thetacorr_given = 0 ; | 
| 54 | 
+ | 
  args_info->actioncorr_given = 0 ; | 
| 55 | 
+ | 
  args_info->drcorr_given = 0 ; | 
| 56 | 
  | 
  args_info->dynamicProps_group_counter = 0 ; | 
| 57 | 
  | 
} | 
| 58 | 
  | 
 | 
| 95 | 
  | 
  printf("%s\n","  -d, --dcorr                   dipole correlation function"); | 
| 96 | 
  | 
  printf("%s\n","  -l, --lcorr                   Lengendre correlation function"); | 
| 97 | 
  | 
  printf("%s\n","      --r_rcorr                 Radial rmsd"); | 
| 98 | 
+ | 
  printf("%s\n","      --thetacorr               Angular rmsd"); | 
| 99 | 
+ | 
  printf("%s\n","      --actioncorr              Action correlation function"); | 
| 100 | 
+ | 
  printf("%s\n","      --drcorr                  Directional rmsd for particles with unit \n                                  vectors"); | 
| 101 | 
  | 
   | 
| 102 | 
  | 
} | 
| 103 | 
  | 
 | 
| 231 | 
  | 
  if (args_info->r_rcorr_given) { | 
| 232 | 
  | 
    fprintf(outfile, "%s\n", "r_rcorr"); | 
| 233 | 
  | 
  } | 
| 234 | 
+ | 
  if (args_info->thetacorr_given) { | 
| 235 | 
+ | 
    fprintf(outfile, "%s\n", "thetacorr"); | 
| 236 | 
+ | 
  } | 
| 237 | 
+ | 
  if (args_info->actioncorr_given) { | 
| 238 | 
+ | 
    fprintf(outfile, "%s\n", "actioncorr"); | 
| 239 | 
+ | 
  } | 
| 240 | 
+ | 
  if (args_info->drcorr_given) { | 
| 241 | 
+ | 
    fprintf(outfile, "%s\n", "drcorr"); | 
| 242 | 
+ | 
  } | 
| 243 | 
  | 
   | 
| 244 | 
  | 
  fclose (outfile); | 
| 245 | 
  | 
 | 
| 284 | 
  | 
  args_info->dcorr_given = 0 ; | 
| 285 | 
  | 
  args_info->lcorr_given = 0 ; | 
| 286 | 
  | 
  args_info->r_rcorr_given = 0 ; | 
| 287 | 
+ | 
  args_info->thetacorr_given = 0 ; | 
| 288 | 
+ | 
  args_info->actioncorr_given = 0 ; | 
| 289 | 
+ | 
  args_info->drcorr_given = 0 ; | 
| 290 | 
  | 
 | 
| 291 | 
  | 
  args_info->dynamicProps_group_counter = 0; | 
| 292 | 
  | 
} | 
| 364 | 
  | 
  cmdline_parser_init (&local_args_info); | 
| 365 | 
  | 
 | 
| 366 | 
  | 
  optarg = 0; | 
| 367 | 
< | 
  optind = 1; | 
| 367 | 
> | 
  optind = 0; | 
| 368 | 
  | 
  opterr = 1; | 
| 369 | 
  | 
  optopt = '?'; | 
| 370 | 
  | 
 | 
| 386 | 
  | 
        { "dcorr",      0, NULL, 'd' }, | 
| 387 | 
  | 
        { "lcorr",      0, NULL, 'l' }, | 
| 388 | 
  | 
        { "r_rcorr",    0, NULL, 0 }, | 
| 389 | 
+ | 
        { "thetacorr",  0, NULL, 0 }, | 
| 390 | 
+ | 
        { "actioncorr", 0, NULL, 0 }, | 
| 391 | 
+ | 
        { "drcorr",     0, NULL, 0 }, | 
| 392 | 
  | 
        { NULL, 0, NULL, 0 } | 
| 393 | 
  | 
      }; | 
| 394 | 
  | 
 | 
| 578 | 
  | 
              continue; | 
| 579 | 
  | 
            local_args_info.r_rcorr_given = 1; | 
| 580 | 
  | 
            args_info->r_rcorr_given = 1; | 
| 581 | 
+ | 
            if (args_info->dynamicProps_group_counter && override) | 
| 582 | 
+ | 
              reset_group_dynamicProps (args_info); | 
| 583 | 
+ | 
            args_info->dynamicProps_group_counter += 1; | 
| 584 | 
+ | 
            break; | 
| 585 | 
+ | 
          } | 
| 586 | 
+ | 
          /* Angular rmsd.  */ | 
| 587 | 
+ | 
          else if (strcmp (long_options[option_index].name, "thetacorr") == 0) | 
| 588 | 
+ | 
          { | 
| 589 | 
+ | 
            if (local_args_info.thetacorr_given) | 
| 590 | 
+ | 
              { | 
| 591 | 
+ | 
                fprintf (stderr, "%s: `--thetacorr' option given more than once%s\n", argv[0], (additional_error ? additional_error : "")); | 
| 592 | 
+ | 
                goto failure; | 
| 593 | 
+ | 
              } | 
| 594 | 
+ | 
            if (args_info->thetacorr_given && ! override) | 
| 595 | 
+ | 
              continue; | 
| 596 | 
+ | 
            local_args_info.thetacorr_given = 1; | 
| 597 | 
+ | 
            args_info->thetacorr_given = 1; | 
| 598 | 
  | 
            if (args_info->dynamicProps_group_counter && override) | 
| 599 | 
  | 
              reset_group_dynamicProps (args_info); | 
| 600 | 
  | 
            args_info->dynamicProps_group_counter += 1; | 
| 601 | 
  | 
            break; | 
| 602 | 
  | 
          } | 
| 603 | 
+ | 
          /* Action correlation function.  */ | 
| 604 | 
+ | 
          else if (strcmp (long_options[option_index].name, "actioncorr") == 0) | 
| 605 | 
+ | 
          { | 
| 606 | 
+ | 
            if (local_args_info.actioncorr_given) | 
| 607 | 
+ | 
              { | 
| 608 | 
+ | 
                fprintf (stderr, "%s: `--actioncorr' option given more than once%s\n", argv[0], (additional_error ? additional_error : "")); | 
| 609 | 
+ | 
                goto failure; | 
| 610 | 
+ | 
              } | 
| 611 | 
+ | 
            if (args_info->actioncorr_given && ! override) | 
| 612 | 
+ | 
              continue; | 
| 613 | 
+ | 
            local_args_info.actioncorr_given = 1; | 
| 614 | 
+ | 
            args_info->actioncorr_given = 1; | 
| 615 | 
+ | 
            if (args_info->dynamicProps_group_counter && override) | 
| 616 | 
+ | 
              reset_group_dynamicProps (args_info); | 
| 617 | 
+ | 
            args_info->dynamicProps_group_counter += 1; | 
| 618 | 
+ | 
            break; | 
| 619 | 
+ | 
          } | 
| 620 | 
+ | 
          /* Directional rmsd for particles with unit vectors.  */ | 
| 621 | 
+ | 
          else if (strcmp (long_options[option_index].name, "drcorr") == 0) | 
| 622 | 
+ | 
          { | 
| 623 | 
+ | 
            if (local_args_info.drcorr_given) | 
| 624 | 
+ | 
              { | 
| 625 | 
+ | 
                fprintf (stderr, "%s: `--drcorr' option given more than once%s\n", argv[0], (additional_error ? additional_error : "")); | 
| 626 | 
+ | 
                goto failure; | 
| 627 | 
+ | 
              } | 
| 628 | 
+ | 
            if (args_info->drcorr_given && ! override) | 
| 629 | 
+ | 
              continue; | 
| 630 | 
+ | 
            local_args_info.drcorr_given = 1; | 
| 631 | 
+ | 
            args_info->drcorr_given = 1; | 
| 632 | 
+ | 
            if (args_info->dynamicProps_group_counter && override) | 
| 633 | 
+ | 
              reset_group_dynamicProps (args_info); | 
| 634 | 
+ | 
            args_info->dynamicProps_group_counter += 1; | 
| 635 | 
+ | 
            break; | 
| 636 | 
+ | 
          } | 
| 637 | 
  | 
           | 
| 638 | 
  | 
          break; | 
| 639 | 
  | 
        case '?':       /* Invalid option.  */ |