ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/dump2Xyz/Dump2XYZCmd.h
Revision: 1986
Committed: Mon Feb 7 21:11:22 2005 UTC (19 years, 5 months ago) by tim
Content type: text/plain
File size: 2930 byte(s)
Log Message:
update help info for Dump2XYZ

File Contents

# User Rev Content
1 tim 1986 /* Dump2XYZCmd.h */
2 tim 1501
3     /* File autogenerated by gengetopt version 2.11 */
4    
5 tim 1986 #ifndef DUMP2XYZCMD_H
6     #define DUMP2XYZCMD_H
7 tim 1501
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 "Dump2XYZ"
19     #endif
20    
21     #ifndef CMDLINE_PARSER_VERSION
22     #define CMDLINE_PARSER_VERSION "0.99"
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; /* skip the the waters (default=off). */
32     int periodicBox_flag; /* map to the periodic box (default=off). */
33     int zconstraint_flag; /* replace the atom types of zconstraint molecules (default=off). */
34     int rigidbody_flag; /* add a pseudo COM atom to rigidbody (default=off). */
35     int watertype_flag; /* replace the atom type of water model (default=on). */
36     char ** ignore_arg; /* ignore the atom types. */
37 tim 1986 char * selection_arg; /* general selection syntax:\n
38     select DMPC -- select DMPC molecule\n \
39     select DMPC.* -- select all atoms and all rigidbodies belong to DMPC molecule\n \
40     select 5 -- select stuntdobule whose global index is 5\n \
41     select within (5.0, HDP or PO4) -- select stuntdoubles which is within 5 A to HDP or PO4\n \
42     select DMPC.DMPC_RB_*.* --select atoms belong to rigid body inside DMPC molecule . */
43 tim 1501 int repeatX_arg; /* The number of images to repeat in the x direction (default='0'). */
44     int repeatY_arg; /* The number of images to repeat in the y direction (default='0'). */
45     int repeatZ_arg; /* The number of images to repeat in the z direction (default='0'). */
46    
47     int help_given ; /* Whether help was given. */
48     int version_given ; /* Whether version was given. */
49     int input_given ; /* Whether input was given. */
50     int output_given ; /* Whether output was given. */
51     int frame_given ; /* Whether frame was given. */
52     int dipole_given ; /* Whether dipole was given. */
53     int water_given ; /* Whether water was given. */
54     int periodicBox_given ; /* Whether periodicBox was given. */
55     int zconstraint_given ; /* Whether zconstraint was given. */
56     int rigidbody_given ; /* Whether rigidbody was given. */
57     int watertype_given ; /* Whether watertype was given. */
58     int ignore_given ; /* Whether ignore was given. */
59 tim 1975 int selection_given ; /* Whether selection was given. */
60 tim 1501 int repeatX_given ; /* Whether repeatX was given. */
61     int repeatY_given ; /* Whether repeatY was given. */
62     int repeatZ_given ; /* Whether repeatZ was given. */
63    
64     } ;
65    
66     int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
67    
68     void cmdline_parser_print_help(void);
69     void cmdline_parser_print_version(void);
70    
71     #ifdef __cplusplus
72     }
73     #endif /* __cplusplus */
74 tim 1986 #endif /* DUMP2XYZCMD_H */