48 |
|
" -d, --dcorr dipole correlation function", |
49 |
|
" -l, --lcorr Lengendre correlation function", |
50 |
|
" --lcorrZ Lengendre correlation function binned by Z", |
51 |
+ |
" --cohZ Lengendre correlation function for OH bond \n vectors binned by Z", |
52 |
|
" -M, --sdcorr System dipole correlation function", |
53 |
|
" --r_rcorr Radial rmsd", |
54 |
|
" --thetacorr Angular rmsd", |
97 |
|
args_info->dcorr_given = 0 ; |
98 |
|
args_info->lcorr_given = 0 ; |
99 |
|
args_info->lcorrZ_given = 0 ; |
100 |
+ |
args_info->cohZ_given = 0 ; |
101 |
|
args_info->sdcorr_given = 0 ; |
102 |
|
args_info->r_rcorr_given = 0 ; |
103 |
|
args_info->thetacorr_given = 0 ; |
148 |
|
args_info->dcorr_help = gengetopt_args_info_help[13] ; |
149 |
|
args_info->lcorr_help = gengetopt_args_info_help[14] ; |
150 |
|
args_info->lcorrZ_help = gengetopt_args_info_help[15] ; |
151 |
< |
args_info->sdcorr_help = gengetopt_args_info_help[16] ; |
152 |
< |
args_info->r_rcorr_help = gengetopt_args_info_help[17] ; |
153 |
< |
args_info->thetacorr_help = gengetopt_args_info_help[18] ; |
154 |
< |
args_info->drcorr_help = gengetopt_args_info_help[19] ; |
155 |
< |
args_info->helfandEcorr_help = gengetopt_args_info_help[20] ; |
156 |
< |
args_info->momentum_help = gengetopt_args_info_help[21] ; |
157 |
< |
args_info->stresscorr_help = gengetopt_args_info_help[22] ; |
151 |
> |
args_info->cohZ_help = gengetopt_args_info_help[16] ; |
152 |
> |
args_info->sdcorr_help = gengetopt_args_info_help[17] ; |
153 |
> |
args_info->r_rcorr_help = gengetopt_args_info_help[18] ; |
154 |
> |
args_info->thetacorr_help = gengetopt_args_info_help[19] ; |
155 |
> |
args_info->drcorr_help = gengetopt_args_info_help[20] ; |
156 |
> |
args_info->helfandEcorr_help = gengetopt_args_info_help[21] ; |
157 |
> |
args_info->momentum_help = gengetopt_args_info_help[22] ; |
158 |
> |
args_info->stresscorr_help = gengetopt_args_info_help[23] ; |
159 |
|
|
160 |
|
} |
161 |
|
|
316 |
|
write_into_file(outfile, "lcorr", 0, 0 ); |
317 |
|
if (args_info->lcorrZ_given) |
318 |
|
write_into_file(outfile, "lcorrZ", 0, 0 ); |
319 |
+ |
if (args_info->cohZ_given) |
320 |
+ |
write_into_file(outfile, "cohZ", 0, 0 ); |
321 |
|
if (args_info->sdcorr_given) |
322 |
|
write_into_file(outfile, "sdcorr", 0, 0 ); |
323 |
|
if (args_info->r_rcorr_given) |
391 |
|
args_info->dcorr_given = 0 ; |
392 |
|
args_info->lcorr_given = 0 ; |
393 |
|
args_info->lcorrZ_given = 0 ; |
394 |
+ |
args_info->cohZ_given = 0 ; |
395 |
|
args_info->sdcorr_given = 0 ; |
396 |
|
args_info->r_rcorr_given = 0 ; |
397 |
|
args_info->thetacorr_given = 0 ; |
655 |
|
{ "dcorr", 0, NULL, 'd' }, |
656 |
|
{ "lcorr", 0, NULL, 'l' }, |
657 |
|
{ "lcorrZ", 0, NULL, 0 }, |
658 |
+ |
{ "cohZ", 0, NULL, 0 }, |
659 |
|
{ "sdcorr", 0, NULL, 'M' }, |
660 |
|
{ "r_rcorr", 0, NULL, 0 }, |
661 |
|
{ "thetacorr", 0, NULL, 0 }, |
896 |
|
goto failure; |
897 |
|
|
898 |
|
} |
899 |
+ |
/* Lengendre correlation function for OH bond vectors binned by Z. */ |
900 |
+ |
else if (strcmp (long_options[option_index].name, "cohZ") == 0) |
901 |
+ |
{ |
902 |
+ |
|
903 |
+ |
if (args_info->dynamicProps_group_counter && override) |
904 |
+ |
reset_group_dynamicProps (args_info); |
905 |
+ |
args_info->dynamicProps_group_counter += 1; |
906 |
+ |
|
907 |
+ |
if (update_arg( 0 , |
908 |
+ |
0 , &(args_info->cohZ_given), |
909 |
+ |
&(local_args_info.cohZ_given), optarg, 0, 0, ARG_NO, |
910 |
+ |
check_ambiguity, override, 0, 0, |
911 |
+ |
"cohZ", '-', |
912 |
+ |
additional_error)) |
913 |
+ |
goto failure; |
914 |
+ |
|
915 |
+ |
} |
916 |
|
/* Radial rmsd. */ |
917 |
|
else if (strcmp (long_options[option_index].name, "r_rcorr") == 0) |
918 |
|
{ |