18 LatticeStaggeredPropagator & quark_propagator,
26 multi1d<Complex> barprop(tlength) ;
45 LatticeStaggeredPropagator & quark_propagator_a,
46 LatticeStaggeredPropagator & quark_propagator_b,
47 LatticeStaggeredPropagator & quark_propagator_c,
58 multi1d<Complex> barprop(tlength) ;
60 baryon_s(quark_propagator_a,quark_propagator_b,quark_propagator_c,
64 if(binary_baryon_dump){
65 const int magic_number = 66618 ;
66 BinaryFileWriter speedy ;
67 speedy.open(filename);
68 write(speedy,magic_number) ;
69 write(speedy,tlength) ;
70 write(speedy, barprop);;
79 XMLWriter &xml_out,
int fuzz_width )
83 push(xml_out,
"smearing_basis");
87 {
write(xml_out,
"source_type",
"LOCAL_SRC"); }
89 {
write(xml_out,
"source_type",
"GAUGE_INVAR_LOCAL_SOURCE"); }
92 write(xml_out,
"source_type",
"FUZZED_SRC");
93 write(xml_out,
"fuzzed_width", fuzz_width);
103 LatticeStaggeredPropagator & quark_propagator_Lsink_Lsrc,
104 LatticeStaggeredPropagator & quark_propagator_Fsink_Lsrc,
105 LatticeStaggeredPropagator & quark_propagator_Lsink_Fsrc,
106 LatticeStaggeredPropagator & quark_propagator_Fsink_Fsrc,
119 push(xml_out,
"baryon_correlators");
124 push(xml_out,
"smearing_info");
137 filename_base=binary_name+b_tag;
139 quark_propagator_Lsink_Lsrc,
140 quark_propagator_Lsink_Lsrc,
143 binary_baryon_dump,filename_base) ;
147 b_tag =
"srcLLL_sinkFLL_nucleon" ;
148 filename_base=binary_name+b_tag;
150 quark_propagator_Fsink_Lsrc,
151 quark_propagator_Lsink_Lsrc,
152 quark_propagator_Lsink_Lsrc,
155 binary_baryon_dump,filename_base) ;
157 b_tag =
"srcFLL_sinkLLL_nucleon" ;
158 filename_base=binary_name+b_tag;
160 quark_propagator_Lsink_Fsrc,
161 quark_propagator_Lsink_Lsrc,
162 quark_propagator_Lsink_Lsrc,
165 binary_baryon_dump,filename_base) ;
167 b_tag =
"srcFLL_sinkFLL_nucleon" ;
168 filename_base=binary_name+b_tag;
170 quark_propagator_Fsink_Fsrc,
171 quark_propagator_Lsink_Lsrc,
172 quark_propagator_Lsink_Lsrc,
175 binary_baryon_dump,filename_base) ;
181 b_tag =
"srcLLL_sinkFFL_nucleon" ;
182 filename_base=binary_name+b_tag;
184 quark_propagator_Fsink_Lsrc,
185 quark_propagator_Fsink_Lsrc,
186 quark_propagator_Lsink_Lsrc,
189 binary_baryon_dump,filename_base) ;
191 b_tag =
"srcFFL_sinkLLL_nucleon" ;
192 filename_base=binary_name+b_tag;
194 quark_propagator_Lsink_Fsrc,
195 quark_propagator_Lsink_Fsrc,
196 quark_propagator_Lsink_Lsrc,
199 binary_baryon_dump,filename_base) ;
201 b_tag =
"srcFFL_sinkFFL_nucleon" ;
202 filename_base=binary_name+b_tag;
204 quark_propagator_Fsink_Fsrc,
205 quark_propagator_Fsink_Fsrc,
206 quark_propagator_Lsink_Lsrc,
209 binary_baryon_dump,filename_base) ;
214 b_tag =
"srcLLL_sinkFFF_nucleon" ;
215 filename_base=binary_name+b_tag;
217 quark_propagator_Fsink_Lsrc,
218 quark_propagator_Fsink_Lsrc,
219 quark_propagator_Fsink_Lsrc,
222 binary_baryon_dump,filename_base) ;
224 b_tag =
"srcFFF_sinkLLL_nucleon" ;
225 filename_base=binary_name+b_tag;
227 quark_propagator_Lsink_Fsrc,
228 quark_propagator_Lsink_Fsrc,
229 quark_propagator_Lsink_Fsrc,
232 binary_baryon_dump,filename_base) ;
234 b_tag =
"srcFFF_sinkFFF_nucleon" ;
235 filename_base=binary_name+b_tag;
237 quark_propagator_Fsink_Fsrc,
238 quark_propagator_Fsink_Fsrc,
239 quark_propagator_Fsink_Fsrc,
242 binary_baryon_dump,filename_base) ;
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
const std::string name
Name to be used.
Asqtad Staggered-Dirac operator.
void compute_vary_baryon_s(XMLWriter &xml_out, int t_source, int fuzz_width, int j_decay, int t_len, LatticeStaggeredPropagator &quark_propagator_Lsink_Lsrc, LatticeStaggeredPropagator &quark_propagator_Fsink_Lsrc, LatticeStaggeredPropagator &quark_propagator_Lsink_Fsrc, LatticeStaggeredPropagator &quark_propagator_Fsink_Fsrc)
void write_smearing_info(std::string name, stag_src_type type_of_src, XMLWriter &xml_out, int fuzz_width)
push(xml_out,"Condensates")
void ks_compute_baryon(std::string name, LatticeStaggeredPropagator &quark_propagator, XMLWriter &xml_out, int j_decay, int tlength)
void baryon_s(LatticeStaggeredPropagator &quark_propagator_in, multi1d< Complex > &barprop, multi1d< int > &t_source, int j_decay, int bc_spec)
Compute staggered quark propagator.
@ GAUGE_INVAR_LOCAL_SOURCE