00001 #include<config.h> 00002 CPS_START_NAMESPACE 00008 //------------------------------------------------------------------ 00009 00010 #ifndef INCLUDED_ALG_OVERRELAX_H 00011 #define INCLUDED_ALG_OVERRELAX_H 00012 00013 CPS_END_NAMESPACE 00014 #include <util/lattice.h> 00015 #include <util/smalloc.h> 00016 #include <util/pmalloc.h> 00017 #include <alg/alg_base.h> 00018 #include <alg/common_arg.h> 00019 #include <alg/overrelax_arg.h> 00020 CPS_START_NAMESPACE 00021 00022 //----------------------------------------------------------------------------- 00024 00029 //------------------------------------------------------------------ 00030 class AlgOverRelax : public Alg 00031 { 00032 private: 00033 char *cname; 00034 00035 OverRelaxArg *alg_overrelax_arg; 00036 // The argument structure for the GheatBath algorithm 00037 Float fGamma; 00038 void kernel( Float *sigma, Float *U); 00039 void UpdateLink(Matrix* mp, const Matrix & stap); 00040 00041 public: 00042 AlgOverRelax(Lattice & latt, CommonArg *c_arg, OverRelaxArg *arg); 00043 00044 virtual ~AlgOverRelax(); 00045 00046 void run(void); 00047 00048 }; 00049 00050 #endif 00051 00052 00053 00054 00055 00056 CPS_END_NAMESPACE
1.3.9.1