#include CPS_START_NAMESPACE //------------------------------------------------------------------ /*!\file \brief Definitions of the AlgPlaq class. */ //------------------------------------------------------------------ #ifndef INCLUDED_ALG_PLAQ_H #define INCLUDED_ALG_PLAQ_H CPS_END_NAMESPACE #include #include #include #include #include #include CPS_START_NAMESPACE //------------------------------------------------------------------ //! A class implementing calculation of the average plaquette. /*! This class computes the real trace of the plaquette averaged over the total number of plaquettes and the number of colours (which is three). Also computed is the variance of this mean, and one third of the real trace of the plaquette at the origin in the X-Y plane. \ingroup alg */ //------------------------------------------------------------------ class AlgPlaq : public Alg { private: char *cname; NoArg *alg_plaq_arg; // The argument structure for the plaquette Float norm_fac; // normalization factor public: AlgPlaq(Lattice & latt, CommonArg *c_arg, NoArg *arg); virtual ~AlgPlaq(); void run(Float *results =0); }; #endif CPS_END_NAMESPACE