00001
00002
00003
00004
00005
00006 #ifndef _DO_ARG_H_RPCGEN
00007 #define _DO_ARG_H_RPCGEN
00008
00009 #include <config.h>
00010 #include <util/vml/types.h>
00011 #include <util/vml/vml.h>
00012 #include <util/enum.h>
00013 #include <util/defines.h>
00014 CPS_START_NAMESPACE
00015
00016 class VML;
00017 class BGLAxisMap {
00018 public:
00019 bool Encode(char *filename,char *instance);
00020 bool Decode(char *filename,char *instance);
00021 bool Vml(VML *vmls,char *instance);
00022 int bgl_machine_dir_x;
00023 int bgl_machine_dir_y;
00024 int bgl_machine_dir_z;
00025 int bgl_machine_dir_t;
00026 };
00027
00028 class VML;
00029 class DoArg {
00030 public:
00031 bool Encode(char *filename,char *instance);
00032 bool Decode(char *filename,char *instance);
00033 bool Vml(VML *vmls,char *instance);
00034 int x_sites;
00035 int y_sites;
00036 int z_sites;
00037 int t_sites;
00038 int s_sites;
00039 int x_node_sites;
00040 int y_node_sites;
00041 int z_node_sites;
00042 int t_node_sites;
00043 int s_node_sites;
00044 int x_nodes;
00045 int y_nodes;
00046 int z_nodes;
00047 int t_nodes;
00048 int s_nodes;
00049 int updates;
00050 int measurements;
00051 int measurefreq;
00052 int cg_reprod_freq;
00053 BndCndType x_bc;
00054 BndCndType y_bc;
00055 BndCndType z_bc;
00056 BndCndType t_bc;
00057 StartConfType start_conf_kind;
00058 u_long start_conf_load_addr;
00059 StartSeedType start_seed_kind;
00060 char *start_seed_filename;
00061 char *start_conf_filename;
00062 int start_conf_alloc_flag;
00063 int wfm_alloc_flag;
00064 int wfm_send_alloc_flag;
00065 int start_seed_value;
00066 Float beta;
00067 Float c_1;
00068 Float u0;
00069 Float dwf_height;
00070 Float dwf_a5_inv;
00071 Float power_plaq_cutoff;
00072 int power_plaq_exponent;
00073 Float power_rect_cutoff;
00074 int power_rect_exponent;
00075 int verbose_level;
00076 int checksum_level;
00077 int exec_task_list;
00078 Float xi_bare;
00079 int xi_dir;
00080 Float xi_v;
00081 Float xi_v_xi;
00082 Float clover_coeff;
00083 Float clover_coeff_xi;
00084 Float xi_gfix;
00085 int gfix_chkb;
00086 Float asqtad_KS;
00087 Float asqtad_naik;
00088 Float asqtad_3staple;
00089 Float asqtad_5staple;
00090 Float asqtad_7staple;
00091 Float asqtad_lepage;
00092 Float p4_KS;
00093 Float p4_knight;
00094 Float p4_3staple;
00095 Float p4_5staple;
00096 Float p4_7staple;
00097 Float p4_lepage;
00098 DoArg ( ) ;
00099 void SetupAsqTadU0 ( double u0 ) ;
00100 };
00101
00102
00103
00104 #ifdef __cplusplus
00105 extern "C" {
00106 #endif
00107
00108 #if defined(__STDC__) || defined(__cplusplus)
00109 extern bool_t vml_BGLAxisMap (VML *, char *instance, BGLAxisMap*);
00110 extern bool_t vml_DoArg (VML *, char *instance, DoArg*);
00111
00112 #else
00113 extern bool_t vml_BGLAxisMap (VML *, char *instance, BGLAxisMap*);
00114 extern bool_t vml_DoArg (VML *, char *instance, DoArg*);
00115
00116 #endif
00117
00118 #ifdef __cplusplus
00119 }
00120 #endif
00121 CPS_END_NAMESPACE
00122
00123 #endif