19 for(std::list<Hadron2PtCorrs_t::Mom_t>::const_iterator mom_ptr=
corrs.begin();
20 mom_ptr !=
corrs.end();
23 write(output->bin, mom_ptr->mom);
24 write(output->bin, mom_ptr->corr);
32 std::list< Handle<HadronContractResult_t> >
36 std::list< Handle<HadronContractResult_t> > corrs;
44 had_ptr != had_list.end();
48 multi2d<DComplex> hsum(phases.
sft(had_cont.
corr));
52 had_corrs.
xml << had_cont.
xml;
54 for(
int sink_mom_num=0; sink_mom_num < phases.
numMom(); ++sink_mom_num)
59 had_mom.
corr.resize(length);
60 for (
int t=0;
t < length; ++
t)
63 had_mom.
corr[
t] = hsum[sink_mom_num][
t];
66 had_corrs.
corrs.push_back(had_mom);
virtual std::list< Handle< HadronContractResult_t > > project(const std::list< Handle< Hadron2PtContract_t > > &had_list, const SftMomParams_t &p) const
Convenience function to project onto fixed momenta.
Class for counted reference semantics.
Fourier transform phase factor support.
int numSubsets() const
Number of subsets - length in decay direction.
multi1d< int > numToMom(int mom_num) const
Convert momenta id to actual array of momenta.
multi2d< DComplex > sft(const LatticeComplex &cf) const
Do a sumMulti(cf*phases,getSet())
int numMom() const
Number of momenta.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Construct hadron 2pt correlators.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Fourier transform phase factor support.
The result of hadron 2pt correlators.
Momentum projected correlator.
The result of hadron 2pt correlators.
XMLBufferWriter xml_regres
Handle< HadronContractResult_t > serialize() const
The result of hadron contractions.