| 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" |
| 117 |
|
const char *theta_omega_help; /**< @brief g(cos(theta), cos(omega)) help description. */ |
| 118 |
|
const char *gxyz_help; /**< @brief g(x, y, z) help description. */ |
| 119 |
|
const char *twodgofr_help; /**< @brief 2D g(r) (Slab width --dz must be specified) help description. */ |
| 120 |
< |
const char *p2_help; /**< @brief p2 order parameter (--sele1 and --sele2 must be specified) help description. */ |
| 120 |
> |
const char *p2_help; /**< @brief p2 order parameter (--sele1 must be specified, --sele2 is optional) help description. */ |
| 121 |
|
const char *rp2_help; /**< @brief rp2 order parameter (--sele1 and --sele2 must be specified) help description. */ |
| 122 |
|
const char *scd_help; /**< @brief scd order parameter (either --sele1, --sele2, --sele3 are specified or --molname, --begin, --end are specified) help description. */ |
| 123 |
|
const char *density_help; /**< @brief density plot 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 *rodlength_help; /**< @brief length of nanorod help description. */ |
| 131 |
+ |
const char *tet_param_help; /**< @brief tetrahedrality order parameter help description. */ |
| 132 |
+ |
const char *tet_param_z_help; /**< @brief tetrahedrality order parameter by zbin(--sele1 must be specified) help description. */ |
| 133 |
|
|
| 134 |
|
unsigned int help_given ; /**< @brief Whether help was given. */ |
| 135 |
|
unsigned int version_given ; /**< @brief Whether version was given. */ |
| 175 |
|
unsigned int p_angle_given ; /**< @brief Whether p_angle was given. */ |
| 176 |
|
unsigned int hxy_given ; /**< @brief Whether hxy was given. */ |
| 177 |
|
unsigned int rho_r_given ; /**< @brief Whether rho_r was given. */ |
| 178 |
+ |
unsigned int angle_r_given ; /**< @brief Whether angle_r was given. */ |
| 179 |
|
unsigned int hullvol_given ; /**< @brief Whether hullvol was given. */ |
| 180 |
+ |
unsigned int rodlength_given ; /**< @brief Whether rodlength was given. */ |
| 181 |
+ |
unsigned int tet_param_given ; /**< @brief Whether tet_param was given. */ |
| 182 |
+ |
unsigned int tet_param_z_given ; /**< @brief Whether tet_param_z was given. */ |
| 183 |
|
|
| 184 |
|
char **inputs ; /**< @brief unamed options (options without names) */ |
| 185 |
|
unsigned inputs_num ; /**< @brief unamed options number */ |
| 210 |
|
* @param args_info the structure where option information will be stored |
| 211 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 212 |
|
*/ |
| 213 |
< |
int cmdline_parser (int argc, char * const *argv, |
| 213 |
> |
int cmdline_parser (int argc, char **argv, |
| 214 |
|
struct gengetopt_args_info *args_info); |
| 215 |
|
|
| 216 |
|
/** |
| 224 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 225 |
|
* @deprecated use cmdline_parser_ext() instead |
| 226 |
|
*/ |
| 227 |
< |
int cmdline_parser2 (int argc, char * const *argv, |
| 227 |
> |
int cmdline_parser2 (int argc, char **argv, |
| 228 |
|
struct gengetopt_args_info *args_info, |
| 229 |
|
int override, int initialize, int check_required); |
| 230 |
|
|
| 236 |
|
* @param params additional parameters for the parser |
| 237 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 238 |
|
*/ |
| 239 |
< |
int cmdline_parser_ext (int argc, char * const *argv, |
| 239 |
> |
int cmdline_parser_ext (int argc, char **argv, |
| 240 |
|
struct gengetopt_args_info *args_info, |
| 241 |
|
struct cmdline_parser_params *params); |
| 242 |
|
|