30 namespace SimpleBaryonSeqSourceEnv
44 namespace GeneralBaryonSeqSourceEnv
66 XMLReader paramtop(xml, path);
93 XMLReader paramtop(xml, path);
105 void write(XMLWriter& xml,
const std::string& path,
const SimpleBaryonSeqSourceEnv::SpinMatTsp_t& param)
109 xml << param.T_xml.xml;
110 xml << param.SRC_sp_xml.xml;
111 xml << param.SNK_sp_xml.xml;
131 std::ostringstream
s;
146 std::ostringstream
s;
156 namespace SimpleBaryonSeqSourceEnv
172 XMLReader paramtop(xml, path);
175 read(paramtop,
"version", version);
183 QDPIO::cerr << __func__ <<
": parameter version " << version
184 <<
" unsupported." << std::endl;
188 read(paramtop,
"time_rev", param.time_rev);
201 write(xml,
"version", version);
203 write(xml,
"time_rev", param.time_rev);
212 multi1d<Hadron2PtContraction_t>
operator()(
const multi1d<LatticeColorMatrix>&
u);
272 multi2d<DComplex> hsum;
273 hsum = sft.
sft(b_prop);
276 return Real(2) * hsum[0][
getTSink()];
335 multi2d<DComplex> hsum;
336 hsum = sft.
sft(b_prop);
339 return Real(1) * hsum[0][
getTSink()];
415 multi2d<DComplex> hsum;
416 hsum = sft.
sft(b_prop);
419 return Real(2) * hsum[0][
getTSink()];
486 multi2d<DComplex> hsum;
487 hsum = sft.
sft(b_prop);
490 return Real(1) * hsum[0][
getTSink()];
512 read(xml_in, path, spin);
529 read(xml_in, path, spin);
531 return new BarNuclDTCg5(Params(xml_in, path), spin.T, spin.sp);
542 HadronSeqSource<LatticePropagator>* barNuclUUnpol(XMLReader& xml_in,
556 HadronSeqSource<LatticePropagator>* barNuclDUnpol(XMLReader& xml_in,
570 HadronSeqSource<LatticePropagator>* barNuclUPol(XMLReader& xml_in,
584 HadronSeqSource<LatticePropagator>* barNuclDPol(XMLReader& xml_in,
597 HadronSeqSource<LatticePropagator>* barNuclUUnpolNR(XMLReader& xml_in,
611 HadronSeqSource<LatticePropagator>* barNuclDUnpolNR(XMLReader& xml_in,
625 HadronSeqSource<LatticePropagator>* barNuclUPolNR(XMLReader& xml_in,
639 HadronSeqSource<LatticePropagator>* barNuclDPolNR(XMLReader& xml_in,
655 HadronSeqSource<LatticePropagator>* barNuclUMixedNR(XMLReader& xml_in,
671 HadronSeqSource<LatticePropagator>* barNuclDMixedNR(XMLReader& xml_in,
689 HadronSeqSource<LatticePropagator>* barNuclUMixedNRnegPar(XMLReader& xml_in,
692 return new BarNuclUTCg5(Params(xml_in, path),
705 HadronSeqSource<LatticePropagator>* barNuclDMixedNRnegPar(XMLReader& xml_in,
708 return new BarNuclDTCg5(Params(xml_in, path),
732 HadronSeqSource<LatticePropagator>* barXiDMixedNR(XMLReader& xml_in,
746 HadronSeqSource<LatticePropagator>* barDeltaDeltaU(XMLReader& xml_in,
751 read(xml_in, path, spin);
753 return new BarDeltaUTsp(Params(xml_in, path), spin.T, spin.sp);
763 HadronSeqSource<LatticePropagator>* barDeltaDeltaD(XMLReader& xml_in,
768 read(xml_in, path, spin);
770 return new BarDeltaDTsp(Params(xml_in, path), spin.T, spin.sp);
787 HadronSeqSource<LatticePropagator>* barDeltaUUnpol(XMLReader& xml_in,
808 HadronSeqSource<LatticePropagator>* barDeltaDUnpol(XMLReader& xml_in,
868 barNuclUMixedNRnegPar);
871 barNuclDMixedNRnegPar);
Heavy-light baryon 2-pt functions.
Baryon spin and projector matrices.
Factory for producing baryon spin matrix contraction objects.
virtual LatticePropagator projectBaryon(const LatticePropagator &src_prop_tmp, const multi1d< ForwardProp_t > &forward_headers)
Combine projection with time-ordering.
virtual void setBC(const multi1d< ForwardProp_t > &forward_headers)
Convenience function to yank the boundary condition from the forward prop headers.
virtual void setTSrce(const multi1d< ForwardProp_t > &forward_headers)
Convenience function to yank the source location from the forward prop headers.
Fourier transform phase factor support.
multi2d< DComplex > sft(const LatticeComplex &cf) const
Do a sumMulti(cf*phases,getSet())
int getTSink() const
Get t_sink.
const multi1d< int > & getSinkMom() const
Get sink_mom.
int getDecayDir() const
Get decay_dir.
multi1d< int > & getTSrce()
Set t_srce.
Complex twoPtSink(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props, int gamma_insertion)
Compute the 2-pt at the sink.
LatticePropagator operator()(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props)
Construct the source.
int getTSink() const
Get t_sink.
int getDecayDir() const
Get decay_dir.
multi1d< int > & getTSrce()
Set t_srce.
const multi1d< int > & getSinkMom() const
Get sink_mom.
LatticePropagator operator()(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props)
Construct the source.
Complex twoPtSink(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props, int gamma_insertion)
Compute the 2-pt at the sink.
int getDecayDir() const
Get decay_dir.
int getTSink() const
Get t_sink.
const multi1d< int > & getSinkMom() const
Get sink_mom.
LatticePropagator operator()(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props)
Construct the source.
multi1d< int > & getTSrce()
Set t_srce.
Complex twoPtSink(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props, int gamma_insertion)
Compute the 2-pt at the sink.
Nucleon-Nucleon U piece with general projector and Cg5.
int getTSink() const
Get t_sink.
const multi1d< int > & getSinkMom() const
Get sink_mom.
int getDecayDir() const
Get decay_dir.
Complex twoPtSink(const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props, int gamma_insertion)
Compute the 2-pt at the sink.
multi1d< int > & getTSrce()
Set t_srce.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
LatticeComplex sigma2pt(const LatticePropagator &quark_propagator_1, const LatticePropagator &quark_propagator_2, const SpinMatrix &T, const SpinMatrix &sp)
Sigma 2-pt.
LatticeComplex sigmast2pt(const LatticePropagator &quark_propagator_1, const LatticePropagator &quark_propagator_2, const SpinMatrix &T, const SpinMatrix &sp)
Delta 2-pt.
GroupXML_t readXMLGroup(XMLReader &xml_in, const std::string &path, const std::string &type_name)
Read group and return as a std::string.
static bool registered
Local registration flag.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
SpinMatrix Tmixed()
T = (1 + \Sigma_3)*(1 + gamma_4) / 2 = (1 + Gamma(8) - i G(3) - i G(11)) / 2.
SpinMatrix Tunpol()
T = (1 + gamma_4) / 2 = (1 + Gamma(8)) / 2.
SpinMatrix Cg5NRnegPar()
C g_5 NR = (1/2)*C gamma_5 * ( 1 - g_4 )
SpinMatrix Cgm()
C gamma_- = Cgm = (C gamma_-)^T.
SpinMatrix TmixedNegPar()
T = (1 - \Sigma_3)*(1 - gamma_4) / 2 = (1 - Gamma(8) + i G(3) - i G(11)) / 2.
SpinMatrix Cg5()
C g_5 = C gamma_5 = Gamma(5)
SpinMatrix Cg5NR()
C g_5 NR = (1/2)*C gamma_5 * ( 1 + g_4 )
SpinMatrix Tpol()
T = \Sigma_3 (1 + gamma_4) / 2 = -i (Gamma(3) + Gamma(11)) / 2.
LatticeColorMatrix col_mat
check2Args("BarNuclTCg5", quark_propagators)
return projectBaryon(src_prop_tmp, forward_headers)
bool registerAll()
Register all the factories.
multi1d< ForwardProp_t > & forward_headers
LatticePropagator src_prop_tmp
multi1d< LatticePropagator > & quark_propagators
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
LatticePropagator di_quark
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > s(Ncb)
Factory for producing quark prop sinks.
Fourier transform phase factor support.
Construct baryon sequential sources.
Hold group xml and type id.
Simple baryon sequential source parameters.
void writeXML(XMLWriter &in, const std::string &path) const
Read an XML group as a std::string.