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.. */ |
29 |
< |
double density_arg; /* density g/cm^3. */ |
31 |
< |
double ndensity_arg; /* number density. */ |
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 |
|
int nx_arg; /* number of unit cells in x. */ |
31 |
|
int ny_arg; /* number of unit cells in y. */ |
32 |
|
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. */ |
33 |
|
|
34 |
|
int help_given ; /* Whether help was given. */ |
35 |
|
int version_given ; /* Whether version was given. */ |
41 |
– |
int include_given ; /* Whether include was given. */ |
36 |
|
int output_given ; /* Whether output was given. */ |
37 |
|
int latticetype_given ; /* Whether latticetype was given. */ |
38 |
|
int density_given ; /* Whether density was given. */ |
45 |
– |
int ndensity_given ; /* Whether ndensity was given. */ |
39 |
|
int nx_given ; /* Whether nx was given. */ |
40 |
|
int ny_given ; /* Whether ny was given. */ |
41 |
|
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. */ |
42 |
|
|
43 |
|
char **inputs ; /* unamed options */ |
44 |
|
unsigned inputs_num ; /* unamed options number */ |