#include <alg_smear.h>
Inherits cps::Alg.
Inherited by cps::AlgApeSmear, cps::AlgHypSmear, and cps::AlgKineticSmear.
Public Member Functions | |
| AlgSmear (Lattice &lat, CommonArg *ca, int su3_proj) | |
| virtual | ~AlgSmear () |
| void | run () |
| Perform the smearing. | |
| void | set_orthog (int i) |
| Restrict the smearing to some hyperplanes. | |
| int | get_orthog () const |
| Get the direction orthogonal to which smearing is done. | |
| void | set_tol (Float x) |
| set tolerance for the SU(3) projection | |
| Float | get_tol () const |
| get tolerance for the SU(3) projection | |
| int | ifSu3Proj () const |
Protected Member Functions | |
| virtual void | smear_link (Matrix &link, int *pos, int mu)=0 |
| Smear a link. | |
Base class for smearing a lattice, with or without SU(3) projection of the smeared links (controlled with a flag to constructor).
Also allows for restricting smearing to hyperplanes orthogonal to a specified direction. On the base class level this will only exclude the links in that direction from being smeared; it is the responsibility of the derived classes to exclude links from being smeared with paths that move in that direction.
Definition at line 38 of file alg_smear.h.
|
||||||||||||||||
|
Definition at line 109 of file alg_smear.C. References cps::ERR, cps::GJP, cps::Error::Pointer(), cps::su3_proj(), and cps::GlobalJobParameter::VolNodeSites(). |
|
|
Definition at line 122 of file alg_smear.C. |
|
|
Get the direction orthogonal to which smearing is done.
Definition at line 70 of file alg_smear.h. Referenced by cps::AlgHypSmear::run(), run(), cps::AlgKineticSmear::smear_link(), and cps::AlgApeSmear::smear_link(). |
|
|
get tolerance for the SU(3) projection
Definition at line 76 of file alg_smear.h. References cps::Float. |
|
|
Definition at line 79 of file alg_smear.h. Referenced by cps::AlgApeSmear::run(). |
|
|
Perform the smearing.
Reimplemented in cps::AlgApeSmear, cps::AlgKineticSmear, cps::AlgHypSmear, and cps::AlgOlegSmear. Definition at line 128 of file alg_smear.C. References cps::Alg::AlgLattice(), cps::Lattice::ClearAllBufferedLink(), cps::Lattice::CopyGaugeField(), cps::Lattice::GaugeField(), get_orthog(), cps::Site::Index(), cps::Site::LoopsOverNode(), cps::Site::pos(), smear_link(), and cps::su3_proj(). |
|
|
Restrict the smearing to some hyperplanes. Smear only on hyperplanes orthogonal to this direction.
Definition at line 64 of file alg_smear.h. Referenced by cps::AlgApeSmear::AlgApeSmear(), cps::AlgHypSmear::AlgHypSmear(), and cps::AlgKineticSmear::AlgKineticSmear(). |
|
|
set tolerance for the SU(3) projection
Definition at line 73 of file alg_smear.h. Referenced by cps::AlgApeSmear::AlgApeSmear(), and cps::AlgHypSmear::AlgHypSmear(). |
|
||||||||||||||||
|
Smear a link.
Implemented in cps::AlgApeSmear, cps::AlgKineticSmear, and cps::AlgHypSmear. Referenced by run(). |
1.3.9.1