Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

cps::AlgPlaq Class Reference
[Algorithms]

A class implementing calculation of the average plaquette. More...

#include <alg_plaq.h>

Inherits cps::Alg.

List of all members.

Public Member Functions

 AlgPlaq (Lattice &latt, CommonArg *c_arg, NoArg *arg)
virtual ~AlgPlaq ()
void run (void)
 Performs the computation.


Detailed Description

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.

Definition at line 36 of file alg_plaq.h.


Constructor & Destructor Documentation

cps::AlgPlaq::AlgPlaq Lattice latt,
CommonArg c_arg,
NoArg arg
 

Parameters:
latt The lattice on which to compute the plaquette.
c_arg The common argument structure for all algorithms.
arg A dummy argument structure.

Definition at line 51 of file alg_plaq.C.

References cps::ERR, cps::Float, cps::Verbose::Func(), cps::GJP, cps::Error::Pointer(), cps::GlobalJobParameter::Tnodes(), cps::GlobalJobParameter::VolNodeSites(), cps::VRB, cps::GlobalJobParameter::Xnodes(), cps::GlobalJobParameter::Ynodes(), and cps::GlobalJobParameter::Znodes().

cps::AlgPlaq::~AlgPlaq  )  [virtual]
 

Definition at line 80 of file alg_plaq.C.

References cps::Verbose::Func(), and cps::VRB.


Member Function Documentation

void cps::AlgPlaq::run void   ) 
 

Performs the computation.

The real trace of the plaquette is averaged over the lattice and normalised to unity.

Postcondition:
The following data are written to the file specified in the common_arg structure:
  1. mean plaquette
  2. variance of mean plaquette
  3. maximum plaquette
  4. minimum plaquette
  5. mean temporal plaquette
  6. mean spatial plaquette

Definition at line 101 of file alg_plaq.C.

References cps::Alg::AlgLattice(), cps::Lattice::AveReTrPlaqNoXi(), cps::Lattice::AveReTrPlaqXi(), cps::DIR_T, cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::Float, cps::Fopen(), cps::Fprintf(), cps::Verbose::Func(), cps::GJP, cps::glb_max(), cps::glb_min(), cps::glb_sum(), cps::IFloat, cps::CommonArg::results, cps::Lattice::ReTrPlaq(), cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XiBare(), cps::GlobalJobParameter::XiV(), cps::GlobalJobParameter::XiVXi(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().

Referenced by cps::QPropW::DoLinkSmear(), and cps::AlgMeas::RunTask().


The documentation for this class was generated from the following files:
Generated on Sat Oct 10 14:11:57 2009 for Columbia Physics System by  doxygen 1.3.9.1