ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/utils/CmdlineZsub.h
Revision: 1074
Committed: Mon Mar 1 20:01:50 2004 UTC (21 years, 2 months ago) by tim
Content type: text/plain
File size: 2053 byte(s)
Log Message:
Adding zsub, a program which can be used to replace atom type for zconstraint into OOPSE

File Contents

# Content
1 /* CmdlineZsub.h */
2
3 /* File autogenerated by gengetopt version 2.11 */
4
5 #ifndef CMDLINEZSUB_H
6 #define CMDLINEZSUB_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 "zsub"
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 * input_arg; /* input dump file. */
28 char * output_arg; /* output file name. */
29 int frame_arg; /* print every n frame (default='1'). */
30 int dipole_flag; /* print the dipole moments (default=off). */
31 int water_flag; /* print the the waters (default=off). */
32 int periodicBox_flag; /* map to the periodic box (default=off). */
33 int replace_flag; /* replace the atom types of zconstraint molecules (default=off). */
34 int repeatX_arg; /* The number of images to repeat in the x direction (default='0'). */
35 int repeatY_arg; /* The number of images to repeat in the y direction (default='0'). */
36 int repeatZ_arg; /* The number of images to repeat in the z direction (default='0'). */
37
38 int help_given ; /* Whether help was given. */
39 int version_given ; /* Whether version was given. */
40 int input_given ; /* Whether input was given. */
41 int output_given ; /* Whether output was given. */
42 int frame_given ; /* Whether frame was given. */
43 int dipole_given ; /* Whether dipole was given. */
44 int water_given ; /* Whether water was given. */
45 int periodicBox_given ; /* Whether periodicBox was given. */
46 int replace_given ; /* Whether replace was given. */
47 int repeatX_given ; /* Whether repeatX was given. */
48 int repeatY_given ; /* Whether repeatY was given. */
49 int repeatZ_given ; /* Whether repeatZ was given. */
50
51 } ;
52
53 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
54
55 void cmdline_parser_print_help(void);
56 void cmdline_parser_print_version(void);
57
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61 #endif /* CMDLINEZSUB_H */