00001 #ifndef __SYSSOLVER_CG_CLOVER_PARAMS_H__ 00002 #define __SYSSOLVER_CG_CLOVER_PARAMS_H__ 00003 00004 #include "chromabase.h" 00005 #include "actions/ferm/fermacts/clover_fermact_params_w.h" 00006 #include "io/xml_group_reader.h" 00007 00008 namespace Chroma 00009 { 00010 struct SysSolverCGCloverParams { 00011 SysSolverCGCloverParams(XMLReader& xml, const std::string& path); 00012 SysSolverCGCloverParams() {}; 00013 SysSolverCGCloverParams( const SysSolverCGCloverParams& p) { 00014 clovParams = p.clovParams; 00015 MaxCG = p.MaxCG; 00016 RsdCG = p.RsdCG; 00017 } 00018 CloverFermActParams clovParams; 00019 int MaxCG; 00020 Real RsdCG; 00021 }; 00022 00023 00024 void read(XMLReader& xml, const std::string& path, SysSolverCGCloverParams& p); 00025 00026 void write(XMLWriter& xml, const std::string& path, 00027 const SysSolverCGCloverParams& param); 00028 00029 00030 00031 } 00032 00033 #endif 00034 00035
1.4.7