24 const Real& sigma,
const int&
j_decay)
28 int num_vecs = vecs.size();
33 for (
int n = 0 ;
n < num_vecs ; ++
n)
42 multi2d<DComplex> t_sum = phases.
sft(
tmp);
44 if (nt != evals.size())
46 QDPIO::cerr << __func__ <<
": number of evalues not decay extent\n";
50 for (
int t = 0 ;
t < nt ; ++
t)
53 exp( Real(-1.0) * sigma * sigma / Real(4.0) * evals[
t]);
73 const Real& sigma,
const int&
j_decay)
75 LatticeColorMatrix col_out =
zero;
78 for (
int cc = 0 ; cc < Nc ; ++cc)
80 LatticeColorVector vec_in =
zero;
83 for (
int cr = 0 ; cr < Nc ; ++cr)
85 pokeColor(vec_in, peekColor(
chi, cr, cc), cr);
92 for (
int cr = 0 ; cr < Nc ; ++cr)
94 pokeColor(col_out, peekColor(vec_in, cr), cr, cc);
114 const Real& sigma,
const int&
j_decay)
118 for (
int s = 0 ;
s < Ns ; ++
s)
120 LatticeColorVector chi_s = peekSpin(
chi,
s);
123 pokeSpin(
psi, chi_s,
s);
141 const Real& sigma,
const int&
j_decay)
143 LatticeStaggeredPropagator
psi =
zero;
145 QDPIO::cerr << __func__ <<
": not implemented\n";
163 const Real& sigma,
const int&
j_decay)
167 for (
int sc = 0 ; sc < Ns ; ++sc)
169 for (
int sr = 0 ; sr < Ns ; ++sr)
171 LatticeColorMatrix col = peekSpin(
chi, sr, sc);
175 pokeSpin(
psi, col, sr, sc);
Primary include file for CHROMA library code.
Fourier transform phase factor support.
int numSubsets() const
Number of subsets - length in decay direction.
multi2d< DComplex > sft(const LatticeComplex &cf) const
Do a sumMulti(cf*phases,getSet())
const Set & getSet() const
The set to be used in sumMulti.
void 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.
QDPSubTypeTrait< typename BinaryReturn< C1, C2, FnLocalInnerProduct >::Type_t >::Type_t localInnerProduct(const QDPSubType< T1, C1 > &l, const QDPType< T2, C2 > &r)
Asqtad Staggered-Dirac operator.
multi1d< LatticeFermion > chi(Ncb)
multi1d< LatticeFermion > s(Ncb)
Fourier transform phase factor support.
SubsetVectorWeight_t eigenValue
std::vector smearing of color std::vector