53 using namespace StagPhases;
57 LatticeStaggeredPropagator& quark_prop_A,
58 LatticeStaggeredPropagator& quark_prop_B,
65 QDPIO::cerr <<
"The no of dimensions should be 4 for now. It is: "
76 QDPIO::cerr <<
"pions_s: j_decay must be 3 for just now. It is " <<
j_decay << std::endl;
81 const multi1d<int>& latt_size = Layout::lattSize();
85 LatticeComplex latt_corr_fn;
97 latt_corr_fn = -
alpha(
Nd-1)*trace(adj(quark_prop_A)*quark_prop_B);
100 corr_fn[ pion_index ] = sumMulti(latt_corr_fn, timeslice);
101 tag_names[pion_index] =
"gamma4gamma5_CROSS_gamma4gamma5" ;
105 if( pion_index != no_pions ) {
106 QDPIO::cerr <<
"Panic! Panic! Something has gone horribly wrong" << std::endl;
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 & alpha(const int dim)
Asqtad Staggered-Dirac operator.