00001 #include<config.h> 00002 CPS_START_NAMESPACE 00008 //------------------------------------------------------------------ 00009 // 00010 // alg_base.h 00011 // 00012 // Header file for the base alg class. 00013 // The type of glue or fermion is given as 00014 // an argument of type Lattice& to the constructor. 00015 // 00016 //------------------------------------------------------------------ 00017 00018 00019 #ifndef INCLUDED_ALG_BASE_H 00020 #define INCLUDED_ALG_BASE_H 00021 00022 CPS_END_NAMESPACE 00023 #include <util/lattice.h> 00024 #include <util/smalloc.h> 00025 #include <util/pmalloc.h> 00026 #include <alg/common_arg.h> 00027 CPS_START_NAMESPACE 00028 00030 //------------------------------------------------------------------ 00032 //------------------------------------------------------------------ 00033 class Alg 00034 { 00035 private: 00036 char *cname; 00037 00038 Lattice& alg_lattice; 00039 // Local reference to the Lattice object 00040 00041 protected: 00042 CommonArg *common_arg; 00044 00045 00046 public: 00047 Alg(Lattice& latt, CommonArg *c_arg); 00049 00050 virtual ~Alg(); 00051 00052 Lattice& AlgLattice(); 00054 }; 00055 00056 00057 #endif 00058 00059 00060 00061 00062 00063 CPS_END_NAMESPACE
1.3.9.1