36 LatticeStaggeredPropagator quark_propagator,
40 const multi1d<LatticeColorMatrix> &
u ,
46 LatticeStaggeredFermion q_source ;
47 LatticeStaggeredFermion q_source_fuzz ;
50 LatticeStaggeredPropagator quark_propagator_4link ;
61 QDPIO::cerr <<
"Conflicting source and shift types in " <<
62 "util_compute_quark_prop_s.cc" <<std::endl;
70 QDPIO::cerr <<
"Conflicting source and shift types in " <<
71 "util_compute_singlet_s.cc" <<std::endl;
72 QDPIO::cerr <<
"symmetric shifts not implemented for LLL " <<
73 "non-gauge-invariant sources" << std::endl;
76 QDPIO::cerr <<
"You asked for LOCAL_SRC, sym_shift" << std::endl;
79 QDPIO::cerr <<
"You asked for FUZZED_SRC, sym_shift" << std::endl;
87 QDPIO::cout <<
"Conflicting source and shift types in " <<
88 "util_compute_quark_prop_s.cc" <<std::endl;
95 push(xml_out,
"Computation_4link_pseudoscalar");
98 for(
int color_source = 0; color_source < Nc; ++color_source) {
120 q_source_fuzz = q_source ;
139 double time_in_sec = swatch.getTimeInSeconds();
142 push(xml_out,
"Qprop");
146 write(xml_out,
"time_in_sec",time_in_sec );
155 pion_singlet.
compute(quark_propagator,quark_propagator_4link,
j_decay);
165 LatticeStaggeredPropagator & quark_propagator_Lsink_Lsrc,
166 LatticeStaggeredPropagator & quark_propagator_Fsink_Lsrc,
167 LatticeStaggeredPropagator & quark_propagator_Lsink_Fsrc,
168 LatticeStaggeredPropagator & quark_propagator_Fsink_Fsrc,
172 const multi1d<LatticeColorMatrix> &
u ,
173 const multi1d<LatticeColorMatrix> & u_smr ,
183 LatticeStaggeredFermion q_source_4link ;
185 LatticeStaggeredFermion q_source ;
186 LatticeStaggeredFermion q_source_fuzz ;
189 LatticeStaggeredPropagator quark_propagator_4link ;
200 QDPIO::cerr <<
"Conflicting source and shift types in " <<
201 "util_compute_quark_prop_s.cc" <<std::endl;
209 QDPIO::cerr <<
"Conflicting source and shift types in " <<
210 "util_compute_singlet_s.cc" <<std::endl;
211 QDPIO::cerr <<
"symmetric shifts not implemented for LLL " <<
212 "non-gauge-invariant sources" << std::endl;
215 QDPIO::cerr <<
"You asked for LOCAL_SRC, sym_shift" << std::endl;
218 QDPIO::cerr <<
"You asked for FUZZED_SRC, sym_shift" << std::endl;
226 QDPIO::cout <<
"Conflicting source and shift types in " <<
227 "util_compute_quark_prop_s.cc" <<std::endl;
234 push(xml_out,
"Computation_4link_pseudoscalar");
237 for(
int color_source = 0; color_source < Nc; ++color_source) {
260 q_source_fuzz = q_source ;
279 double time_in_sec = swatch.getTimeInSeconds();
282 push(xml_out,
"Qprop");
286 write(xml_out,
"time_in_sec",time_in_sec );
299 push(xml_out,
"LocalSource");
300 push(xml_out,
"LocalSink");
301 pion_singlet_LsrcLsink.
compute(quark_propagator_Lsink_Lsrc,
302 quark_propagator_4link,
j_decay);
307 push(xml_out,
"FuzzSink");
308 pion_singlet_LsrcFsink.
compute(quark_propagator_Fsink_Lsrc,
309 quark_propagator_4link,
j_decay);
314 push(xml_out,
"FuzzSource");
315 push(xml_out,
"LocalSink");
316 pion_singlet_FsrcLsink.
compute(quark_propagator_Lsink_Fsrc,
317 quark_propagator_4link,
j_decay);
322 push(xml_out,
"FuzzSink");
323 pion_singlet_FsrcFsink.
compute(quark_propagator_Fsink_Fsrc,
324 quark_propagator_4link,
j_decay);
Class for counted reference semantics.
void dump(int t_source, XMLWriter &xml_out)
void compute(LatticeStaggeredPropagator local_quark_prop, LatticeStaggeredPropagator four_shift_quark_prop, int j_decay)
void FermToProp(const LatticeFermionF &a, LatticePropagatorF &b, int color_index, int spin_index)
Insert a LatticeFermion into a LatticePropagator.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void srcfil(LatticeFermion &a, const multi1d< int > &coord, int color_index, int spin_index)
Fill a specific color and spin index with 1.0.
Class for counted reference semantics.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > enum InvType invType const multi1d< Real > & RsdCG
int check_qprop_source_compatability(stag_src_type type_of_src, bool gauge_shift, bool sym_shift, func_flag_type fflag)
static multi1d< LatticeColorMatrix > u
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > const multi1d< Real > & Mass
push(xml_out,"Condensates")
LatticeStaggeredPropagator shiftDeltaPropCov(multi1d< int > &delta, const LatticeStaggeredPropagator &src, multi1d< LatticeColorMatrix > u, bool sym_flag)
int compute_vary_singlet_ps(LatticeStaggeredFermion &psi, LatticeStaggeredPropagator &quark_propagator_Lsink_Lsrc, LatticeStaggeredPropagator &quark_propagator_Fsink_Lsrc, LatticeStaggeredPropagator &quark_propagator_Lsink_Fsrc, LatticeStaggeredPropagator &quark_propagator_Fsink_Fsrc, stag_src_type type_of_src, bool gauge_shift, bool sym_shift, const multi1d< LatticeColorMatrix > &u, const multi1d< LatticeColorMatrix > &u_smr, Handle< SystemSolver< LatticeStaggeredFermion > > &qprop, XMLWriter &xml_out, Real RsdCG, Real Mass, int j_decay, int t_source, int t_length, int fuzz_width)
int compute_singlet_ps(LatticeStaggeredFermion &psi, LatticeStaggeredPropagator quark_propagator, stag_src_type type_of_src, bool gauge_shift, bool sym_shift, const multi1d< LatticeColorMatrix > &u, Handle< SystemSolver< LatticeStaggeredFermion > > &qprop, XMLWriter &xml_out, Real RsdCG, Real Mass, int j_decay, int t_source, int t_length)
Point source construction.
Holds return info from SystemSolver call.
Compute staggered quark propagator.
@ GAUGE_INVAR_LOCAL_SOURCE