| 49 | 
  | 
  "  -s, --selecorr                selection correlation function", | 
| 50 | 
  | 
  "  -r, --rcorr                   rmsd", | 
| 51 | 
  | 
  "  -v, --vcorr                   velocity correlation function", | 
| 52 | 
+ | 
  "      --vcorrZ                  velocity correlation function along z-axis", | 
| 53 | 
+ | 
  "      --vcorrR                  velocity correlation function projected \n                                  radially", | 
| 54 | 
  | 
  "  -d, --dcorr                   dipole correlation function", | 
| 55 | 
  | 
  "  -l, --lcorr                   Lengendre correlation function", | 
| 56 | 
  | 
  "      --lcorrZ                  Lengendre correlation function binned by Z", | 
| 63 | 
  | 
  "  -p, --momentum                Helfand momentum for viscosity", | 
| 64 | 
  | 
  "      --stresscorr              Stress tensor correlation function", | 
| 65 | 
  | 
  "  -b, --bondcorr                Bond extension correlation function", | 
| 66 | 
+ | 
  "  -f, --freqfluccorr            Frequency Fluctuation correlation function", | 
| 67 | 
  | 
    0 | 
| 68 | 
  | 
}; | 
| 69 | 
  | 
 | 
| 102 | 
  | 
  args_info->selecorr_given = 0 ; | 
| 103 | 
  | 
  args_info->rcorr_given = 0 ; | 
| 104 | 
  | 
  args_info->vcorr_given = 0 ; | 
| 105 | 
+ | 
  args_info->vcorrZ_given = 0 ; | 
| 106 | 
+ | 
  args_info->vcorrR_given = 0 ; | 
| 107 | 
  | 
  args_info->dcorr_given = 0 ; | 
| 108 | 
  | 
  args_info->lcorr_given = 0 ; | 
| 109 | 
  | 
  args_info->lcorrZ_given = 0 ; | 
| 116 | 
  | 
  args_info->momentum_given = 0 ; | 
| 117 | 
  | 
  args_info->stresscorr_given = 0 ; | 
| 118 | 
  | 
  args_info->bondcorr_given = 0 ; | 
| 119 | 
+ | 
  args_info->freqfluccorr_given = 0 ; | 
| 120 | 
  | 
  args_info->dynamicProps_group_counter = 0 ; | 
| 121 | 
  | 
} | 
| 122 | 
  | 
 | 
| 157 | 
  | 
  args_info->selecorr_help = gengetopt_args_info_help[10] ; | 
| 158 | 
  | 
  args_info->rcorr_help = gengetopt_args_info_help[11] ; | 
| 159 | 
  | 
  args_info->vcorr_help = gengetopt_args_info_help[12] ; | 
| 160 | 
< | 
  args_info->dcorr_help = gengetopt_args_info_help[13] ; | 
| 161 | 
< | 
  args_info->lcorr_help = gengetopt_args_info_help[14] ; | 
| 162 | 
< | 
  args_info->lcorrZ_help = gengetopt_args_info_help[15] ; | 
| 163 | 
< | 
  args_info->cohZ_help = gengetopt_args_info_help[16] ; | 
| 164 | 
< | 
  args_info->sdcorr_help = gengetopt_args_info_help[17] ; | 
| 165 | 
< | 
  args_info->r_rcorr_help = gengetopt_args_info_help[18] ; | 
| 166 | 
< | 
  args_info->thetacorr_help = gengetopt_args_info_help[19] ; | 
| 167 | 
< | 
  args_info->drcorr_help = gengetopt_args_info_help[20] ; | 
| 168 | 
< | 
  args_info->helfandEcorr_help = gengetopt_args_info_help[21] ; | 
| 169 | 
< | 
  args_info->momentum_help = gengetopt_args_info_help[22] ; | 
| 170 | 
< | 
  args_info->stresscorr_help = gengetopt_args_info_help[23] ; | 
| 171 | 
< | 
  args_info->bondcorr_help = gengetopt_args_info_help[24] ; | 
| 160 | 
> | 
  args_info->vcorrZ_help = gengetopt_args_info_help[13] ; | 
| 161 | 
> | 
  args_info->vcorrR_help = gengetopt_args_info_help[14] ; | 
| 162 | 
> | 
  args_info->dcorr_help = gengetopt_args_info_help[15] ; | 
| 163 | 
> | 
  args_info->lcorr_help = gengetopt_args_info_help[16] ; | 
| 164 | 
> | 
  args_info->lcorrZ_help = gengetopt_args_info_help[17] ; | 
| 165 | 
> | 
  args_info->cohZ_help = gengetopt_args_info_help[18] ; | 
| 166 | 
> | 
  args_info->sdcorr_help = gengetopt_args_info_help[19] ; | 
| 167 | 
> | 
  args_info->r_rcorr_help = gengetopt_args_info_help[20] ; | 
| 168 | 
> | 
  args_info->thetacorr_help = gengetopt_args_info_help[21] ; | 
| 169 | 
> | 
  args_info->drcorr_help = gengetopt_args_info_help[22] ; | 
| 170 | 
> | 
  args_info->helfandEcorr_help = gengetopt_args_info_help[23] ; | 
| 171 | 
> | 
  args_info->momentum_help = gengetopt_args_info_help[24] ; | 
| 172 | 
> | 
  args_info->stresscorr_help = gengetopt_args_info_help[25] ; | 
| 173 | 
> | 
  args_info->bondcorr_help = gengetopt_args_info_help[26] ; | 
| 174 | 
> | 
  args_info->freqfluccorr_help = gengetopt_args_info_help[27] ; | 
| 175 | 
  | 
   | 
| 176 | 
  | 
} | 
| 177 | 
  | 
 | 
| 326 | 
  | 
    write_into_file(outfile, "rcorr", 0, 0 ); | 
| 327 | 
  | 
  if (args_info->vcorr_given) | 
| 328 | 
  | 
    write_into_file(outfile, "vcorr", 0, 0 ); | 
| 329 | 
+ | 
  if (args_info->vcorrZ_given) | 
| 330 | 
+ | 
    write_into_file(outfile, "vcorrZ", 0, 0 ); | 
| 331 | 
+ | 
  if (args_info->vcorrR_given) | 
| 332 | 
+ | 
    write_into_file(outfile, "vcorrR", 0, 0 ); | 
| 333 | 
  | 
  if (args_info->dcorr_given) | 
| 334 | 
  | 
    write_into_file(outfile, "dcorr", 0, 0 ); | 
| 335 | 
  | 
  if (args_info->lcorr_given) | 
| 354 | 
  | 
    write_into_file(outfile, "stresscorr", 0, 0 ); | 
| 355 | 
  | 
  if (args_info->bondcorr_given) | 
| 356 | 
  | 
    write_into_file(outfile, "bondcorr", 0, 0 ); | 
| 357 | 
+ | 
  if (args_info->freqfluccorr_given) | 
| 358 | 
+ | 
    write_into_file(outfile, "freqfluccorr", 0, 0 ); | 
| 359 | 
  | 
   | 
| 360 | 
  | 
 | 
| 361 | 
  | 
  i = EXIT_SUCCESS; | 
| 412 | 
  | 
  args_info->selecorr_given = 0 ; | 
| 413 | 
  | 
  args_info->rcorr_given = 0 ; | 
| 414 | 
  | 
  args_info->vcorr_given = 0 ; | 
| 415 | 
+ | 
  args_info->vcorrZ_given = 0 ; | 
| 416 | 
+ | 
  args_info->vcorrR_given = 0 ; | 
| 417 | 
  | 
  args_info->dcorr_given = 0 ; | 
| 418 | 
  | 
  args_info->lcorr_given = 0 ; | 
| 419 | 
  | 
  args_info->lcorrZ_given = 0 ; | 
| 426 | 
  | 
  args_info->momentum_given = 0 ; | 
| 427 | 
  | 
  args_info->stresscorr_given = 0 ; | 
| 428 | 
  | 
  args_info->bondcorr_given = 0 ; | 
| 429 | 
+ | 
  args_info->freqfluccorr_given = 0 ; | 
| 430 | 
  | 
 | 
| 431 | 
  | 
  args_info->dynamicProps_group_counter = 0; | 
| 432 | 
  | 
} | 
| 680 | 
  | 
        { "selecorr",   0, NULL, 's' }, | 
| 681 | 
  | 
        { "rcorr",      0, NULL, 'r' }, | 
| 682 | 
  | 
        { "vcorr",      0, NULL, 'v' }, | 
| 683 | 
+ | 
        { "vcorrZ",     0, NULL, 0 }, | 
| 684 | 
+ | 
        { "vcorrR",     0, NULL, 0 }, | 
| 685 | 
  | 
        { "dcorr",      0, NULL, 'd' }, | 
| 686 | 
  | 
        { "lcorr",      0, NULL, 'l' }, | 
| 687 | 
  | 
        { "lcorrZ",     0, NULL, 0 }, | 
| 694 | 
  | 
        { "momentum",   0, NULL, 'p' }, | 
| 695 | 
  | 
        { "stresscorr", 0, NULL, 0 }, | 
| 696 | 
  | 
        { "bondcorr",   0, NULL, 'b' }, | 
| 697 | 
+ | 
        { "freqfluccorr",       0, NULL, 'f' }, | 
| 698 | 
  | 
        { 0,  0, 0, 0 } | 
| 699 | 
  | 
      }; | 
| 700 | 
  | 
 | 
| 701 | 
< | 
      c = getopt_long (argc, argv, "hVi:o:z:m:srvdlMpb", long_options, &option_index); | 
| 701 | 
> | 
      c = getopt_long (argc, argv, "hVi:o:z:m:srvdlMpbf", long_options, &option_index); | 
| 702 | 
  | 
 | 
| 703 | 
  | 
      if (c == -1) break;       /* Exit from `while (1)' loop.  */ | 
| 704 | 
  | 
 | 
| 878 | 
  | 
              &(local_args_info.bondcorr_given), optarg, 0, 0, ARG_NO, | 
| 879 | 
  | 
              check_ambiguity, override, 0, 0, | 
| 880 | 
  | 
              "bondcorr", 'b', | 
| 881 | 
+ | 
              additional_error)) | 
| 882 | 
+ | 
            goto failure; | 
| 883 | 
+ | 
         | 
| 884 | 
+ | 
          break; | 
| 885 | 
+ | 
        case 'f':       /* Frequency Fluctuation correlation function.  */ | 
| 886 | 
+ | 
         | 
| 887 | 
+ | 
          if (args_info->dynamicProps_group_counter && override) | 
| 888 | 
+ | 
            reset_group_dynamicProps (args_info); | 
| 889 | 
+ | 
          args_info->dynamicProps_group_counter += 1; | 
| 890 | 
+ | 
         | 
| 891 | 
+ | 
          if (update_arg( 0 ,  | 
| 892 | 
+ | 
               0 , &(args_info->freqfluccorr_given), | 
| 893 | 
+ | 
              &(local_args_info.freqfluccorr_given), optarg, 0, 0, ARG_NO, | 
| 894 | 
+ | 
              check_ambiguity, override, 0, 0, | 
| 895 | 
+ | 
              "freqfluccorr", 'f', | 
| 896 | 
  | 
              additional_error)) | 
| 897 | 
  | 
            goto failure; | 
| 898 | 
  | 
         | 
| 941 | 
  | 
              goto failure; | 
| 942 | 
  | 
           | 
| 943 | 
  | 
          } | 
| 944 | 
+ | 
          /* velocity correlation function along z-axis.  */ | 
| 945 | 
+ | 
          else if (strcmp (long_options[option_index].name, "vcorrZ") == 0) | 
| 946 | 
+ | 
          { | 
| 947 | 
+ | 
           | 
| 948 | 
+ | 
            if (args_info->dynamicProps_group_counter && override) | 
| 949 | 
+ | 
              reset_group_dynamicProps (args_info); | 
| 950 | 
+ | 
            args_info->dynamicProps_group_counter += 1; | 
| 951 | 
+ | 
           | 
| 952 | 
+ | 
            if (update_arg( 0 ,  | 
| 953 | 
+ | 
                 0 , &(args_info->vcorrZ_given), | 
| 954 | 
+ | 
                &(local_args_info.vcorrZ_given), optarg, 0, 0, ARG_NO, | 
| 955 | 
+ | 
                check_ambiguity, override, 0, 0, | 
| 956 | 
+ | 
                "vcorrZ", '-', | 
| 957 | 
+ | 
                additional_error)) | 
| 958 | 
+ | 
              goto failure; | 
| 959 | 
+ | 
           | 
| 960 | 
+ | 
          } | 
| 961 | 
+ | 
          /* velocity correlation function projected radially.  */ | 
| 962 | 
+ | 
          else if (strcmp (long_options[option_index].name, "vcorrR") == 0) | 
| 963 | 
+ | 
          { | 
| 964 | 
+ | 
           | 
| 965 | 
+ | 
            if (args_info->dynamicProps_group_counter && override) | 
| 966 | 
+ | 
              reset_group_dynamicProps (args_info); | 
| 967 | 
+ | 
            args_info->dynamicProps_group_counter += 1; | 
| 968 | 
+ | 
           | 
| 969 | 
+ | 
            if (update_arg( 0 ,  | 
| 970 | 
+ | 
                 0 , &(args_info->vcorrR_given), | 
| 971 | 
+ | 
                &(local_args_info.vcorrR_given), optarg, 0, 0, ARG_NO, | 
| 972 | 
+ | 
                check_ambiguity, override, 0, 0, | 
| 973 | 
+ | 
                "vcorrR", '-', | 
| 974 | 
+ | 
                additional_error)) | 
| 975 | 
+ | 
              goto failure; | 
| 976 | 
+ | 
           | 
| 977 | 
+ | 
          } | 
| 978 | 
  | 
          /* Lengendre correlation function binned by Z.  */ | 
| 979 | 
  | 
          else if (strcmp (long_options[option_index].name, "lcorrZ") == 0) | 
| 980 | 
  | 
          { |