CHROMA
Classes | Typedefs | Functions

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::PhaseStoutLinkSmearingEnv::Params
 Params for Stout link smearing. More...
 
class  Chroma::PhaseStoutLinkSmearingEnv::LinkSmear
 Stout link 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::QuarkSmear< 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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 

Functions

void Chroma::read (XMLReader &xml, const std::string &path, APELinkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const APELinkSmearingEnv::Params &param)
 Parameters for running code. More...
 
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: More...
 
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. More...
 
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. More...
 
template<typename T >
T Chroma::rightNablaT (const T &F, const multi1d< LatticeColorMatrix > &u, int mu, int length)
 Apply a right derivative path to a lattice field. More...
 
template<typename T >
T Chroma::leftRightNablaT (const multi1d< LatticeColorMatrix > &u, const T &psi, int displacement_length, const multi1d< int > &path, const multi1d< int > &mom)
 Apply a right derivative path to a lattice field. More...
 
LatticePropagator Chroma::rightLap (const LatticePropagator &F, const multi1d< LatticeColorMatrix > &u, int length)
 Apply "E_i" operator to the right onto source. More...
 
LatticeColorVector Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, const multi1d< int > &path)
 Apply a displacement path to a lattice field. More...
 
LatticeColorMatrix Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorMatrix &chi, int length, const multi1d< int > &path, const Subset &sub)
 Apply a displacement path to a lattice field. More...
 
LatticeColorMatrix Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorMatrix &chi, int length, const multi1d< int > &path)
 Apply a displacement path to a lattice field. More...
 
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. More...
 
LatticeFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeFermion &chi, int length, const multi1d< int > &path)
 Apply a displacement path to a lattice field. More...
 
LatticeColorVector Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticeFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeFermion &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticeStaggeredFermion Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeStaggeredFermion &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticeStaggeredPropagator Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeStaggeredPropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticeColorMatrix Chroma::displace (const multi1d< LatticeColorMatrix > &u, const LatticeColorMatrix &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticePropagator Chroma::displacement (const multi1d< LatticeColorMatrix > &u, const LatticePropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
LatticeColorVector Chroma::rightNabla (const multi1d< LatticeColorMatrix > &u, const LatticeColorVector &chi, int length, const multi1d< int > &path)
 Apply a right nabla path to a lattice field. More...
 
LatticeColorMatrix Chroma::rightNabla (const multi1d< LatticeColorMatrix > &u, const LatticeColorMatrix &chi, int length, const multi1d< int > &path)
 Apply a right nabla path to a lattice field. More...
 
template<typename T >
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, T &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
void Chroma::displacement (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, int length, int dir)
 Apply a displacement operator to a lattice field. More...
 
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 More...
 
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticeColorVector &psi, LatticeColorVector &psifuzz, int length, int j_decay)
 Fuzzed source. More...
 
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticePropagator &psi, LatticePropagator &psifuzz, int length, int j_decay)
 Fuzzed source. More...
 
void Chroma::fuzz_smear (const multi1d< LatticeColorMatrix > &ufuzz, const LatticeStaggeredFermion &psi, LatticeStaggeredFermion &psifuzz, int length, int j_decay)
 Fuzzed source. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, GammaDisplacementEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const GammaDisplacementEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, GausQuarkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const GausQuarkSmearingEnv::Params &param)
 Parameters for running code. More...
 
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 std::vector field. More...
 
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. More...
 
void Chroma::gausSmear (const multi1d< LatticeColorMatrix > &u, LatticeStaggeredPropagator &chi, const Real &width, int ItrGaus, int j_decay)
 Do a covariant Gaussian smearing of a lattice propagator field. More...
 
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. More...
 
void Chroma::Hex_Smear_onestepp (multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_hyp)
 Construct one iteration of the "hex-smeared" links of Capitani et al. More...
 
void Chroma::Hex_Smear (const multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_hyp, const int nstep)
 Construct nstep iterations of the "hex-smeared" links of Capitani et al. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, HypLinkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const HypLinkSmearingEnv::Params &param)
 Parameters for running code. More...
 
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. More...
 
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 involving only the spatial links. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, JacobiQuarkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const JacobiQuarkSmearingEnv::Params &param)
 Parameters for running code. More...
 
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 std::vector field. More...
 
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 field. More...
 
void Chroma::jacobiSmear (const multi1d< LatticeColorMatrix > &u, LatticeStaggeredPropagator &chi, const Real &kappa, int iter, int no_smear_dir)
 Do a covariant Jacobi smearing of a lattice propagator field. More...
 
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. More...
 
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. More...
 
void Chroma::laplacian (const multi1d< LatticeColorMatrix > &u, LatticeColorVector &chi, int j_decay, int power)
 Do a covariant Gaussian smearing of a lattice field. More...
 
void Chroma::laplacian (const multi1d< LatticeColorMatrix > &u, LatticePropagator &chi, int j_decay, int power)
 Do a covariant Gaussian smearing of a lattice field. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, NoLinkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const NoLinkSmearingEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, NoQuarkDisplacementEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const NoQuarkDisplacementEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, NoQuarkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const NoQuarkSmearingEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, PhaseStoutLinkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const PhaseStoutLinkSmearingEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, SimpleQuarkDisplacementEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const SimpleQuarkDisplacementEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, StoutLinkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const StoutLinkSmearingEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, VectorQuarkSmearingEnv::Params &param)
 Reader. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const VectorQuarkSmearingEnv::Params &param)
 Parameters for running code. More...
 
void Chroma::vectorSmear (LatticeColorVector &chi, const MapObject< int, EVPair< LatticeColorVector > > &vecs, const Real &sigma, const int &j_decay)
 Do a std::vector smearing of a lattice colorstd::vector field. More...
 
void Chroma::vectorSmear (LatticeFermion &chi, const MapObject< int, EVPair< LatticeColorVector > > &vecs, const Real &sigma, const int &j_decay)
 Do a std::vector smearing of a lattice fermion field. More...
 
void Chroma::vectorSmear (LatticeStaggeredPropagator &chi, const MapObject< int, EVPair< LatticeColorVector > > &vecs, const Real &sigma, const int &j_decay)
 Do a std::vector smearing of a lattice fermion field. More...
 
void Chroma::vectorSmear (LatticePropagator &chi, const MapObject< int, EVPair< LatticeColorVector > > &vecs, const Real &sigma, const int &j_decay)
 Do a std::vector smearing of a lattice fermion field. More...
 

Detailed Description

Support for smearing of gauge and fermion fields.

Typedef Documentation

◆ TheColorVecDisplacementFactory

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 57 of file quark_displacement_factory.h.

◆ TheColorVecSmearingFactory

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 57 of file quark_smearing_factory.h.

◆ TheFermDisplacementFactory

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 46 of file quark_displacement_factory.h.

◆ TheFermSmearingFactory

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 46 of file quark_smearing_factory.h.

◆ TheLinkSmearingFactory

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 24 of file link_smearing_factory.h.

◆ ThePropDisplacementFactory

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 24 of file quark_displacement_factory.h.

◆ ThePropSmearingFactory

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 24 of file quark_smearing_factory.h.

◆ TheStagPropDisplacementFactory

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 35 of file quark_displacement_factory.h.

◆ TheStagPropSmearingFactory

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 35 of file quark_smearing_factory.h.

Function Documentation

◆ APE_Smear()

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
ugauge field ( Read )
u_smearsmeared gauge field ( Write )
mudirection of smeared gauge field ( Read )
bl_levelblocking level (of the u's) ( Read )
sm_factsmearing factor ( Read )
BlkAccuaccuracy in fuzzy link projection ( Read )
BlkMaxmaximum number of iterations in fuzzy link projection ( Read )
j_decayno staple in direction j_decay ( Read )
 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
ugauge field ( Read )
u_smearsmeared gauge field ( Write )
mudirection of smeared gauge field ( Read )
bl_levelblocking level (of the u's) ( Read )
sm_factsmearing factor ( Read )
BlkAccuaccuracy in fuzzy link projection ( Read )
BlkMaxmaximum number of iterations in fuzzy link projection ( Read )
j_decayno staple in direction j_decay ( Read )

Definition at line 44 of file ape_smear.cc.

References BACKWARD, copymask(), Chroma::END_CODE(), FORWARD, j_decay, mu, Nd, nu, Chroma::reunit(), Chroma::shift2(), Chroma::START_CODE(), su2_index, Chroma::su3proj(), sum, tmp_1, and Chroma::u.

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

◆ displace() [1/12]

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

Apply a displacement path to a lattice field.

Definition at line 225 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [2/12]

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

Apply a displacement path to a lattice field.

Definition at line 233 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [3/12]

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 94 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [4/12]

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
ugauge field ( Read )
chicolor std::vector field ( Read )
lengthdisplacement length - must be greater than zero ( Read )
patharray of direction of displacement paths - pos/neg, or zero ( Read )
Returns
displaced field

Definition at line 207 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [5/12]

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 215 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [6/12]

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

Apply a displacement operator to a lattice field.

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Read )
lengthlength of displacement - can be negative ( Read )
dirdirection of displacement ( Read )
Returns
displaced field

Definition at line 77 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [7/12]

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 243 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [8/12]

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 111 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [9/12]

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 138 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [10/12]

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 147 of file displace.cc.

References Chroma::chi(), and Chroma::u.

◆ displace() [11/12]

template<typename T >
LatticeFermion 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
ugauge field ( Read )
chicolor std::vector field ( Read )
lengthdisplacement length - must be greater than zero ( Read )
patharray of direction of displacement paths - pos/neg, or zero ( Read )
subSubset of sites to act ( Read )
Returns
displaced field

Definition at line 171 of file displace.cc.

References Chroma::chi(), Chroma::i, Chroma::psi, and Chroma::u.

◆ displace() [12/12]

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
ugauge field ( Read )
psilattice field ( Read )
lengthlength of displacement ( Read )
dirdirection of displacement ( Read )
Returns
displaced field

Definition at line 41 of file displace.cc.

References BACKWARD, Chroma::chi(), FORWARD, n, Nd, Chroma::psi, Chroma::tmp, and Chroma::u.

Referenced by Chroma::block_couplings(), Chroma::blocks_couple(), Chroma::displace(), Chroma::DispSolnCache::displaceObject(), Chroma::InlineGenPropMatElemColorVecEnv::InlineMeas::func(), Chroma::InlineGenPropMatElemPtColorVecEnv::InlineMeas::func(), and Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::func().

◆ displacement() [1/4]

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

◆ displacement() [2/4]

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

Apply a displacement operator to a lattice field.

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Modify )
lengthlength of displacement ( Read )
dirdirection 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.

References Chroma::chi(), and Chroma::u.

◆ displacement() [3/4]

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

Apply a displacement operator to a lattice field.

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Modify )
lengthlength of displacement ( Read )
dirdirection 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.

References Chroma::chi(), and Chroma::u.

◆ displacement() [4/4]

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
ugauge field ( Read )
chicolor std::vector field ( Modify )
lengthlength of displacement ( Read )
dirdirection 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, Chroma::chi(), FORWARD, n, Chroma::tmp, and Chroma::u.

◆ fuzz_smear() [1/4]

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

Fuzzed source.

Definition at line 134 of file fuzz_smear.cc.

References j_decay, and Chroma::psi.

◆ fuzz_smear() [2/4]

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

Fuzzed source.

Definition at line 145 of file fuzz_smear.cc.

References j_decay, and Chroma::psi.

◆ fuzz_smear() [3/4]

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

Fuzzed source.

Definition at line 166 of file fuzz_smear.cc.

References j_decay, and Chroma::psi.

◆ fuzz_smear() [4/4]

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

Fuzzed source.

Arguments:

Parameters
ufuzzfuzzed gauge field ( Read )
psicolor std::vector field ( Read )
psifuzzcolor std::vector field ( Modify )
lengthlength of fuzz_smear ( Read )
j_decaydirection 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 75 of file fuzz_smear.cc.

References Chroma::displacement(), j_decay, mu, Nd, and Chroma::psi.

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().

◆ gausSmear() [1/4]

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 std::vector field.

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Modify )
widthwidth of "shell" wave function ( Read )
ItrGausnumber of iterations to approximate Gaussian ( Read )
j_decaydirection of decay ( Read )

Definition at line 57 of file gaus_smear.cc.

References Chroma::chi(), j_decay, and Chroma::u.

◆ gausSmear() [2/4]

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
ugauge field ( Read )
chipropagator field ( Modify )
widthwidth of "shell" wave function ( Read )
ItrGausnumber of iterations to approximate Gaussian ( Read )
j_decaydirection of decay ( Read )

Definition at line 123 of file gaus_smear.cc.

References Chroma::chi(), j_decay, and Chroma::u.

◆ gausSmear() [3/4]

void Chroma::gausSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeStaggeredPropagator &  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
ugauge field ( Read )
chipropagator field ( Modify )
widthwidth of "shell" wave function ( Read )
ItrGausnumber of iterations to approximate Gaussian ( Read )
j_decaydirection of decay ( Read )

Definition at line 101 of file gaus_smear.cc.

References Chroma::chi(), j_decay, and Chroma::u.

◆ gausSmear() [4/4]

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.

Do a covariant Gaussian smearing of a lattice fermion field.

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Modify )
widthwidth of "shell" wave function ( Read )
ItrGausnumber of iterations to approximate Gaussian ( Read )
j_decaydirection of decay ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chifermion field ( Modify )
widthwidth of "shell" wave function ( Read )
ItrGausnumber of iterations to approximate Gaussian ( Read )
j_decaydirection of decay ( Read )

Definition at line 24 of file gaus_smear.cc.

References Chroma::chi(), j_decay, Chroma::klein_gord(), n, Chroma::psi, and Chroma::u.

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

◆ Hex_Smear()

void Chroma::Hex_Smear ( const multi1d< LatticeColorMatrix > &  u,
multi1d< LatticeColorMatrix > &  u_hyp,
const int  nstep 
)

Construct nstep iterations of the "hex-smeared" links of Capitani et al.

Construct the "hex-smeared" links of Capitani et al. hep-lat/0607006.

hep-lat/0607006

Construct the "hyp-smeared" links of Capitani et al.,

Arguments:

Parameters
ugauge field (Read)
u_hyp"hex-smeared" gauge field (Write)
nstepnumber of hex steps (Read)

Arguments:

Parameters
ugauge field (Read)
u_hex"hex-smeared" gauge field (Write)
nstepnumber of hex smeared steps

Definition at line 232 of file hex_smear.cc.

References Chroma::END_CODE(), Chroma::Hex_Smear_onestepp(), Chroma::i, Nd, Chroma::START_CODE(), and Chroma::u.

Referenced by Chroma::HexFermState< T, P, Q >::create().

◆ Hex_Smear_onestepp()

void Chroma::Hex_Smear_onestepp ( multi1d< LatticeColorMatrix > &  u,
multi1d< LatticeColorMatrix > &  u_hyp 
)

Construct one iteration of the "hex-smeared" links of Capitani et al.

hep-lat/0607006

Construct the "hyp-smeared" links of Capitani et al., with staple coefficients alpha1, alpha2 and alpha3

Arguments:

Parameters
ugauge field (Read)
u_hyp"hex-smeared" gauge field (Write)

see equation 4 in hep-lat/0607006

the parameters below were empirically obtained by BMW personnel

to get agreement with BMW code

Definition at line 27 of file hex_smear.cc.

References BACKWARD, Chroma::eesu3(), Chroma::END_CODE(), FORWARD, mu, Nd, nu, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::taproj(), tmp_1, and Chroma::u.

Referenced by Chroma::Hex_Smear().

◆ Hyp_Smear()

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.

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
ugauge field (Read)
u_hyp"hyp-smeared" gauge field (Write)
alpha1staple coefficient "1" (Read)
alpha2staple coefficient "2" (Read)
alpha3staple coefficient "3" (Read)
BlkAccuaccuracy in SU(Nc) projection (Read)
BlkMaxmax number of iterations in SU(Nc) projection (Read)

Arguments:

Parameters
ugauge field (Read)
u_hyp"hyp-smeared" gauge field (Write)
alpha1staple coefficient "1" (Read)
alpha2staple coefficient "2" (Read)
alpha3staple coefficient "3" (Read)
BlkAccuaccuracy in SU(Nc) projection (Read)
BlkMaxmax number of iterations in SU(Nc) projection (Read)

Definition at line 30 of file hyp_smear.cc.

References BACKWARD, Chroma::END_CODE(), FORWARD, ftmp1, ftmp2, mu, Nd, nu, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::sun_proj(), tmp_1, and Chroma::u.

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

◆ Hyp_Smear3d()

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 involving only the spatial links.

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
ugauge field (Read)
u_hyp"hyp-smeared" gauge field (Write)
alpha1staple coefficient "1" (Read, not used)
alpha2staple coefficient "2" (Read)
alpha3staple coefficient "3" (Read)
BlkAccuaccuracy in SU(Nc) projection (Read)
BlkMaxmax number of iterations in SU(Nc) projection (Read)
j_decaydirection of no staple(Read)

Arguments:

Parameters
ugauge field (Read)
u_hyp"hyp-smeared" gauge field (Write)
alpha1staple coefficient "1" (Read, not used)
alpha2staple coefficient "2" (Read)
alpha3staple coefficient "3" (Read)
BlkAccuaccuracy in SU(Nc) projection (Read)
BlkMaxmax number of iterations in SU(Nc) projection (Read)
j_decaydirection of no staple(Read)

Definition at line 31 of file hyp_smear3d.cc.

References BACKWARD, Chroma::END_CODE(), FORWARD, ftmp1, ftmp2, j_decay, mu, Nd, nu, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::sun_proj(), tmp_1, and Chroma::u.

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

◆ jacobiSmear() [1/4]

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 std::vector field.

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chipropagator field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chicolor std::vector field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

Definition at line 66 of file jacobi_smear.cc.

References Chroma::chi(), kappa, and Chroma::u.

◆ jacobiSmear() [2/4]

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
ugauge field ( Read )
chipropagator field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

Definition at line 132 of file jacobi_smear.cc.

References Chroma::chi(), kappa, and Chroma::u.

◆ jacobiSmear() [3/4]

void Chroma::jacobiSmear ( const multi1d< LatticeColorMatrix > &  u,
LatticeStaggeredPropagator &  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
ugauge field ( Read )
chipropagator field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

Definition at line 110 of file jacobi_smear.cc.

References Chroma::chi(), kappa, and Chroma::u.

◆ jacobiSmear() [4/4]

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 field.

Do a covariant Jacobi smearing of a lattice fermion field.

Arguments:

Parameters
ugauge field ( Read )
chipropagator field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chipropagator field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
ugauge field ( Read )
chifermion field ( Modify )
kappahopping parameter ( Read )
iternumber of iterations ( Read )
no_smear_dirno smearing in this direction ( Read )

Definition at line 23 of file jacobi_smear.cc.

References BACKWARD, Chroma::chi(), FORWARD, kappa, mu, n, Nd, norm, Chroma::psi, and Chroma::u.

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

◆ laplacian() [1/3]

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
ugauge field ( Read )
chilattice color std::vector field ( Modify )
j_decaydirection of decay ( Read )
powernumber of times to apply laplacian ( Read )

Definition at line 40 of file laplacian.cc.

References Chroma::chi(), j_decay, and Chroma::u.

◆ laplacian() [2/3]

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
ugauge field ( Read )
chilattice propagator field ( Modify )
j_decaydirection of decay ( Read )
powernumber of times to apply laplacian ( Read )

Definition at line 48 of file laplacian.cc.

References Chroma::chi(), j_decay, and Chroma::u.

◆ laplacian() [3/3]

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
ugauge field ( Read )
chicolor std::vector field ( Modify )
j_decaydirection of decay ( Read )
powernumber of times to apply laplacian ( Read )

Definition at line 25 of file laplacian.cc.

References Chroma::chi(), j_decay, Chroma::klein_gord(), Chroma::p, Chroma::psi, and Chroma::u.

◆ leftRightNablaT()

template<typename T >
T Chroma::leftRightNablaT ( const multi1d< LatticeColorMatrix > &  u,
const T psi,
int  displacement_length,
const multi1d< int > &  path,
const multi1d< int > &  mom 
)

Apply a right derivative path to a lattice field.

Definition at line 456 of file displace.cc.

References Chroma::chi(), Chroma::i, Chroma::psi, and Chroma::u.

◆ read() [1/12]

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

Reader.

Definition at line 14 of file ape_link_smearing.cc.

References Chroma::tmp.

◆ read() [2/12]

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

Reader.

Definition at line 14 of file gamma_displacement_w.cc.

References Chroma::tmp.

◆ read() [3/12]

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

Reader.

Definition at line 15 of file gaus_quark_smearing.cc.

References Chroma::tmp.

◆ read() [4/12]

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

Reader.

Definition at line 16 of file hyp_link_smearing.cc.

References Chroma::tmp.

◆ read() [5/12]

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

Reader.

Definition at line 15 of file jacobi_quark_smearing.cc.

References Chroma::tmp.

◆ read() [6/12]

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

Reader.

Definition at line 14 of file no_link_smearing.cc.

References Chroma::tmp.

◆ read() [7/12]

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

Reader.

Definition at line 14 of file no_quark_displacement.cc.

References Chroma::tmp.

◆ read() [8/12]

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

Reader.

Definition at line 14 of file no_quark_smearing.cc.

References Chroma::tmp.

◆ read() [9/12]

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

Reader.

Definition at line 14 of file phase_stout_link_smearing.cc.

References Chroma::tmp.

◆ read() [10/12]

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

Reader.

Definition at line 14 of file simple_quark_displacement.cc.

References Chroma::tmp.

◆ read() [11/12]

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

Reader.

Definition at line 15 of file stout_link_smearing.cc.

References Chroma::tmp.

◆ read() [12/12]

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

Reader.

Definition at line 16 of file vector_quark_smearing.cc.

References Chroma::tmp.

◆ rightLap()

LatticePropagator Chroma::rightLap ( const LatticePropagator &  F,
const multi1d< LatticeColorMatrix > &  u,
int  length 
)

Apply "E_i" operator to the right onto source.

$E_0 = (1/sqrt{2})*\nabla_x\nabla_x - \nabla_y\nabla_y$ $E_1 = -(1/sqrt{6})*\nabla_x\nabla_x + \nabla_y\nabla_y - 2*\nabla_z\nabla_z$

Returns
$\f E_\alpha F(z,0) $ */ LatticePropagator rightE(const LatticePropagator& F, const multi1d<LatticeColorMatrix>& u, int mu, int length) { LatticePropagator tmp; switch (mu) { case 0: tmp = rightNabla(rightNabla(F,u,0,length), u,0,length); tmp -= rightNabla(rightNabla(F,u,1,length), u,1,length); tmp *= Real(1)/Real(sqrt(Real(2))); break; case 1: tmp = rightNabla(rightNabla(F,u,0,length), u,0,length); tmp += rightNabla(rightNabla(F,u,1,length), u,1,length); tmp -= Real(2)*rightNabla(rightNabla(F,u,2,length), u,2,length); tmp *= Real(-1)/Real(sqrt(Real(6))); break; default: QDPIO::cerr << __func__ << ": invalid direction for E: mu=" << mu << std::endl; QDP_abort(1); } return tmp; } Apply "Laplacian" operator to the right onto source /*! \ingroup smear $@_fakenlLaplacian = \sum_{i=1}^3\nabla_i\nabla_i\f$
$\f \nabla^2 F(z,0)

$E_0 = (1/sqrt{2})*\nabla_x\nabla_x - \nabla_y\nabla_y$ $E_1 = -(1/sqrt{6})*\nabla_x\nabla_x + \nabla_y\nabla_y - 2*\nabla_z\nabla_z$

Returns
$\f E_\alpha F(z,0) $ */ LatticePropagator rightE(const LatticePropagator& F, const multi1d<LatticeColorMatrix>& u, int mu, int length); Apply "Laplacian" operator to the right onto source /*! \ingroup smear $@_fakenlLaplacian = \sum_{i=1}^3\nabla_i\nabla_i\f$
$\f \nabla^2 F(z,0)

Definition at line 614 of file displace.cc.

References F, Chroma::i, Chroma::rightNabla(), Chroma::tmp, Chroma::u, and Chroma::zero.

Referenced by Chroma::DerivQuarkDisplacementEnv::RightLapDisplace< T >::operator()().

◆ rightNabla() [1/2]

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

Apply a right nabla path to a lattice field.

◆ rightNabla() [2/2]

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

◆ rightNablaT()

template<typename T >
T Chroma::rightNablaT ( const T F,
const multi1d< LatticeColorMatrix > &  u,
int  mu,
int  length 
)

Apply a right derivative path to a lattice field.

Definition at line 280 of file displace.cc.

References F, mu, and Chroma::u.

◆ vectorSmear() [1/4]

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

Do a std::vector smearing of a lattice colorstd::vector field.

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

Arguments:

Parameters
chicolor std::vector field ( Modify )
vecsvectors for the smearing ( Read )
sigmaexponential smearing parameter ( Read )
j_decaydirection of decay ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
chicolor std::vector field ( Modify )
vecsvectors for the smearing ( Read )
sigmaparameter for the exponential smearing weight ( Read )
j_decaydirection of decay ( Read )

Definition at line 22 of file vector_smear.cc.

References Chroma::chi(), Chroma::EVPair< T >::eigenValue, Chroma::EVPair< T >::eigenVector, Chroma::SftMom::getSet(), j_decay, Chroma::InlinePropAndMatElemDistillation2Env::local::localInnerProduct(), n, Chroma::SftMom::numSubsets(), Chroma::psi, Chroma::SftMom::sft(), t, Chroma::tmp, Chroma::SubsetVectorWeight_t::weights, and Chroma::zero.

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

◆ vectorSmear() [2/4]

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

Do a std::vector smearing of a lattice fermion field.

Do a t std::vector smearing of a lattice Fermion field.

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaexponential smearing parameter ( Read )
j_decaydirection of decay ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaparameter for the exponential smearing weight ( Read )
j_decaydirection of decay ( Read )

Definition at line 112 of file vector_smear.cc.

References Chroma::chi(), j_decay, Chroma::psi, Chroma::s(), Chroma::vectorSmear(), and Chroma::zero.

◆ vectorSmear() [3/4]

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

Do a std::vector smearing of a lattice fermion field.

Do a t std::vector smearing of a lattice Fermion field.

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaexponential smearing parameter ( Read )
j_decaydirection of decay ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaparameter for the exponential smearing weight ( Read )
j_decaydirection of decay ( Read )

Definition at line 161 of file vector_smear.cc.

References Chroma::chi(), j_decay, Chroma::psi, Chroma::vectorSmear(), and Chroma::zero.

◆ vectorSmear() [4/4]

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

Do a std::vector smearing of a lattice fermion field.

Do a t std::vector smearing of a lattice Fermion field.

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaexponential smearing parameter ( Read )
j_decaydirection of decay ( Read )

This is a wrapper over the template definition

Arguments:

Parameters
chifermion field ( Modify )
vecsvectors for the smearing ( Read )
sigmaparameter for the exponential smearing weight ( Read )
j_decaydirection of decay ( Read )

Definition at line 139 of file vector_smear.cc.

References Chroma::chi(), Chroma::psi, and Chroma::zero.

◆ write() [1/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file ape_link_smearing.cc.

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

◆ write() [2/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file gamma_displacement_w.cc.

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

◆ write() [3/12]

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

Parameters for running code.

Writer.

Definition at line 22 of file gaus_quark_smearing.cc.

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

◆ write() [4/12]

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

Parameters for running code.

Writer.

Definition at line 23 of file hyp_link_smearing.cc.

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

◆ write() [5/12]

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

Parameters for running code.

Writer.

Definition at line 22 of file jacobi_quark_smearing.cc.

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

◆ write() [6/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file no_link_smearing.cc.

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

◆ write() [7/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file no_quark_displacement.cc.

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

◆ write() [8/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file no_quark_smearing.cc.

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

◆ write() [9/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file phase_stout_link_smearing.cc.

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

◆ write() [10/12]

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

Parameters for running code.

Writer.

Definition at line 21 of file simple_quark_displacement.cc.

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

◆ write() [11/12]

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

Parameters for running code.

Writer.

Definition at line 22 of file stout_link_smearing.cc.

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

◆ write() [12/12]

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

Parameters for running code.

Writer.

Definition at line 23 of file vector_quark_smearing.cc.

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