18 using namespace StagPhases;
21 LatticeStaggeredPropagator& quark_prop_B,
int j_decay)
24 QDPIO::cerr <<
"The number of dimensions should be 4 (for now) - it is " <<
Nd <<
"\n";
33 QDPIO::cerr <<
"scalar_s: j_decay must be 3 for now, it is " <<
j_decay <<
"\n";
37 const multi1d<int>& latt_size = Layout::lattSize();
39 LatticeComplex latt_corr_fn;
48 latt_corr_fn = -
alpha(1)*
beta(0)*trace(adj(quark_prop_A)*quark_prop_B);
50 corr_fn[idx] = sumMulti(latt_corr_fn, timeslice);
51 tag_names[idx] =
"one_CROSS_one";
55 if ( idx != no_pions ) {
56 QDPIO::cerr <<
"Panic! Something has gone horribly wrong!\n";
Function object used for constructing the time-slice set.
int operator()(const multi1d< int > &coordinate) const
void compute(LatticeStaggeredPropagator &quark_prop_A, LatticeStaggeredPropagator &quark_prop_B, 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.