ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/cmdline.h
Revision: 1334
Committed: Fri Jul 16 18:58:03 2004 UTC (19 years, 11 months ago) by gezelter
Content type: text/plain
File size: 2704 byte(s)
Log Message:
Initial import of OOPSE-1.0 source tree

File Contents

# User Rev Content
1 gezelter 1334 /* cmdline.h */
2    
3     /* File autogenerated by gengetopt version 2.10 */
4    
5     #ifndef CMDLINE_H
6     #define CMDLINE_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     int nanoparticle_flag; /* Build nanoparticle model (default=off). */
28     double vacancies_arg; /* Build nanoparticle with vacancies %.. */
29     double vacancyradius_arg; /* Radius(A) between core-shell interface to build vacancies.. */
30     char * core_arg; /* Core model name. For a single component particle, the model for the particle.. */
31     char * shell_arg; /* Shell model name.. */
32     double randomparticle_arg; /* Create an random configuration mole fraction %.. */
33     int bilayer_flag; /* Tries to build a basic bilayer with the specified number of lipids in the input bass file. The bilayer will be surrounded by the number of solvent molecules specified in the bass file. -note: combined with -r the simulation will start the lipids randomly oriented in a sea of water. (default=off). */
34     char * lipid_arg; /* Lipid model in BASS file. */
35     char * water_arg; /* Water model in BASS file. */
36     int random_flag; /* Build randomly oriented lipids in a sea of water (default=off). */
37     char ** include_arg; /* File name that should be included at the top of the output bass file.. */
38     char * output_arg; /* Output file name. */
39    
40     int help_given ; /* Whether help was given. */
41     int version_given ; /* Whether version was given. */
42     int nanoparticle_given ; /* Whether nanoparticle was given. */
43     int vacancies_given ; /* Whether vacancies was given. */
44     int vacancyradius_given ; /* Whether vacancyradius was given. */
45     int core_given ; /* Whether core was given. */
46     int shell_given ; /* Whether shell was given. */
47     int randomparticle_given ; /* Whether randomparticle was given. */
48     int bilayer_given ; /* Whether bilayer was given. */
49     int lipid_given ; /* Whether lipid was given. */
50     int water_given ; /* Whether water was given. */
51     int random_given ; /* Whether random was given. */
52     int include_given ; /* Whether include was given. */
53     int output_given ; /* Whether output was given. */
54    
55     char **inputs ; /* unamed options */
56     unsigned inputs_num ; /* unamed options number */
57     } ;
58    
59     int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
60    
61     void cmdline_parser_print_help(void);
62     void cmdline_parser_print_version(void);
63    
64     #ifdef __cplusplus
65     }
66     #endif /* __cplusplus */
67     #endif /* CMDLINE_H */