| 1 |
|
/* |
| 2 |
|
File autogenerated by gengetopt version 2.22.4 |
| 3 |
|
generated with the following command: |
| 4 |
< |
gengetopt -F StaticPropsCmd -u |
| 4 |
> |
gengetopt -i StaticProps.ggo -c cpp -F StaticPropsCmd -u |
| 5 |
|
|
| 6 |
|
The developers of gengetopt consider the fixed text that goes in all |
| 7 |
|
gengetopt output files to be in the public domain: |
| 81 |
|
" --hullvol hull volume of nanoparticle", |
| 82 |
|
" --rodlength length of nanorod", |
| 83 |
|
" -Q, --tet_param tetrahedrality order parameter", |
| 84 |
+ |
" --tet_param_z tetrahedrality order parameter by zbin(--sele1 \n must be specified)", |
| 85 |
|
0 |
| 86 |
|
}; |
| 87 |
|
|
| 157 |
|
args_info->hullvol_given = 0 ; |
| 158 |
|
args_info->rodlength_given = 0 ; |
| 159 |
|
args_info->tet_param_given = 0 ; |
| 160 |
+ |
args_info->tet_param_z_given = 0 ; |
| 161 |
|
args_info->staticProps_group_counter = 0 ; |
| 162 |
|
} |
| 163 |
|
|
| 258 |
|
args_info->hullvol_help = gengetopt_args_info_help[46] ; |
| 259 |
|
args_info->rodlength_help = gengetopt_args_info_help[47] ; |
| 260 |
|
args_info->tet_param_help = gengetopt_args_info_help[48] ; |
| 261 |
+ |
args_info->tet_param_z_help = gengetopt_args_info_help[49] ; |
| 262 |
|
|
| 263 |
|
} |
| 264 |
|
|
| 503 |
|
write_into_file(outfile, "rodlength", 0, 0 ); |
| 504 |
|
if (args_info->tet_param_given) |
| 505 |
|
write_into_file(outfile, "tet_param", 0, 0 ); |
| 506 |
+ |
if (args_info->tet_param_z_given) |
| 507 |
+ |
write_into_file(outfile, "tet_param_z", 0, 0 ); |
| 508 |
|
|
| 509 |
|
|
| 510 |
|
i = EXIT_SUCCESS; |
| 582 |
|
args_info->hullvol_given = 0 ; |
| 583 |
|
args_info->rodlength_given = 0 ; |
| 584 |
|
args_info->tet_param_given = 0 ; |
| 585 |
+ |
args_info->tet_param_z_given = 0 ; |
| 586 |
|
|
| 587 |
|
args_info->staticProps_group_counter = 0; |
| 588 |
|
} |
| 876 |
|
{ "hullvol", 0, NULL, 0 }, |
| 877 |
|
{ "rodlength", 0, NULL, 0 }, |
| 878 |
|
{ "tet_param", 0, NULL, 'Q' }, |
| 879 |
+ |
{ "tet_param_z", 0, NULL, 0 }, |
| 880 |
|
{ 0, 0, 0, 0 } |
| 881 |
|
}; |
| 882 |
|
|
| 1582 |
|
&(local_args_info.rodlength_given), optarg, 0, 0, ARG_NO, |
| 1583 |
|
check_ambiguity, override, 0, 0, |
| 1584 |
|
"rodlength", '-', |
| 1585 |
+ |
additional_error)) |
| 1586 |
+ |
goto failure; |
| 1587 |
+ |
|
| 1588 |
+ |
} |
| 1589 |
+ |
/* tetrahedrality order parameter by zbin(--sele1 must be specified). */ |
| 1590 |
+ |
else if (strcmp (long_options[option_index].name, "tet_param_z") == 0) |
| 1591 |
+ |
{ |
| 1592 |
+ |
|
| 1593 |
+ |
if (args_info->staticProps_group_counter && override) |
| 1594 |
+ |
reset_group_staticProps (args_info); |
| 1595 |
+ |
args_info->staticProps_group_counter += 1; |
| 1596 |
+ |
|
| 1597 |
+ |
if (update_arg( 0 , |
| 1598 |
+ |
0 , &(args_info->tet_param_z_given), |
| 1599 |
+ |
&(local_args_info.tet_param_z_given), optarg, 0, 0, ARG_NO, |
| 1600 |
+ |
check_ambiguity, override, 0, 0, |
| 1601 |
+ |
"tet_param_z", '-', |
| 1602 |
|
additional_error)) |
| 1603 |
|
goto failure; |
| 1604 |
|
|