23 virtual void compute(LatticeStaggeredFermion & q_source1,
24 LatticeStaggeredFermion & q_source2,
25 LatticeStaggeredFermion & psi1,
26 LatticeStaggeredFermion & psi2,
32 void dump(XMLWriter &xml_out)
48 write(xml_out,
"SHIFT",
"NON_GAUGE_INVAR");
51 write(xml_out,
"SHIFT",
"GAUGE_INVAR");
54 write(xml_out,
"SHIFT",
"SYM_GAUGE_INVAR");
57 write(xml_out,
"SHIFT",
"SYM_NON_GAUGE_INVAR");
61 push(xml_out,
"Mean1");
65 push(xml_out,
"MeanError1");
71 push(xml_out,
"Mean2");
75 push(xml_out,
"MeanError2");
84 void dump(XMLWriter &xml_out,
int &
i){
90 cnum=(
char*)malloc(10*
sizeof(
char));
99 tag =
"Meas"+strzeros+snum;
113 const multi1d<LatticeColorMatrix> & uin,
129 if( uin.size() != 4 ) {
130 QDPIO::cerr <<
"staggered_hadron_corr: input guage config has wrong number of dimensions " << uin.size() << std::endl;
148 LatticeStaggeredFermion& src)
155 std::cout <<
"ERROR SHIFT: GI\n" ; exit(0) ;
159 std::cout <<
"ERROR SHIFT: GI\n" ; exit(0) ;
166 std::cout <<
"ERROR SHIFT: SNGI\n" ; exit(0) ;
172 QDPIO::cerr <<
"Shift type " <<
type_of_shift <<
" unsupported." << std::endl;
191 multi1d<LatticeColorMatrix>
u ;
Primary include file for CHROMA library code.
void dump(XMLWriter &xml_out, int &i)
LatticeStaggeredFermion shift_deltaProp(multi1d< int > &delta, const LatticeStaggeredFermion &src)
virtual void compute(LatticeStaggeredFermion &q_source1, LatticeStaggeredFermion &q_source2, LatticeStaggeredFermion &psi1, LatticeStaggeredFermion &psi2, int isample)=0
void dump(XMLWriter &xml_out)
multi1d< DComplex > corr2
virtual ~stoch_conn_corr()
stoch_conn_corr(int t_len, int t_sample, const multi1d< LatticeColorMatrix > &uin, Stag_shift_option type_of_shift_in)
multi2d< DComplex > corr_fn2
Stag_shift_option type_of_shift
multi1d< DComplex > corr1
multi2d< DComplex > corr_fn1
multi1d< LatticeColorMatrix > u
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void stoch_var(multi1d< DComplex > &ferm_loop_sum, multi2d< DComplex > &ferm_loop, multi1d< Real64 > &sigma, multi1d< Real64 > &im_sigma, int t_length, int Nsamp)
Stochastic variable construction.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
LatticeStaggeredPropagator shiftDeltaPropCov(multi1d< int > &delta, const LatticeStaggeredPropagator &src, multi1d< LatticeColorMatrix > u, bool sym_flag)
std::string tag(const std::string &prefix)
Stochastic variable construction.