ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/dynamicProps/DynamicPropsCmd.h
Revision: 3235
Committed: Tue Oct 2 12:05:25 2007 UTC (16 years, 9 months ago) by xsun
Content type: text/plain
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

# Content
1 /* DynamicPropsCmd.h */
2
3 /* File autogenerated by gengetopt version 2.16 */
4
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 struct gengetopt_args_info
26 {
27 char * input_arg; /* input dump file. */
28 char * input_orig; /* input dump file original value given at command line. */
29 char * output_arg; /* output file name. */
30 char * output_orig; /* output file name original value given at command line. */
31 char * sele1_arg; /* select first stuntdouble set. */
32 char * sele1_orig; /* select first stuntdouble set original value given at command line. */
33 char * sele2_arg; /* select second stuntdouble set (if sele2 is not set, use script from sele1). */
34 char * sele2_orig; /* select second stuntdouble set (if sele2 is not set, use script from sele1) original value given at command line. */
35 int order_arg; /* Lengendre Polynomial Order. */
36 char * order_orig; /* Lengendre Polynomial Order original value given at command line. */
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 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 int r_rcorr_given ; /* Whether r_rcorr was given. */
50 int thetacorr_given ; /* Whether thetacorr was given. */
51 int actioncorr_given ; /* Whether actioncorr was given. */
52 int drcorr_given ; /* Whether drcorr was given. */
53
54 int dynamicProps_group_counter; /* counter for group dynamicProps */
55 } ;
56
57 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
61 void cmdline_parser_print_help(void);
62 void cmdline_parser_print_version(void);
63
64 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 #ifdef __cplusplus
71 }
72 #endif /* __cplusplus */
73 #endif /* DYNAMICPROPSCMD_H */