1 |
|
/** @file StaticPropsCmd.h |
2 |
|
* @brief The header file for the command line option parser |
3 |
< |
* generated by GNU Gengetopt version 2.22 |
3 |
> |
* generated by GNU Gengetopt version 2.22.4 |
4 |
|
* http://www.gnu.org/software/gengetopt. |
5 |
|
* DO NOT modify this file, since it can be overwritten |
6 |
|
* @author GNU Gengetopt by Lorenzo Bettini */ |
20 |
|
#endif /* __cplusplus */ |
21 |
|
|
22 |
|
#ifndef CMDLINE_PARSER_PACKAGE |
23 |
< |
/** @brief the program name */ |
23 |
> |
/** @brief the program name (used for printing errors) */ |
24 |
|
#define CMDLINE_PARSER_PACKAGE "StaticProps" |
25 |
|
#endif |
26 |
|
|
27 |
+ |
#ifndef CMDLINE_PARSER_PACKAGE_NAME |
28 |
+ |
/** @brief the complete program name (used for help and version) */ |
29 |
+ |
#define CMDLINE_PARSER_PACKAGE_NAME "StaticProps" |
30 |
+ |
#endif |
31 |
+ |
|
32 |
|
#ifndef CMDLINE_PARSER_VERSION |
33 |
|
/** @brief the program version */ |
34 |
|
#define CMDLINE_PARSER_VERSION "1.00" |
108 |
|
const char *bo_help; /**< @brief bond order parameter (--rcut must be specified) help description. */ |
109 |
|
const char *bor_help; /**< @brief bond order parameter as a function of radius (--rcut must be specified) help description. */ |
110 |
|
const char *bad_help; /**< @brief N(theta) bond angle density within (--rcut must be specified) help description. */ |
111 |
+ |
const char *count_help; /**< @brief count of molecules matching selection criteria (and associated statistics) help description. */ |
112 |
|
const char *gofr_help; /**< @brief g(r) help description. */ |
113 |
|
const char *gofz_help; /**< @brief g(z) help description. */ |
114 |
|
const char *r_theta_help; /**< @brief g(r, cos(theta)) help description. */ |
125 |
|
const char *p_angle_help; /**< @brief p(cos(theta)) help description. */ |
126 |
|
const char *hxy_help; /**< @brief hxy help description. */ |
127 |
|
const char *rho_r_help; /**< @brief rho of R help description. */ |
128 |
+ |
const char *angle_r_help; /**< @brief angle of R help description. */ |
129 |
|
const char *hullvol_help; /**< @brief hull volume of nanoparticle help description. */ |
130 |
+ |
const char *tet_param_help; /**< @brief tetrahedrality order parameter help description. */ |
131 |
|
|
132 |
|
unsigned int help_given ; /**< @brief Whether help was given. */ |
133 |
|
unsigned int version_given ; /**< @brief Whether version was given. */ |
156 |
|
unsigned int bo_given ; /**< @brief Whether bo was given. */ |
157 |
|
unsigned int bor_given ; /**< @brief Whether bor was given. */ |
158 |
|
unsigned int bad_given ; /**< @brief Whether bad was given. */ |
159 |
+ |
unsigned int count_given ; /**< @brief Whether count was given. */ |
160 |
|
unsigned int gofr_given ; /**< @brief Whether gofr was given. */ |
161 |
|
unsigned int gofz_given ; /**< @brief Whether gofz was given. */ |
162 |
|
unsigned int r_theta_given ; /**< @brief Whether r_theta was given. */ |
173 |
|
unsigned int p_angle_given ; /**< @brief Whether p_angle was given. */ |
174 |
|
unsigned int hxy_given ; /**< @brief Whether hxy was given. */ |
175 |
|
unsigned int rho_r_given ; /**< @brief Whether rho_r was given. */ |
176 |
+ |
unsigned int angle_r_given ; /**< @brief Whether angle_r was given. */ |
177 |
|
unsigned int hullvol_given ; /**< @brief Whether hullvol was given. */ |
178 |
+ |
unsigned int tet_param_given ; /**< @brief Whether tet_param was given. */ |
179 |
|
|
180 |
|
char **inputs ; /**< @brief unamed options (options without names) */ |
181 |
|
unsigned inputs_num ; /**< @brief unamed options number */ |
206 |
|
* @param args_info the structure where option information will be stored |
207 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
208 |
|
*/ |
209 |
< |
int cmdline_parser (int argc, char * const *argv, |
209 |
> |
int cmdline_parser (int argc, char **argv, |
210 |
|
struct gengetopt_args_info *args_info); |
211 |
|
|
212 |
|
/** |
220 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
221 |
|
* @deprecated use cmdline_parser_ext() instead |
222 |
|
*/ |
223 |
< |
int cmdline_parser2 (int argc, char * const *argv, |
223 |
> |
int cmdline_parser2 (int argc, char **argv, |
224 |
|
struct gengetopt_args_info *args_info, |
225 |
|
int override, int initialize, int check_required); |
226 |
|
|
232 |
|
* @param params additional parameters for the parser |
233 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
234 |
|
*/ |
235 |
< |
int cmdline_parser_ext (int argc, char * const *argv, |
235 |
> |
int cmdline_parser_ext (int argc, char **argv, |
236 |
|
struct gengetopt_args_info *args_info, |
237 |
|
struct cmdline_parser_params *params); |
238 |
|
|