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

cps::AlgHypSmear Class Reference
[Algorithms]

Performs HYP smearing. More...

#include <alg_smear.h>

Inherits cps::AlgSmear.

List of all members.

Public Member Functions

 AlgHypSmear (Lattice &lat, CommonArg *ca, HypSmearArg *hsa)
 ~AlgHypSmear ()
void run ()
 Do the smearing.
void set_c1 (Float x)
 Sets a smearing coefficient.
void set_c2 (Float x)
 Sets a smearing coefficient.
void set_c3 (Float x)
 Sets a smearing coefficient.

Protected Member Functions

void smear_link (Matrix &link, int *pos, int mu)
 Smear a link.


Detailed Description

Performs HYP smearing.

Hyp smearing: taking the definition from hep-lat/0103029 (http://xxx.lanl.gov/abs/hep-lat/0103029)

Allows for restricting smearing to hyperplanes orthogonal to a specified direction.

Note: the current implementation is aggressively inefficient

Definition at line 230 of file alg_smear.h.


Constructor & Destructor Documentation

cps::AlgHypSmear::AlgHypSmear Lattice lat,
CommonArg ca,
HypSmearArg hsa
 

Parameters:
lat The Lattice object containing the gauge field with which the smearing is done.
ca Container for generic parameters. .

Definition at line 447 of file alg_smear.C.

References cps::HypSmearArg::c1, cps::HypSmearArg::c2, cps::HypSmearArg::c3, cps::HypSmearArg::orthog, cps::AlgSmear::set_orthog(), cps::AlgSmear::set_tol(), and cps::HypSmearArg::tolerance.

cps::AlgHypSmear::~AlgHypSmear  )  [inline]
 

Definition at line 251 of file alg_smear.h.


Member Function Documentation

void cps::AlgHypSmear::run void   ) 
 

Do the smearing.

If an output file is specified in the CommonArg argument, then the smearing coefficients are written to the file.

Precondition:
The smearing coefficents should be set with set_c1, set_2 and set_c3.

Reimplemented from cps::AlgSmear.

Definition at line 638 of file alg_smear.C.

References cps::ERR, cps::Fclose(), cps::Error::FileA(), cps::CommonArg::filename, cps::Fopen(), cps::Fprintf(), cps::Error::General(), and cps::AlgSmear::get_orthog().

void cps::AlgHypSmear::set_c1 Float  x  )  [inline]
 

Sets a smearing coefficient.

Definition at line 258 of file alg_smear.h.

void cps::AlgHypSmear::set_c2 Float  x  )  [inline]
 

Sets a smearing coefficient.

Definition at line 260 of file alg_smear.h.

void cps::AlgHypSmear::set_c3 Float  x  )  [inline]
 

Sets a smearing coefficient.

Definition at line 262 of file alg_smear.h.

void cps::AlgHypSmear::smear_link Matrix link,
int *  pos,
int  mu
[protected, virtual]
 

Smear a link.

Parameters:
link The link to smear.
pos The coordinates of the link.
mu The direction of the link.

Implements cps::AlgSmear.

Definition at line 567 of file alg_smear.C.

References cps::Alg::AlgLattice(), cps::Matrix::Dagger(), cps::dir, cps::Matrix::DotMEqual(), cps::Matrix::DotMPlus(), and cps::Matrix::ZeroMatrix().


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