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

cps::Gwilson Class Reference
[Gauge Actions]

A class implementing a lattice with the standard Wilson plaquette gauge action. More...

#include <lattice.h>

Inherits cps::Lattice.

Inherited by cps::GwilsonFasqtad, cps::GwilsonFclover, cps::GwilsonFdwf, cps::GwilsonFnone, cps::GwilsonFp4, cps::GwilsonFstag, cps::GwilsonFwilson, and cps::GwilsonFwilsonTm.

List of all members.

Public Member Functions

 Gwilson ()
virtual ~Gwilson ()
GclassType Gclass ()
 Returns the type of gauge action.
void GactionGradient (Matrix &grad, int *x, int mu)
 Calculates the partial derivative of the gauge action w.r.t. the link U_mu(x).
void GforceSite (Matrix &force, int *x, int mu)
 Calculates the gauge force at site x and direction mu.
ForceArg EvolveMomGforce (Matrix *mom, Float step_size)
 Molecular dynamics evolution of the conjugate momentum.
Float GhamiltonNode ()
 Computes the pure gauge action on the local sublattice.
void AllStaple (Matrix &stap, const int *x, int mu)
 Calculates the gauge field square staple sum around a link.


Detailed Description

A class implementing a lattice with the standard Wilson plaquette gauge action.

Definition at line 1178 of file lattice.h.


Constructor & Destructor Documentation

cps::Gwilson::Gwilson  ) 
 

Definition at line 77 of file g_wilson.C.

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

cps::Gwilson::~Gwilson  )  [virtual]
 

Definition at line 88 of file g_wilson.C.

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


Member Function Documentation

void cps::Gwilson::AllStaple Matrix stap,
const int *  x,
int  mu
[virtual]
 

Calculates the gauge field square staple sum around a link.

The staple sum around the link $ U_\mu(x) $ is

\[ \sum_{\nu \neq \mu} [ U_\nu(x+\mu) U^\dagger_\mu(x+\nu) U^\dagger_\nu(x) + U^\dagger_\nu(x+\mu-\nu) U^\dagger_\mu(x-\nu) U_\nu(x-\nu) ] \]

Parameters:
x The coordinates of the lattice site
mu The link direction
stap The computed staple sum.

Implements cps::Lattice.

Definition at line 205 of file g_wilson.C.

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

ForceArg cps::Gwilson::EvolveMomGforce Matrix mom,
Float  step_size
[virtual]
 

Molecular dynamics evolution of the conjugate momentum.

The momentum is evolved for a single molecular dynamics timestep using the force from the pure gauge action.

Parameters:
mom The momentum matrices on all links.
step_size The molecular dynamics timestep used in the numerical integration.
Postcondition:
mom is assigned the value of the momentum after the molecular dynamics evolution.

Implements cps::Lattice.

Definition at line 26 of file g_wilson_force.C.

References cps::CBUF_MODE4, cps::dclock(), cps::Float, cps::fTimesV1PlusV2(), cps::Verbose::Func(), GforceSite(), cps::GJP, cps::glb_max(), cps::glb_sum(), cps::Lattice::GsiteOffset(), cps::IFloat, cps::print_flops(), cps::setCbufCntrlReg(), cps::GlobalJobParameter::TnodeSites(), cps::GlobalJobParameter::VolSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites().

void cps::Gwilson::GactionGradient Matrix grad,
int *  x,
int  mu
[virtual]
 

Calculates the partial derivative of the gauge action w.r.t. the link U_mu(x).

Parameters:
grad The computed gradient.
x The coordinates of the lattice site.
mu The direction of the link.

Implements cps::Lattice.

Definition at line 176 of file g_wilson.C.

References cps::GlobalJobParameter::Beta(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::IFloat, MATRIX_SIZE, cps::Lattice::Staple(), cps::vecTimesEquFloat(), and cps::VRB.

GclassType cps::Gwilson::Gclass  )  [virtual]
 

Returns the type of gauge action.

Implements cps::Lattice.

Definition at line 99 of file g_wilson.C.

References cps::GclassType.

void cps::Gwilson::GforceSite Matrix force,
int *  x,
int  mu
 

Calculates the gauge force at site x and direction mu.

Parameters:
force The computed force from the gauge action.
x the lattice site coordinates.
mu The direction mu.
Todo:
Could this not be be a virtual Lattice method?

Definition at line 114 of file g_wilson.C.

References cps::GlobalJobParameter::Beta(), cps::CBUF_MODE4, cps::Float, cps::Lattice::GaugeField(), cps::GJP, cps::Lattice::GsiteOffset(), cps::IFloat, MATRIX_SIZE, cps::mDotMEqual(), cps::moveMem(), cps::setCbufCntrlReg(), cps::Lattice::Staple(), and cps::vecTimesEquFloat().

Referenced by EvolveMomGforce().

Float cps::Gwilson::GhamiltonNode  )  [virtual]
 

Computes the pure gauge action on the local sublattice.

Returns:
The value of the pure gauge action on this node.

Implements cps::Lattice.

Definition at line 160 of file g_wilson.C.

References cps::GlobalJobParameter::Beta(), cps::Float, cps::Verbose::Func(), cps::GJP, cps::Lattice::SumReTrPlaqNode(), and cps::VRB.


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