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

cps::AlgGheatBath Class Reference
[Algorithms]

Class implementing the gauge field global heatbath algorithm. More...

#include <alg_ghb.h>

Inherits cps::Alg.

List of all members.

Public Member Functions

 AlgGheatBath (Lattice &latt, CommonArg *c_arg, GhbArg *arg)
virtual ~AlgGheatBath ()
void run (void)
 Run the heatbath algorithm for the Wilson (plaquette) gauge action.
void NoCheckerBoardRun ()
 Run the heatbath algorithm for the Wilson (plaquette) gauge action.
void NodeCheckerBoardRun ()
 Run the heatbath algorithm.


Detailed Description

Class implementing the gauge field global heatbath algorithm.

The algorithm used is the Cabbibo-Marinari SU(N) heatbath update with the Kennedy-Pendleton method for updating SU(2) subgroups

Definition at line 31 of file alg_ghb.h.


Constructor & Destructor Documentation

cps::AlgGheatBath::AlgGheatBath Lattice latt,
CommonArg c_arg,
GhbArg arg
 

Parameters:
latt The lattice on which to perform the heatbath
c_arg The common argument structure for all algorithms.
arg The parameters specific to this algorithm.

Definition at line 63 of file alg_ghb.C.

References cps::ERR, cps::Verbose::Func(), cps::Error::Pointer(), and cps::VRB.

cps::AlgGheatBath::~AlgGheatBath  )  [virtual]
 

Definition at line 97 of file alg_ghb.C.


Member Function Documentation

void cps::AlgGheatBath::NoCheckerBoardRun  ) 
 

Run the heatbath algorithm for the Wilson (plaquette) gauge action.

This is identical to AlgGheatBath::run apart from a call to Lattice::ClearAllBufferedLink at the end.

Definition at line 256 of file alg_ghb.C.

References cps::Alg::AlgLattice(), cps::Lattice::AllStaple(), cps::Lattice::ClearAllBufferedLink(), cps::Lattice::ClearBufferedLink(), cps::ERR, cps::Verbose::Func(), cps::Lattice::GaugeField(), cps::Lattice::Gclass(), cps::Error::General(), cps::GJP, cps::Lattice::GsiteOffset(), cps::Lattice::GsoCheck(), cps::Lattice::GupdCntInc(), cps::LRG, cps::GhbArg::num_iter, cps::MPISCU::printf(), cps::Lattice::Reunitarize(), cps::LatRanGen::SetInterval(), cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().

void cps::AlgGheatBath::NodeCheckerBoardRun  ) 
 

Run the heatbath algorithm.

Definition at line 343 of file alg_ghb.C.

References cps::Alg::AlgLattice(), cps::Lattice::AllStaple(), cps::Lattice::ClearAllBufferedLink(), cps::Lattice::ClearBufferedLink(), cps::Verbose::Func(), cps::Lattice::GaugeField(), cps::GJP, cps::Lattice::GsiteOffset(), cps::Lattice::GsoCheck(), cps::Lattice::GupdCntInc(), cps::LRG, cps::GlobalJobParameter::NodeSites(), cps::GhbArg::num_iter, cps::MPISCU::printf(), cps::Lattice::Reunitarize(), cps::LatRanGen::SetInterval(), cps::GlobalJobParameter::TnodeCoor(), cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeCoor(), cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeCoor(), cps::GlobalJobParameter::YnodeSites(), cps::GlobalJobParameter::ZnodeCoor(), and cps::GlobalJobParameter::ZnodeSites().

void cps::AlgGheatBath::run void   ) 
 

Run the heatbath algorithm for the Wilson (plaquette) gauge action.

Definition at line 157 of file alg_ghb.C.

References cps::Alg::AlgLattice(), cps::LatRanGen::AssignGenerator(), cps::ERR, cps::Verbose::Func(), cps::Lattice::GaugeField(), cps::Lattice::Gclass(), cps::Error::General(), cps::GJP, cps::Lattice::GsiteOffset(), cps::Lattice::GsoCheck(), cps::Lattice::GupdCntInc(), cps::LRG, cps::GhbArg::num_iter, cps::MPISCU::printf(), cps::Lattice::Reunitarize(), cps::LatRanGen::SetInterval(), cps::Lattice::Staple(), cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().


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