53 void loops(
const LatticeFermion &q_source,
54 const LatticeFermion &
psi,
59 push(xml_gamma, xml_tag);
65 multi1d<DComplex> corr_fn_t(length);
66 LatticeReal corr_fn_re ;
69 for (
int gamma_value=0; gamma_value < (Ns*Ns); ++gamma_value)
71 push(xml_gamma,
"loop_diagram");
72 write(xml_gamma,
"gamma_value", gamma_value );
75 LatticeComplex corr_fn;
78 corr_fn_t = sumMulti(corr_fn, timeslice);
81 multi1d<Real> mesprop(length);
82 for (
int t=0;
t < length; ++
t)
84 mesprop[
t] = real(corr_fn_t[
t]);
87 write(xml_gamma,
"mesprop", mesprop);
Primary include file for CHROMA library code.
Function object used for constructing the time-slice set.
int operator()(const multi1d< int > &coordinate) const
Function object used for constructing the time-slice set.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void loops(const LatticeFermion &q_source, const LatticeFermion &psi, int length, XMLWriter &xml_gamma, const std::string &xml_tag)
Fermion loop code.
BinaryReturn< C1, C2, FnInnerProduct >::Type_t innerProduct(const QDPSubType< T1, C1 > &s1, const QDPType< T2, C2 > &s2)
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")