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" |
93 |
|
char * comsele_arg; /**< @brief select stunt doubles for center-of-mass reference point. */ |
94 |
|
char * comsele_orig; /**< @brief select stunt doubles for center-of-mass reference point original value given at command line. */ |
95 |
|
const char *comsele_help; /**< @brief select stunt doubles for center-of-mass reference point help description. */ |
96 |
+ |
int seleoffset_arg; /**< @brief global index offset for a second object (used to define a vector between sites in molecule). */ |
97 |
+ |
char * seleoffset_orig; /**< @brief global index offset for a second object (used to define a vector between sites in molecule) original value given at command line. */ |
98 |
+ |
const char *seleoffset_help; /**< @brief global index offset for a second object (used to define a vector between sites in molecule) help description. */ |
99 |
|
char * molname_arg; /**< @brief molecule name. */ |
100 |
|
char * molname_orig; /**< @brief molecule name original value given at command line. */ |
101 |
|
const char *molname_help; /**< @brief molecule name help description. */ |
111 |
|
const char *bo_help; /**< @brief bond order parameter (--rcut must be specified) help description. */ |
112 |
|
const char *bor_help; /**< @brief bond order parameter as a function of radius (--rcut must be specified) help description. */ |
113 |
|
const char *bad_help; /**< @brief N(theta) bond angle density within (--rcut must be specified) help description. */ |
114 |
+ |
const char *count_help; /**< @brief count of molecules matching selection criteria (and associated statistics) help description. */ |
115 |
|
const char *gofr_help; /**< @brief g(r) help description. */ |
116 |
|
const char *gofz_help; /**< @brief g(z) help description. */ |
117 |
|
const char *r_theta_help; /**< @brief g(r, cos(theta)) help description. */ |
120 |
|
const char *theta_omega_help; /**< @brief g(cos(theta), cos(omega)) help description. */ |
121 |
|
const char *gxyz_help; /**< @brief g(x, y, z) help description. */ |
122 |
|
const char *twodgofr_help; /**< @brief 2D g(r) (Slab width --dz must be specified) help description. */ |
123 |
< |
const char *p2_help; /**< @brief p2 order parameter (--sele1 and --sele2 must be specified) help description. */ |
123 |
> |
const char *p2_help; /**< @brief p2 order parameter (--sele1 must be specified, --sele2 is optional) help description. */ |
124 |
|
const char *rp2_help; /**< @brief rp2 order parameter (--sele1 and --sele2 must be specified) help description. */ |
125 |
|
const char *scd_help; /**< @brief scd order parameter (either --sele1, --sele2, --sele3 are specified or --molname, --begin, --end are specified) help description. */ |
126 |
|
const char *density_help; /**< @brief density plot help description. */ |
128 |
|
const char *p_angle_help; /**< @brief p(cos(theta)) help description. */ |
129 |
|
const char *hxy_help; /**< @brief hxy help description. */ |
130 |
|
const char *rho_r_help; /**< @brief rho of R help description. */ |
131 |
+ |
const char *angle_r_help; /**< @brief angle of R help description. */ |
132 |
|
const char *hullvol_help; /**< @brief hull volume of nanoparticle help description. */ |
133 |
+ |
const char *rodlength_help; /**< @brief length of nanorod help description. */ |
134 |
+ |
const char *tet_param_help; /**< @brief tetrahedrality order parameter (Qk) help description. */ |
135 |
+ |
const char *tet_param_z_help; /**< @brief spatially-resolved tetrahedrality order parameter Qk(z) help description. */ |
136 |
+ |
const char *rnemdz_help; /**< @brief slab-resolved RNEMD statistics (temperature, density, velocity) help description. */ |
137 |
+ |
const char *rnemdr_help; /**< @brief shell-resolved RNEMD statistics (temperature, density, angular velocity) help description. */ |
138 |
|
|
139 |
|
unsigned int help_given ; /**< @brief Whether help was given. */ |
140 |
|
unsigned int version_given ; /**< @brief Whether version was given. */ |
156 |
|
unsigned int sele3_given ; /**< @brief Whether sele3 was given. */ |
157 |
|
unsigned int refsele_given ; /**< @brief Whether refsele was given. */ |
158 |
|
unsigned int comsele_given ; /**< @brief Whether comsele was given. */ |
159 |
+ |
unsigned int seleoffset_given ; /**< @brief Whether seleoffset was given. */ |
160 |
|
unsigned int molname_given ; /**< @brief Whether molname was given. */ |
161 |
|
unsigned int begin_given ; /**< @brief Whether begin was given. */ |
162 |
|
unsigned int end_given ; /**< @brief Whether end was given. */ |
164 |
|
unsigned int bo_given ; /**< @brief Whether bo was given. */ |
165 |
|
unsigned int bor_given ; /**< @brief Whether bor was given. */ |
166 |
|
unsigned int bad_given ; /**< @brief Whether bad was given. */ |
167 |
+ |
unsigned int count_given ; /**< @brief Whether count was given. */ |
168 |
|
unsigned int gofr_given ; /**< @brief Whether gofr was given. */ |
169 |
|
unsigned int gofz_given ; /**< @brief Whether gofz was given. */ |
170 |
|
unsigned int r_theta_given ; /**< @brief Whether r_theta was given. */ |
181 |
|
unsigned int p_angle_given ; /**< @brief Whether p_angle was given. */ |
182 |
|
unsigned int hxy_given ; /**< @brief Whether hxy was given. */ |
183 |
|
unsigned int rho_r_given ; /**< @brief Whether rho_r was given. */ |
184 |
+ |
unsigned int angle_r_given ; /**< @brief Whether angle_r was given. */ |
185 |
|
unsigned int hullvol_given ; /**< @brief Whether hullvol was given. */ |
186 |
+ |
unsigned int rodlength_given ; /**< @brief Whether rodlength was given. */ |
187 |
+ |
unsigned int tet_param_given ; /**< @brief Whether tet_param was given. */ |
188 |
+ |
unsigned int tet_param_z_given ; /**< @brief Whether tet_param_z was given. */ |
189 |
+ |
unsigned int rnemdz_given ; /**< @brief Whether rnemdz was given. */ |
190 |
+ |
unsigned int rnemdr_given ; /**< @brief Whether rnemdr was given. */ |
191 |
|
|
192 |
|
char **inputs ; /**< @brief unamed options (options without names) */ |
193 |
|
unsigned inputs_num ; /**< @brief unamed options number */ |
218 |
|
* @param args_info the structure where option information will be stored |
219 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
220 |
|
*/ |
221 |
< |
int cmdline_parser (int argc, char * const *argv, |
221 |
> |
int cmdline_parser (int argc, char **argv, |
222 |
|
struct gengetopt_args_info *args_info); |
223 |
|
|
224 |
|
/** |
232 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
233 |
|
* @deprecated use cmdline_parser_ext() instead |
234 |
|
*/ |
235 |
< |
int cmdline_parser2 (int argc, char * const *argv, |
235 |
> |
int cmdline_parser2 (int argc, char **argv, |
236 |
|
struct gengetopt_args_info *args_info, |
237 |
|
int override, int initialize, int check_required); |
238 |
|
|
244 |
|
* @param params additional parameters for the parser |
245 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
246 |
|
*/ |
247 |
< |
int cmdline_parser_ext (int argc, char * const *argv, |
247 |
> |
int cmdline_parser_ext (int argc, char **argv, |
248 |
|
struct gengetopt_args_info *args_info, |
249 |
|
struct cmdline_parser_params *params); |
250 |
|
|