ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/applications/dynamicProps/DynamicPropsCmd.h
Revision: 1183
Committed: Tue Oct 2 12:05:25 2007 UTC (17 years, 7 months ago) by xsun
Content type: text/plain
Original Path: trunk/src/applications/dynamicProps/DynamicPropsCmd.h
File size: 2848 byte(s)
Log Message:
Added: Action Correlation function (for viscosity), Directional RCorr (for
non-spherical bodies)
Modified: LCorr (for multiple axes)

File Contents

# User Rev Content
1 tim 320 /* DynamicPropsCmd.h */
2    
3 xsun 1183 /* File autogenerated by gengetopt version 2.16 */
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 actioncorr_given ; /* Whether actioncorr was given. */
52     int drcorr_given ; /* Whether drcorr was given. */
53 tim 320
54 chuckv 1098 int dynamicProps_group_counter; /* counter for group dynamicProps */
55 tim 876 } ;
56 tim 320
57 tim 876 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
58 chuckv 1098 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     int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name);
68    
69    
70 tim 320 #ifdef __cplusplus
71     }
72     #endif /* __cplusplus */
73     #endif /* DYNAMICPROPSCMD_H */