23 virtual void compute(LatticeStaggeredFermion & q_source,
24 LatticeStaggeredFermion &
psi,
int isample) = 0 ;
29 void dump(XMLWriter &xml_out)
41 write(xml_out,
"SHIFT",
"NON_GAUGE_INVAR");
44 write(xml_out,
"SHIFT",
"GAUGE_INVAR");
47 write(xml_out,
"SHIFT",
"SYM_GAUGE_INVAR");
50 write(xml_out,
"SHIFT",
"SYM_NON_GAUGE_INVAR");
53 push(xml_out,
"Mean");
56 push(xml_out,
"MeanError");
64 void dump(XMLWriter &xml_out,
int &
i){
71 cnum=(
char*)malloc(10*
sizeof(
char));
80 tag =
"Meas"+strzeros+snum;
92 const multi1d<LatticeColorMatrix> & uin,
104 if( uin.size() != 4 ) {
105 QDPIO::cerr <<
"staggered_hadron_corr: input guage config has wrong number of dimensions " << uin.size() << std::endl;
122 LatticeStaggeredFermion& src)
129 std::cout <<
"ERROR SHIFT: GI\n" ; exit(0) ;
133 std::cout <<
"ERROR SHIFT: GI\n" ; exit(0) ;
140 std::cout <<
"ERROR SHIFT: SNGI\n" ; exit(0) ;
146 QDPIO::cerr <<
"Shift type " <<
type_of_shift <<
" unsupported." << std::endl;
160 const int magic_number = 66618 ;
162 BinaryFileWriter speedy ;
163 speedy.open(filename);
164 write(speedy,magic_number) ;
181 multi1d<LatticeColorMatrix>
u ;
Primary include file for CHROMA library code.
virtual ~staggered_loops()
multi1d< LatticeColorMatrix > u
Stag_shift_option type_of_shift
multi2d< DComplex > corr_fn
virtual void compute(LatticeStaggeredFermion &q_source, LatticeStaggeredFermion &psi, int isample)=0
void dump(XMLWriter &xml_out)
LatticeStaggeredFermion shift_deltaProp(multi1d< int > &delta, const LatticeStaggeredFermion &src)
void binary_dump(std::string start_name)
staggered_loops(int t_len, int t_sample, const multi1d< LatticeColorMatrix > &uin, Stag_shift_option type_of_shift_in)
void dump(XMLWriter &xml_out, int &i)
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.