1 |
tim |
1424 |
/* simpleBuilderCmd.h */ |
2 |
|
|
|
3 |
|
|
/* File autogenerated by gengetopt version 2.11 */ |
4 |
|
|
|
5 |
|
|
#ifndef SIMPLEBUILDERCMD_H |
6 |
|
|
#define SIMPLEBUILDERCMD_H |
7 |
|
|
|
8 |
|
|
/* If we use autoconf. */ |
9 |
|
|
#ifdef HAVE_CONFIG_H |
10 |
|
|
#include "config.h" |
11 |
|
|
#endif |
12 |
|
|
|
13 |
|
|
#ifdef __cplusplus |
14 |
|
|
extern "C" { |
15 |
|
|
#endif /* __cplusplus */ |
16 |
|
|
|
17 |
|
|
#ifndef CMDLINE_PARSER_PACKAGE |
18 |
|
|
#define CMDLINE_PARSER_PACKAGE "sysbuilder" |
19 |
|
|
#endif |
20 |
|
|
|
21 |
|
|
#ifndef CMDLINE_PARSER_VERSION |
22 |
|
|
#define CMDLINE_PARSER_VERSION "1.0" |
23 |
|
|
#endif |
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.. */ |
28 |
|
|
char * output_arg; /* Output file name. */ |
29 |
|
|
char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water.. */ |
30 |
|
|
double density_arg; /* density g/cm^3. */ |
31 |
|
|
double ndensity_arg; /* number density. */ |
32 |
|
|
int nx_arg; /* number of unit cells in x. */ |
33 |
|
|
int ny_arg; /* number of unit cells in y. */ |
34 |
|
|
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. */ |
38 |
|
|
|
39 |
|
|
int help_given ; /* Whether help was given. */ |
40 |
|
|
int version_given ; /* Whether version was given. */ |
41 |
|
|
int include_given ; /* Whether include was given. */ |
42 |
|
|
int output_given ; /* Whether output was given. */ |
43 |
|
|
int latticetype_given ; /* Whether latticetype was given. */ |
44 |
|
|
int density_given ; /* Whether density was given. */ |
45 |
|
|
int ndensity_given ; /* Whether ndensity was given. */ |
46 |
|
|
int nx_given ; /* Whether nx was given. */ |
47 |
|
|
int ny_given ; /* Whether ny was given. */ |
48 |
|
|
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. */ |
52 |
|
|
|
53 |
|
|
char **inputs ; /* unamed options */ |
54 |
|
|
unsigned inputs_num ; /* unamed options number */ |
55 |
|
|
} ; |
56 |
|
|
|
57 |
|
|
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |
58 |
|
|
|
59 |
|
|
void cmdline_parser_print_help(void); |
60 |
|
|
void cmdline_parser_print_version(void); |
61 |
|
|
|
62 |
|
|
#ifdef __cplusplus |
63 |
|
|
} |
64 |
|
|
#endif /* __cplusplus */ |
65 |
|
|
#endif /* SIMPLEBUILDERCMD_H */ |