| 15 |
|
#endif /* __cplusplus */ |
| 16 |
|
|
| 17 |
|
#ifndef CMDLINE_PARSER_PACKAGE |
| 18 |
< |
#define CMDLINE_PARSER_PACKAGE "sysbuilder" |
| 18 |
> |
#define CMDLINE_PARSER_PACKAGE "simpleBuilder" |
| 19 |
|
#endif |
| 20 |
|
|
| 21 |
|
#ifndef CMDLINE_PARSER_VERSION |
| 24 |
|
|
| 25 |
|
struct gengetopt_args_info |
| 26 |
|
{ |
| 27 |
– |
char ** include_arg; /* File name that should be included at the top of the output bass file.. */ |
| 27 |
|
char * output_arg; /* Output file name. */ |
| 28 |
< |
char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water.. */ |
| 28 |
> |
char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water. (default='fcc'). */ |
| 29 |
|
double density_arg; /* density g/cm^3. */ |
| 30 |
|
double ndensity_arg; /* number density. */ |
| 31 |
|
int nx_arg; /* number of unit cells in x. */ |
| 32 |
|
int ny_arg; /* number of unit cells in y. */ |
| 33 |
|
int nz_arg; /* number of unit cells in z. */ |
| 35 |
– |
double a1_arg; /* lattice spacing in Angstroms h - for cubic lattice, specify this parameter. */ |
| 36 |
– |
double a2_arg; /* lattice spacing in Angstroms k. */ |
| 37 |
– |
double a3_arg; /* lattice spacing in Angstroms l. */ |
| 34 |
|
|
| 35 |
|
int help_given ; /* Whether help was given. */ |
| 36 |
|
int version_given ; /* Whether version was given. */ |
| 41 |
– |
int include_given ; /* Whether include was given. */ |
| 37 |
|
int output_given ; /* Whether output was given. */ |
| 38 |
|
int latticetype_given ; /* Whether latticetype was given. */ |
| 39 |
|
int density_given ; /* Whether density was given. */ |
| 41 |
|
int nx_given ; /* Whether nx was given. */ |
| 42 |
|
int ny_given ; /* Whether ny was given. */ |
| 43 |
|
int nz_given ; /* Whether nz was given. */ |
| 49 |
– |
int a1_given ; /* Whether a1 was given. */ |
| 50 |
– |
int a2_given ; /* Whether a2 was given. */ |
| 51 |
– |
int a3_given ; /* Whether a3 was given. */ |
| 44 |
|
|
| 45 |
|
char **inputs ; /* unamed options */ |
| 46 |
|
unsigned inputs_num ; /* unamed options number */ |