ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/applications/dynamicProps/DynamicPropsCmd.h
Revision: 1245
Committed: Tue May 27 16:39:06 2008 UTC (16 years, 11 months ago) by chuckv
Content type: text/plain
Original Path: trunk/src/applications/dynamicProps/DynamicPropsCmd.h
File size: 2852 byte(s)
Log Message:
Checking in changes for Hefland moment calculations

File Contents

# User Rev Content
1 tim 320 /* DynamicPropsCmd.h */
2    
3 chuckv 1245 /* File autogenerated by gengetopt version 2.14 */
4 tim 320
5     #ifndef DYNAMICPROPSCMD_H
6     #define DYNAMICPROPSCMD_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 "DynamicProps"
19     #endif
20    
21     #ifndef CMDLINE_PARSER_VERSION
22     #define CMDLINE_PARSER_VERSION "1.00"
23     #endif
24    
25 tim 876 struct gengetopt_args_info
26     {
27     char * input_arg; /* input dump file. */
28 chuckv 1098 char * input_orig; /* input dump file original value given at command line. */
29 tim 876 char * output_arg; /* output file name. */
30 chuckv 1098 char * output_orig; /* output file name original value given at command line. */
31 tim 876 char * sele1_arg; /* select first stuntdouble set. */
32 chuckv 1098 char * sele1_orig; /* select first stuntdouble set original value given at command line. */
33 tim 876 char * sele2_arg; /* select second stuntdouble set (if sele2 is not set, use script from sele1). */
34 chuckv 1098 char * sele2_orig; /* select second stuntdouble set (if sele2 is not set, use script from sele1) original value given at command line. */
35 tim 876 int order_arg; /* Lengendre Polynomial Order. */
36 chuckv 1098 char * order_orig; /* Lengendre Polynomial Order original value given at command line. */
37    
38 tim 876 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 sele1_given ; /* Whether sele1 was given. */
43     int sele2_given ; /* Whether sele2 was given. */
44     int order_given ; /* Whether order was given. */
45     int rcorr_given ; /* Whether rcorr was given. */
46     int vcorr_given ; /* Whether vcorr was given. */
47     int dcorr_given ; /* Whether dcorr was given. */
48     int lcorr_given ; /* Whether lcorr was given. */
49 chuckv 1098 int r_rcorr_given ; /* Whether r_rcorr was given. */
50 chuckv 1112 int thetacorr_given ; /* Whether thetacorr was given. */
51 xsun 1183 int drcorr_given ; /* Whether drcorr was given. */
52 chuckv 1245 int helfandEcorr_given ; /* Whether helfandEcorr was given. */
53 tim 320
54 chuckv 1098 int dynamicProps_group_counter; /* counter for group dynamicProps */
55 tim 876 } ;
56 tim 320
57 chuckv 1245 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
58     int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);
59     int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info);
60 tim 320
61 tim 876 void cmdline_parser_print_help(void);
62     void cmdline_parser_print_version(void);
63 tim 320
64 chuckv 1098 void cmdline_parser_init (struct gengetopt_args_info *args_info);
65     void cmdline_parser_free (struct gengetopt_args_info *args_info);
66    
67 chuckv 1245 int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name);
68 chuckv 1098
69    
70 tim 320 #ifdef __cplusplus
71     }
72     #endif /* __cplusplus */
73     #endif /* DYNAMICPROPSCMD_H */