73 multi1d<LatticeStaggeredPropagator>& quark_props,
80 QDPIO::cerr <<
"The no of dimensions should be 4 for now. It is: "
87 QDPIO::cerr <<
"staggeredScalars: input quark props has the wrong number of elements. It should be 8 but is " << quark_props.size() << std::endl;
97 QDPIO::cerr <<
"staggeredScalars: j_decay must be 3 for just now. It is " <<
j_decay << std::endl;
102 const multi1d<int>& latt_size = Layout::lattSize();
108 LatticeComplex corr_fn_s;
131 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
137 multi1d<int> delta(
Nd);
150 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
158 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
175 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
191 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
201 for(rho=
nu+1; rho <
Nd-1; rho++) {
212 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
232 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
241 delta[0] = delta[1] = delta[2] = 1;
247 corr_fn[ sca_index ] = sumMulti(corr_fn_s, timeslice);
251 QDPIO::cerr <<
"Panic! Panic! Something has gone horribly wrong" << std::endl;
Primary include file for CHROMA library code.
Function object used for constructing the time-slice set.
int operator()(const multi1d< int > &coordinate) const
multi2d< DComplex > corr_fn
LatticeStaggeredPropagator shift_deltaProp(multi1d< int > &delta, const LatticeStaggeredPropagator &src)
void compute(multi1d< LatticeStaggeredPropagator > &quark_props, int j_decay)
Function object used for constructing the time-slice set.
static const LatticeInteger & beta(const int dim)
static const LatticeInteger & alpha(const int dim)
Asqtad Staggered-Dirac operator.
int deltaToPropIndex(multi1d< int > &delta)