Smearing routines
[Measurement routines]


Namespaces

namespace  Chroma::StaggeredDerivQuarkDisplacementEnv
 Meson sources.
namespace  Chroma::DerivQuarkDisplacementEnv
 Meson sources.
namespace  Chroma::GammaDisplacementEnv
 Hooks to register the class.
namespace  Chroma::GausQuarkSmearingEnv
 Hooks to register the class.
namespace  Chroma::JacobiQuarkSmearingEnv
 Hooks to register the class.
namespace  Chroma::LinkSmearingEnv
 Registration aggregator.
namespace  Chroma::NoQuarkDisplacementEnv
 Hooks to register the class.
namespace  Chroma::NoQuarkSmearingEnv
 Hooks to register the class.
namespace  Chroma::QuarkDisplacementEnv
 Registration aggregator.
namespace  Chroma::StaggeredQuarkFlavorOpEnv
 Staggered Flavored sources.
namespace  Chroma::QuarkSmearingEnv
 Registration aggregator.
namespace  Chroma::SimpleQuarkDisplacementEnv
 Hooks to register the class.

Classes

struct  Chroma::APELinkSmearingEnv::Params
 Params for APE link smearing. More...
class  Chroma::APELinkSmearingEnv::LinkSmear
 APE link smearing. More...
struct  Chroma::StaggeredDerivQuarkDisplacementEnv::Params
 Params for derivative quark displacement. More...
struct  Chroma::DerivQuarkDisplacementEnv::Params
 Params for derivative quark displacement. More...
struct  Chroma::KeyDispColorVector_t
 The key for displaced color vectors. More...
struct  Chroma::GammaDisplacementEnv::Params
 Params for simple quark displacement. More...
class  Chroma::GammaDisplacementEnv::QuarkDisplace< T >
 Gamma insertion/displacement. More...
struct  Chroma::GausQuarkSmearingEnv::Params
 Params for Gauss quark smearing. More...
class  Chroma::GausQuarkSmearingEnv::QuarkSmear< T >
 Gaussian quark smearing. More...
struct  Chroma::HypLinkSmearingEnv::Params
 Params for Hyp link smearing. More...
class  Chroma::HypLinkSmearingEnv::LinkSmear
 Hyp link smearing. More...
struct  Chroma::JacobiQuarkSmearingEnv::Params
 Params for Jacobi quark smearing. More...
class  Chroma::JacobiQuarkSmearingEnv::QuarkSmear< T >
 Jacobi quark smearing. More...
struct  Chroma::NoLinkSmearingEnv::Params
 Params for No link smearing. More...
class  Chroma::NoLinkSmearingEnv::LinkSmear
 No link smearing. More...
struct  Chroma::NoQuarkDisplacementEnv::Params
 Params for no quark displacement. More...
class  Chroma::NoQuarkDisplacementEnv::QuarkDisplace< T >
 No quark displacement. More...
struct  Chroma::NoQuarkSmearingEnv::Params
 Params for No quark smearing. More...
class  Chroma::NoQuarkSmearingEnv::QuarkSmear< T >
 No quark smearing. More...
class  Chroma::QuarkDisplacement< T >
 Base class for quark displacement. More...
struct  Chroma::StaggeredQuarkFlavorOpEnv::Params
 Params for derivative quark displacement. More...
class  Chroma::QuarkSmearing< T >
 Base class for quark smearing. More...
class  Chroma::QuarkSourceSink< T >
 Base class for quark source and sink smearing. More...
struct  Chroma::SimpleQuarkDisplacementEnv::Params
 Params for simple quark displacement. More...
class  Chroma::SimpleQuarkDisplacementEnv::QuarkDisplace< T >
 Simple quark displacement. More...
struct  Chroma::StoutLinkSmearingEnv::Params
 Params for Stout link smearing. More...
class  Chroma::StoutLinkSmearingEnv::LinkSmear
 Stout link smearing. More...
struct  Chroma::VectorQuarkSmearingEnv::Params
 Params for Vector Smearing. More...
class  Chroma::VectorQuarkSmearingEnv::VectorQuarkSmear< T >
 Vector smearing. More...

Typedefs

typedef SingletonHolder< ObjectFactory<
LinkSmearing, std::string,
TYPELIST_2(XMLReader &, const
std::string &), LinkSmearing
*(*)(XMLReader &, const std::string &),
StringFactoryError > > 
Chroma::TheLinkSmearingFactory
 Link smearing factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkDisplacement< LatticePropagator >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkDisplacement<
LatticePropagator
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::ThePropDisplacementFactory
 Quark displacement factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkDisplacement< LatticeStaggeredPropagator >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkDisplacement<
LatticeStaggeredPropagator
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::TheStagPropDisplacementFactory
 Quark displacement factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkDisplacement< LatticeFermion >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkDisplacement<
LatticeFermion > *(*)(XMLReader &,
const std::string &), StringFactoryError > > 
Chroma::TheFermDisplacementFactory
 Quark displacement factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkDisplacement< LatticeColorVector >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkDisplacement<
LatticeColorVector
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::TheColorVecDisplacementFactory
 Quark displacement factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkSmearing< LatticePropagator >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkSmearing<
LatticePropagator
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::ThePropSmearingFactory
 Quark smearing factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkSmearing< LatticeStaggeredPropagator >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkSmearing<
LatticeStaggeredPropagator
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::TheStagPropSmearingFactory
 Quark smearing factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkSmearing< LatticeFermion >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkSmearing<
LatticeFermion > *(*)(XMLReader &,
const std::string &), StringFactoryError > > 
Chroma::TheFermSmearingFactory
 Quark smearing factory (foundry).
typedef SingletonHolder< ObjectFactory<
QuarkSmearing< LatticeColorVector >,
std::string, TYPELIST_2(XMLReader &,
const std::string &), QuarkSmearing<
LatticeColorVector
> *(*)(XMLReader &, const
std::string &), StringFactoryError > > 
Chroma::TheColorVecSmearingFactory
 Quark smearing factory (foundry).

Functions

void Chroma::read (XMLReader &xml, const string &path, APELinkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const APELinkSmearingEnv::Params &param)
 Writer.
void Chroma::APE_Smear (const multi1d< LatticeColorMatrix > &u, LatticeColorMatrix &u_smear, int mu, int bl_level, const Real &sm_fact, const Real &BlkAccu, int BlkMax, int j_decay)
 Construct APE smeared links from:.
template<typename T>
T Chroma::displace (const multi1d< LatticeColorMatrix > &u, const T &psi, int length, int dir, const Subset &sub)
 Apply a displacement operator to a lattice field.
template<typename T>
T Chroma::displace (const multi1d< LatticeColorMatrix > &u, const T &psi, int displacement_length, const multi1d< int > &path, const Subset &sub)
 Apply a displacement path to a lattice field.
LatticeColorVector Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, const multi1d< int > &path)
 Apply a displacement path to a lattice field.
LatticeColorVector Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, const multi1d< int > &path, const Subset &sub)
 Apply a displacement path to a lattice field.
LatticeFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeFermion &chi, int length, const multi1d< int > &path)
 Apply a displacement path to a lattice field.
LatticeFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeFermion &chi, int length, const multi1d< int > &path, const Subset &sub)
 Apply a displacement path to a lattice field.
LatticeColorVector Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
LatticeFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeFermion &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
LatticeStaggeredFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeStaggeredFermion &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
LatticeStaggeredPropagator Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeStaggeredPropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
LatticeColorMatrix Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorMatrix &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
LatticePropagator Chroma::displacement (const multi1d< LatticeColorMatrix > &u, const LatticePropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
template<typename T>
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, T &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field.
template<typename T>
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const T &psi, T &psifuzz, int length, int j_decay)
 apply a fuzz_smear operator to a lattice field
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticeColorVector &psi, LatticeColorVector &psifuzz, int length, int j_decay)
 Fuzzed source.
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticePropagator &psi, LatticePropagator &psifuzz, int length, int j_decay)
 Fuzzed source.
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticeFermion &psi, LatticeFermion &psifuzz, int length, int j_decay)
 Fuzzed source.
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticeStaggeredFermion &psi, LatticeStaggeredFermion &psifuzz, int length, int j_decay)
 Fuzzed source.
void Chroma::read (XMLReader &xml, const string &path, GammaDisplacementEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const GammaDisplacementEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, GausQuarkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const GausQuarkSmearingEnv::Params &param)
 Writer.
void Chroma::gausSmear (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, const Real &width, int ItrGaus, int j_decay)
 Do a covariant Gaussian smearing of a lattice color vector field.
void Chroma::gausSmear (const multi1d< LatticeColorMatrix > &u, LatticeFermion &chi, const Real &width, int ItrGaus, int j_decay)
 Do a covariant Gaussian smearing of a lattice fermion field.
template<typename T>
void Chroma::gausSmear (const multi1d< LatticeColorMatrix > &u, T &chi, const Real &width, int ItrGaus, int j_decay)
 Do a covariant Gaussian smearing of a lattice field.
void Chroma::gausSmear (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, const Real &width, int ItrGaus, int j_decay)
 Do a covariant Gaussian smearing of a lattice propagator field.
void Chroma::read (XMLReader &xml, const string &path, HypLinkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const HypLinkSmearingEnv::Params &param)
 Writer.
void Chroma::Hyp_Smear (const multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_hyp, const Real &alpha1, const Real &alpha2, const Real &alpha3, const Real &BlkAccu, int BlkMax)
 Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3.
void Chroma::Hyp_Smear3d (const multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_hyp, const Real &alpha1, const Real &alpha2, const Real &alpha3, const Real &BlkAccu, int BlkMax, int j_decay)
 Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3.
void Chroma::read (XMLReader &xml, const string &path, JacobiQuarkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const JacobiQuarkSmearingEnv::Params &param)
 Writer.
void Chroma::jacobiSmear (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, const Real &kappa, int iter, int no_smear_dir)
 Do a covariant Jacobi smearing of a lattice color vector field.
void Chroma::jacobiSmear (const multi1d< LatticeColorMatrix > &u, LatticeFermion &chi, const Real &kappa, int iter, int no_smear_dir)
 Do a covariant Jacobi smearing of a lattice fermion field.
template<typename T>
void Chroma::jacobiSmear (const multi1d< LatticeColorMatrix > &u, T &chi, const Real &kappa, int iter, int no_smear_dir)
 Do a covariant Jacobi smearing of a lattice propagator field.
void Chroma::jacobiSmear (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, const Real &kappa, int iter, int no_smear_dir)
 Do a covariant Jacobi smearing of a lattice propagator field.
template<typename T>
void Chroma::laplacian (const multi1d< LatticeColorMatrix > &u, T &chi, int j_decay, int power)
 Do a covariant Gaussian smearing of a lattice field.
void Chroma::laplacian (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, int j_decay, int power)
 Do a covariant Gaussian smearing of a lattice field.
void Chroma::laplacian (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, int j_decay, int power)
 Do a covariant Gaussian smearing of a lattice field.
void Chroma::read (XMLReader &xml, const string &path, NoLinkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const NoLinkSmearingEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, NoQuarkDisplacementEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const NoQuarkDisplacementEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, NoQuarkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const NoQuarkSmearingEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, SimpleQuarkDisplacementEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const SimpleQuarkDisplacementEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, StoutLinkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const StoutLinkSmearingEnv::Params &param)
 Writer.
void Chroma::read (XMLReader &xml, const string &path, VectorQuarkSmearingEnv::Params &param)
 Reader.
void Chroma::write (XMLWriter &xml, const string &path, const VectorQuarkSmearingEnv::Params &param)
 Writer.
void Chroma::vectorSmear (LatticeColorVector &chi, const SubsetVectors< LatticeColorVector > &vecs, const Real &sigma, const int &j_decay)
 Do a covariant vector smearing of a lattice color vector field.
void Chroma::vectorSmear (LatticeFermion &chi, const SubsetVectors< LatticeColorVector > &vecs, const Real &sigma, const int &j_decay)
 Do a t vector smearing of a lattice Fermion field.

Detailed Description

Support for smearing of gauge and fermion fields.

Typedef Documentation

typedef SingletonHolder< ObjectFactory<QuarkDisplacement<LatticeColorVector>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkDisplacement<LatticeColorVector>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheColorVecDisplacementFactory

Quark displacement factory (foundry).

Definition at line 58 of file quark_displacement_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkSmearing<LatticeColorVector>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSmearing<LatticeColorVector>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheColorVecSmearingFactory

Quark smearing factory (foundry).

Definition at line 58 of file quark_smearing_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkDisplacement<LatticeFermion>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkDisplacement<LatticeFermion>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheFermDisplacementFactory

Quark displacement factory (foundry).

Definition at line 47 of file quark_displacement_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkSmearing<LatticeFermion>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSmearing<LatticeFermion>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheFermSmearingFactory

Quark smearing factory (foundry).

Definition at line 47 of file quark_smearing_factory.h.

typedef SingletonHolder< ObjectFactory<LinkSmearing, std::string, TYPELIST_2(XMLReader&, const std::string&), LinkSmearing* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheLinkSmearingFactory

Link smearing factory (foundry).

Definition at line 25 of file link_smearing_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkDisplacement<LatticePropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkDisplacement<LatticePropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::ThePropDisplacementFactory

Quark displacement factory (foundry).

Definition at line 25 of file quark_displacement_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkSmearing<LatticePropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSmearing<LatticePropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::ThePropSmearingFactory

Quark smearing factory (foundry).

Definition at line 25 of file quark_smearing_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkDisplacement<LatticeStaggeredPropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkDisplacement<LatticeStaggeredPropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheStagPropDisplacementFactory

Quark displacement factory (foundry).

Definition at line 36 of file quark_displacement_factory.h.

typedef SingletonHolder< ObjectFactory<QuarkSmearing<LatticeStaggeredPropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSmearing<LatticeStaggeredPropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheStagPropSmearingFactory

Quark smearing factory (foundry).

Definition at line 36 of file quark_smearing_factory.h.


Function Documentation

void Chroma::APE_Smear ( const multi1d< LatticeColorMatrix > &  u,
LatticeColorMatrix &  u_smear,
int  mu,
int  bl_level,
const Real &  sm_fact,
const Real &  BlkAccu,
int  BlkMax,
int  j_decay 
)

Construct APE smeared links from:.

_______ x x \ x------x + | \ | + = c * | + \ | + | / | x x / x------x /______

Arguments:

where c is the smearing factor sm_fact, and projected back onto SU(Nc)

Warning: this works only for Nc = 2 and 3 !

Parameters:
u gauge field ( Read )
u_smear smeared gauge field ( Write )
mu direction of smeared gauge field ( Read )
bl_level blocking level (of the u's) ( Read )
sm_fact smearing factor ( Read )
BlkAccu accuracy in fuzzy link projection ( Read )
BlkMax maximum number of iterations in fuzzy link projection ( Read )
j_decay no staple in direction j_decay ( Read )

Definition at line 44 of file ape_smear.cc.

References BACKWARD, END_CODE, FORWARD, Chroma::reunit(), Chroma::shift2(), START_CODE, and Chroma::su3proj().

Referenced by Chroma::DoFuzzing(), Chroma::InlineSpectrumQll::func(), Chroma::InlineSpectrum::func(), Chroma::fuzwilp(), main(), and Chroma::APELinkSmearingEnv::LinkSmear::operator()().

LatticeColorMatrix Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeColorMatrix &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Definition at line 130 of file displace.cc.

LatticeStaggeredPropagator Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeStaggeredPropagator &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Definition at line 121 of file displace.cc.

LatticeStaggeredFermion Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeStaggeredFermion &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Definition at line 112 of file displace.cc.

LatticeFermion Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeFermion &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Definition at line 103 of file displace.cc.

LatticeColorVector Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeColorVector &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Read )
length length of displacement - can be negative ( Read )
dir direction of displacement ( Read )
Returns:
displaced field

Definition at line 78 of file displace.cc.

LatticeFermion Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeFermion &  chi,
int  length,
const multi1d< int > &  path,
const Subset &  sub 
)

Apply a displacement path to a lattice field.

Definition at line 216 of file displace.cc.

LatticeFermion Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeFermion &  chi,
int  length,
const multi1d< int > &  path 
)

Apply a displacement path to a lattice field.

Definition at line 208 of file displace.cc.

LatticeColorVector Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeColorVector &  chi,
int  length,
const multi1d< int > &  path,
const Subset &  sub 
)

Apply a displacement path to a lattice field.

Definition at line 198 of file displace.cc.

LatticeColorVector Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const LatticeColorVector &  chi,
int  length,
const multi1d< int > &  path 
)

Apply a displacement path to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Read )
length displacement length - must be greater than zero ( Read )
path array of direction of displacement paths - pos/neg, or zero ( Read )
Returns:
displaced field

Definition at line 190 of file displace.cc.

template<typename T>
T Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const T psi,
int  displacement_length,
const multi1d< int > &  path,
const Subset &  sub 
)

Apply a displacement path to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Read )
length displacement length - must be greater than zero ( Read )
path array of direction of displacement paths - pos/neg, or zero ( Read )
sub Subset of sites to act ( Read )
Returns:
displaced field

Definition at line 154 of file displace.cc.

References Chroma::chi(), and T.

template<typename T>
T Chroma::displace ( const multi1d< LatticeColorMatrix > &  u,
const T psi,
int  length,
int  dir,
const Subset &  sub 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
psi lattice field ( Read )
length length of displacement ( Read )
dir direction of displacement ( Read )
Returns:
displaced field

Definition at line 42 of file displace.cc.

References BACKWARD, Chroma::chi(), FORWARD, and T.

Referenced by Chroma::block_couplings(), Chroma::blocks_couple(), Chroma::displace(), Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func(), Chroma::InlineMesonGridMatElemEnv::InlineMeas::func(), Chroma::InlineMesonBlockMatElemEnv::InlineMeas::func(), Chroma::InlineGenPropMatElemColorVecEnv::InlineMeas::func(), and Chroma::InlineBlockGenPropMatElemEnv::InlineMeas::func().

void Chroma::displacement ( const multi1d< LatticeColorMatrix > &  u,
LatticePropagator &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
length length of displacement ( Read )
dir direction of displacement ( Read )
Description:

Suppose q(x) is a quark field. Displacement operator D_j^{(p)} moves quark field for p lattice sites to the direction j in covariant fashion.

Namely, D_j^{(p)} q(x) = U_j(x) U_j(x+j) U_j(x+2j)...U_j(x+(p-1)j) q(x+pj), where U is the gauge-link.

dir: x(0), y(1), z(2)

Definition at line 68 of file displacement.cc.

void Chroma::displacement ( const multi1d< LatticeColorMatrix > &  u,
LatticeColorVector &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
length length of displacement ( Read )
dir direction of displacement ( Read )
Description:

Suppose q(x) is a quark field. Displacement operator D_j^{(p)} moves quark field for p lattice sites to the direction j in covariant fashion.

Namely, D_j^{(p)} q(x) = U_j(x) U_j(x+j) U_j(x+2j)...U_j(x+(p-1)j) q(x+pj), where U is the gauge-link.

dir: x(0), y(1), z(2)

Definition at line 60 of file displacement.cc.

template<typename T>
void Chroma::displacement ( const multi1d< LatticeColorMatrix > &  u,
T chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
length length of displacement ( Read )
dir direction of displacement ( Read )
Description:

Suppose q(x) is a quark field. Displacement operator D_j^{(p)} moves quark field for p lattice sites to the direction j in covariant fashion.

Namely, D_j^{(p)} q(x) = U_j(x) U_j(x+j) U_j(x+2j)...U_j(x+(p-1)j) q(x+pj), where U is the gauge-link.

dir: x(0), y(1), z(2)

Definition at line 40 of file displacement.cc.

References BACKWARD, FORWARD, and T.

LatticePropagator Chroma::displacement ( const multi1d< LatticeColorMatrix > &  u,
const LatticePropagator &  chi,
int  length,
int  dir 
)

Apply a displacement operator to a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
length length of displacement ( Read )
dir direction of displacement ( Read )
Returns:
displaced field

Referenced by Chroma::InlineStochGroupMesonEnv::SmearedDispObjects::displaceObject(), Chroma::InlineStochGroupBaryonEnv::SmearedDispObjects::displaceObject(), Chroma::DispColorVectorMap::displaceObject(), Chroma::InlineStochGroupMesonEnv::InlineMeas::func(), Chroma::InlineStochGroupBaryonEnv::InlineMeas::func(), Chroma::fuzz_smear(), Chroma::SimpleQuarkDisplacementEnv::QuarkDisplace< T >::operator()(), Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator()(), Chroma::InlineStochGroupMesonEnv::readOps(), Chroma::InlineStochGroupBaryonEnv::readOps(), Chroma::GroupBaryonOperatorEnv::ReadTextInput(), and Chroma::shiftDeltaPropCov_t().

void Chroma::fuzz_smear ( const multi1d< LatticeColorMatrix > &  ufuzz,
const LatticeStaggeredFermion &  psi,
LatticeStaggeredFermion &  psifuzz,
int  length,
int  j_decay 
)

Fuzzed source.

Definition at line 167 of file fuzz_smear.cc.

void Chroma::fuzz_smear ( const multi1d< LatticeColorMatrix > &  ufuzz,
const LatticeFermion &  psi,
LatticeFermion &  psifuzz,
int  length,
int  j_decay 
)

Fuzzed source.

Definition at line 157 of file fuzz_smear.cc.

void Chroma::fuzz_smear ( const multi1d< LatticeColorMatrix > &  ufuzz,
const LatticePropagator &  psi,
LatticePropagator &  psifuzz,
int  length,
int  j_decay 
)

Fuzzed source.

Definition at line 146 of file fuzz_smear.cc.

void Chroma::fuzz_smear ( const multi1d< LatticeColorMatrix > &  ufuzz,
const LatticeColorVector &  psi,
LatticeColorVector &  psifuzz,
int  length,
int  j_decay 
)

Fuzzed source.

Definition at line 135 of file fuzz_smear.cc.

template<typename T>
void Chroma::fuzz_smear ( const multi1d< LatticeColorMatrix > &  ufuzz,
const T psi,
T psifuzz,
int  length,
int  j_decay 
)

apply a fuzz_smear operator to a lattice field

Arguments:

Parameters:
ufuzz fuzzed gauge field ( Read )
psi color vector field ( Read )
psifuzz color vector field ( Modify )
length length of fuzz_smear ( Read )
j_decay direction of time ( Read )
Discription:

The sink fuzzed propagator is calculated by extending the path of the input propagator and is sum of the two contributions as follows: In the positive mu direction ___3 fuzz \ + + + psi (x) = ) U (x-mu) U (x-2mu)... U (x-length mu) psi(x-length mu) / mu mu mu --- mu = 1 In the negative mu direction ___3 fuzz \ psi (x) = ) U (x) U (x+mu) U (x+2mu)... U (x+(length-1)mu) psi(x+length mu) / mu mu mu mu --- mu = 1

fuzz Where U defined in the the above equations is U mu mu length is an input parameter that describes the size of the smearing.

This code assumes that the gauge field has been fuzzed externally.

(Documentation from Peter Boyle's Fortran code).

For smearing at the source the input is a local source.

Reference:

EFFICIENT HADRONIC OPERATORS IN LATTICE GAUGE THEORY. By UKQCD Collaboration (P. Lacock et al.). Published in Phys.Rev.D51:6403-6410,1995, hep-lat/9412079

Definition at line 76 of file fuzz_smear.cc.

References Chroma::displacement(), and T.

Referenced by Chroma::fourlink_pseudoscalar_stoch_conn::compute(), Chroma::compute_quark_propagator_s(), ks_compute_quark_propagator(), Chroma::ks_fuzz_loops(), Chroma::ks_fuzz_loops_stoch_conn(), Chroma::ks_fuzz_loops_X(), main(), and Chroma::MakeFuzzedCornerProp().

void Chroma::gausSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticePropagator &  chi,
const Real &  width,
int  ItrGaus,
int  j_decay 
)

Do a covariant Gaussian smearing of a lattice propagator field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi propagator field ( Modify )
width width of "shell" wave function ( Read )
ItrGaus number of iterations to approximate Gaussian ( Read )
j_decay direction of decay ( Read )

Definition at line 124 of file gaus_smear.cc.

template<typename T>
void Chroma::gausSmear ( const multi1d< LatticeColorMatrix > &  u,
T chi,
const Real &  width,
int  ItrGaus,
int  j_decay 
)

Do a covariant Gaussian smearing of a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
width width of "shell" wave function ( Read )
ItrGaus number of iterations to approximate Gaussian ( Read )
j_decay direction of decay ( Read )

Definition at line 25 of file gaus_smear.cc.

References Chroma::klein_gord(), Chroma::psi(), and T.

Referenced by Chroma::InlineCreateColorVecsEnv::InlineMeas::func(), and Chroma::GausQuarkSmearingEnv::QuarkSmear< T >::operator()().

void Chroma::gausSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeFermion &  chi,
const Real &  width,
int  ItrGaus,
int  j_decay 
)

Do a covariant Gaussian smearing of a lattice fermion field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi fermion field ( Modify )
width width of "shell" wave function ( Read )
ItrGaus number of iterations to approximate Gaussian ( Read )
j_decay direction of decay ( Read )

Definition at line 80 of file gaus_smear.cc.

void Chroma::gausSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeColorVector &  chi,
const Real &  width,
int  ItrGaus,
int  j_decay 
)

Do a covariant Gaussian smearing of a lattice color vector field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
width width of "shell" wave function ( Read )
ItrGaus number of iterations to approximate Gaussian ( Read )
j_decay direction of decay ( Read )

Definition at line 58 of file gaus_smear.cc.

void Chroma::Hyp_Smear ( const multi1d< LatticeColorMatrix > &  u,
multi1d< LatticeColorMatrix > &  u_hyp,
const Real &  alpha1,
const Real &  alpha2,
const Real &  alpha3,
const Real &  BlkAccu,
int  BlkMax 
)

Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3.

Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3

Arguments:

Parameters:
u gauge field (Read)
u_hyp "hyp-smeared" gauge field (Write)
alpha1 staple coefficient "1" (Read)
alpha2 staple coefficient "2" (Read)
alpha3 staple coefficient "3" (Read)
BlkAccu accuracy in SU(Nc) projection (Read)
BlkMax max number of iterations in SU(Nc) projection (Read)

Definition at line 30 of file hyp_smear.cc.

References BACKWARD, END_CODE, FORWARD, START_CODE, and Chroma::sun_proj().

Referenced by main(), and Chroma::HypLinkSmearingEnv::LinkSmear::operator()().

void Chroma::Hyp_Smear3d ( const multi1d< LatticeColorMatrix > &  u,
multi1d< LatticeColorMatrix > &  u_hyp,
const Real &  alpha1,
const Real &  alpha2,
const Real &  alpha3,
const Real &  BlkAccu,
int  BlkMax,
int  j_decay 
)

Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3.

Construct the "hyp-smeared" links of Anna Hasenfratz, with staple coefficients alpha1, alpha2 and alpha3

Arguments:

Parameters:
u gauge field (Read)
u_hyp "hyp-smeared" gauge field (Write)
alpha1 staple coefficient "1" (Read, not used)
alpha2 staple coefficient "2" (Read)
alpha3 staple coefficient "3" (Read)
BlkAccu accuracy in SU(Nc) projection (Read)
BlkMax max number of iterations in SU(Nc) projection (Read)
j_decay direction of no staple(Read)

Definition at line 31 of file hyp_smear3d.cc.

References BACKWARD, END_CODE, FORWARD, START_CODE, and Chroma::sun_proj().

Referenced by Chroma::HypLinkSmearingEnv::LinkSmear::operator()().

void Chroma::jacobiSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticePropagator &  chi,
const Real &  kappa,
int  iter,
int  no_smear_dir 
)

Do a covariant Jacobi smearing of a lattice propagator field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi propagator field ( Modify )
kappa hopping parameter ( Read )
iter number of iterations ( Read )
no_smear_dir no smearing in this direction ( Read )

Definition at line 133 of file jacobi_smear.cc.

template<typename T>
void Chroma::jacobiSmear ( const multi1d< LatticeColorMatrix > &  u,
T chi,
const Real &  kappa,
int  iter,
int  no_smear_dir 
)

Do a covariant Jacobi smearing of a lattice propagator field.

Arguments:

Parameters:
u gauge field ( Read )
chi propagator field ( Modify )
kappa hopping parameter ( Read )
iter number of iterations ( Read )
no_smear_dir no smearing in this direction ( Read )

Definition at line 24 of file jacobi_smear.cc.

References BACKWARD, FORWARD, Chroma::psi(), and T.

Referenced by Chroma::JacobiQuarkSmearingEnv::QuarkSmear< T >::operator()().

void Chroma::jacobiSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeFermion &  chi,
const Real &  kappa,
int  iter,
int  no_smear_dir 
)

Do a covariant Jacobi smearing of a lattice fermion field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi propagator field ( Modify )
kappa hopping parameter ( Read )
iter number of iterations ( Read )
no_smear_dir no smearing in this direction ( Read )

Definition at line 89 of file jacobi_smear.cc.

void Chroma::jacobiSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeColorVector &  chi,
const Real &  kappa,
int  iter,
int  no_smear_dir 
)

Do a covariant Jacobi smearing of a lattice color vector field.

This is a wrapper over the template definition

Arguments:

Parameters:
u gauge field ( Read )
chi propagator field ( Modify )
kappa hopping parameter ( Read )
iter number of iterations ( Read )
no_smear_dir no smearing in this direction ( Read )

Definition at line 67 of file jacobi_smear.cc.

void Chroma::laplacian ( const multi1d< LatticeColorMatrix > &  u,
LatticePropagator &  chi,
int  j_decay,
int  power 
)

Do a covariant Gaussian smearing of a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi lattice propagator field ( Modify )
j_decay direction of decay ( Read )
power number of times to apply laplacian ( Read )

Definition at line 49 of file laplacian.cc.

void Chroma::laplacian ( const multi1d< LatticeColorMatrix > &  u,
LatticeColorVector &  chi,
int  j_decay,
int  power 
)

Do a covariant Gaussian smearing of a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi lattice color vector field ( Modify )
j_decay direction of decay ( Read )
power number of times to apply laplacian ( Read )

Definition at line 41 of file laplacian.cc.

template<typename T>
void Chroma::laplacian ( const multi1d< LatticeColorMatrix > &  u,
T chi,
int  j_decay,
int  power 
)

Do a covariant Gaussian smearing of a lattice field.

Arguments:

Parameters:
u gauge field ( Read )
chi color vector field ( Modify )
j_decay direction of decay ( Read )
power number of times to apply laplacian ( Read )

Definition at line 26 of file laplacian.cc.

References Chroma::klein_gord(), Chroma::psi(), and T.

void Chroma::read ( XMLReader &  xml,
const string &  path,
VectorQuarkSmearingEnv::Params &  param 
)

Reader.

Definition at line 17 of file vector_quark_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
StoutLinkSmearingEnv::Params &  param 
)

Reader.

Definition at line 16 of file stout_link_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
SimpleQuarkDisplacementEnv::Params &  param 
)

Reader.

Definition at line 15 of file simple_quark_displacement.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
NoQuarkSmearingEnv::Params &  param 
)

Reader.

Definition at line 15 of file no_quark_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
NoQuarkDisplacementEnv::Params &  param 
)

Reader.

Definition at line 15 of file no_quark_displacement.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
NoLinkSmearingEnv::Params &  param 
)

Reader.

Definition at line 15 of file no_link_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
JacobiQuarkSmearingEnv::Params &  param 
)

Reader.

Definition at line 16 of file jacobi_quark_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
HypLinkSmearingEnv::Params &  param 
)

Reader.

Definition at line 17 of file hyp_link_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
GausQuarkSmearingEnv::Params &  param 
)

Reader.

Definition at line 16 of file gaus_quark_smearing.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
GammaDisplacementEnv::Params &  param 
)

Reader.

Definition at line 15 of file gamma_displacement_w.cc.

void Chroma::read ( XMLReader &  xml,
const string &  path,
APELinkSmearingEnv::Params &  param 
)

Reader.

Definition at line 15 of file ape_link_smearing.cc.

void Chroma::vectorSmear ( LatticeFermion &  chi,
const SubsetVectors< LatticeColorVector > &  vecs,
const Real &  sigma,
const int &  j_decay 
)

Do a t vector smearing of a lattice Fermion field.

Arguments:

Parameters:
chi fermion field ( Modify )
vecs vectors for the smearing ( Read )
sigma exponential smearing parameter ( Read )
j_decay direction of decay ( Read )

Definition at line 65 of file vector_smear.cc.

References Chroma::psi(), and Chroma::vectorSmear().

void Chroma::vectorSmear ( LatticeColorVector &  chi,
const SubsetVectors< LatticeColorVector > &  vecs,
const Real &  sigma,
const int &  j_decay 
)

Do a covariant vector smearing of a lattice color vector field.

Arguments:

Parameters:
chi color vector field ( Modify )
vecs vectors for the smearing ( Read )
sigma exponential smearing parameter ( Read )
j_decay direction of decay ( Read )

Definition at line 23 of file vector_smear.cc.

References Chroma::SubsetVectors< T >::getDecayExtent(), Chroma::SubsetVectors< T >::getEvalues(), Chroma::SubsetVectors< T >::getEvectors(), Chroma::SubsetVectors< T >::getNumVectors(), and Chroma::psi().

Referenced by Chroma::VectorQuarkSmearingEnv::VectorQuarkSmear< T >::operator()(), and Chroma::vectorSmear().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const VectorQuarkSmearingEnv::Params &  param 
)

Writer.

Definition at line 24 of file vector_quark_smearing.cc.

References Chroma::VectorQuarkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const StoutLinkSmearingEnv::Params &  param 
)

Writer.

Definition at line 23 of file stout_link_smearing.cc.

References Chroma::StoutLinkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const SimpleQuarkDisplacementEnv::Params &  param 
)

Writer.

Definition at line 22 of file simple_quark_displacement.cc.

References Chroma::SimpleQuarkDisplacementEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const NoQuarkSmearingEnv::Params &  param 
)

Writer.

Definition at line 22 of file no_quark_smearing.cc.

References Chroma::NoQuarkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const NoQuarkDisplacementEnv::Params &  param 
)

Writer.

Definition at line 22 of file no_quark_displacement.cc.

References Chroma::NoQuarkDisplacementEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const NoLinkSmearingEnv::Params &  param 
)

Writer.

Definition at line 22 of file no_link_smearing.cc.

References Chroma::NoLinkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const JacobiQuarkSmearingEnv::Params &  param 
)

Writer.

Definition at line 23 of file jacobi_quark_smearing.cc.

References Chroma::JacobiQuarkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const HypLinkSmearingEnv::Params &  param 
)

Writer.

Definition at line 24 of file hyp_link_smearing.cc.

References Chroma::HypLinkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const GausQuarkSmearingEnv::Params &  param 
)

Writer.

Definition at line 23 of file gaus_quark_smearing.cc.

References Chroma::GausQuarkSmearingEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const GammaDisplacementEnv::Params &  param 
)

Writer.

Definition at line 22 of file gamma_displacement_w.cc.

References Chroma::GammaDisplacementEnv::Params::writeXML().

void Chroma::write ( XMLWriter &  xml,
const string &  path,
const APELinkSmearingEnv::Params &  param 
)

Writer.

Definition at line 22 of file ape_link_smearing.cc.

References Chroma::APELinkSmearingEnv::Params::writeXML().


Generated on Sun Nov 22 04:38:44 2009 for CHROMA by  doxygen 1.4.7