ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/applications/dump2Xyz/Dump2XYZCmd.h
(Generate patch)

Comparing trunk/OOPSE-2.0/src/applications/dump2Xyz/Dump2XYZCmd.h (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2240 by tim, Thu May 26 22:45:00 2005 UTC

# Line 22 | Line 22 | extern "C" {
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 water_flag;     /* skip the the waters (default=off).  */
31 <    int periodicBox_flag;       /* map to the periodic box (default=off).  */
32 <    int zconstraint_flag;       /* replace the atom types of zconstraint molecules (default=off).  */
33 <    int rigidbody_flag; /* add a pseudo COM atom to rigidbody (default=off).  */
34 <    int watertype_flag; /* replace the atom type of water model (default=on).  */
35 <    char * selection_arg;       /* general selection syntax.  */
36 <    char * originsele_arg;      /* select origin.  */
37 <    char * refsele_arg; /* select reference.  */
38 <    int repeatX_arg;    /* The number of images to repeat in the x direction (default='0').  */
39 <    int repeatY_arg;    /* The number of images to repeat in the y direction (default='0').  */
40 <    int repeatZ_arg;    /* The number of images to repeat in the z direction (default='0').  */
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 water_flag;       /* skip the the waters (default=off).  */
31 >  int periodicBox_flag; /* map to the periodic box (default=off).  */
32 >  int zconstraint_flag; /* replace the atom types of zconstraint molecules (default=off).  */
33 >  int rigidbody_flag;   /* add a pseudo COM atom to rigidbody (default=off).  */
34 >  int watertype_flag;   /* replace the atom type of water model (default=on).  */
35 >  int basetype_flag;    /* using base atom type (default=off).  */
36 >  char * selection_arg; /* general selection syntax.  */
37 >  char * originsele_arg;        /* select origin.  */
38 >  char * refsele_arg;   /* select reference.  */
39 >  int repeatX_arg;      /* The number of images to repeat in the x direction (default='0').  */
40 >  int repeatY_arg;      /* The number of images to repeat in the y direction (default='0').  */
41 >  int repeatZ_arg;      /* The number of images to repeat in the z direction (default='0').  */
42  
43 <    int help_given ;    /* Whether help was given.  */
44 <    int version_given ; /* Whether version was given.  */
45 <    int input_given ;   /* Whether input was given.  */
46 <    int output_given ;  /* Whether output was given.  */
47 <    int frame_given ;   /* Whether frame was given.  */
48 <    int water_given ;   /* Whether water was given.  */
49 <    int periodicBox_given ;     /* Whether periodicBox was given.  */
50 <    int zconstraint_given ;     /* Whether zconstraint was given.  */
51 <    int rigidbody_given ;       /* Whether rigidbody was given.  */
52 <    int watertype_given ;       /* Whether watertype was given.  */
53 <    int selection_given ;       /* Whether selection was given.  */
54 <    int originsele_given ;      /* Whether originsele was given.  */
55 <    int refsele_given ; /* Whether refsele was given.  */
56 <    int repeatX_given ; /* Whether repeatX was given.  */
57 <    int repeatY_given ; /* Whether repeatY was given.  */
58 <    int repeatZ_given ; /* Whether repeatZ was given.  */
43 >  int help_given ;      /* Whether help was given.  */
44 >  int version_given ;   /* Whether version was given.  */
45 >  int input_given ;     /* Whether input was given.  */
46 >  int output_given ;    /* Whether output was given.  */
47 >  int frame_given ;     /* Whether frame was given.  */
48 >  int water_given ;     /* Whether water was given.  */
49 >  int periodicBox_given ;       /* Whether periodicBox was given.  */
50 >  int zconstraint_given ;       /* Whether zconstraint was given.  */
51 >  int rigidbody_given ; /* Whether rigidbody was given.  */
52 >  int watertype_given ; /* Whether watertype was given.  */
53 >  int basetype_given ;  /* Whether basetype was given.  */
54 >  int selection_given ; /* Whether selection was given.  */
55 >  int originsele_given ;        /* Whether originsele was given.  */
56 >  int refsele_given ;   /* Whether refsele was given.  */
57 >  int repeatX_given ;   /* Whether repeatX was given.  */
58 >  int repeatY_given ;   /* Whether repeatY was given.  */
59 >  int repeatZ_given ;   /* Whether repeatZ was given.  */
60  
61 <  } ;
61 > } ;
62  
63 <  int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
63 > int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
64  
65 <  void cmdline_parser_print_help(void);
66 <  void cmdline_parser_print_version(void);
65 > void cmdline_parser_print_help(void);
66 > void cmdline_parser_print_version(void);
67  
68   #ifdef __cplusplus
69   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines