CHROMA
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5 Class Reference

Nucleon-Nucleon U piece with general projector and Cg5. More...

#include <simple_baryon_seqsrc_w.h>

Inheritance diagram for Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5:
Chroma::BaryonSeqSourceBase Chroma::HadronSeqSource< LatticePropagator >

Public Member Functions

 BarNuclUTCg5 (const Params &p, const SpinMatrix &spinT, const SpinMatrix &spinCg5)
 Full constructor. More...
 
 ~BarNuclUTCg5 ()
 Default destructor. More...
 
LatticePropagator operator() (const multi1d< LatticeColorMatrix > &u, const multi1d< ForwardProp_t > &forward_headers, const multi1d< LatticePropagator > &forward_props)
 Construct the source. More...
 
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. More...
 
- Public Member Functions inherited from Chroma::BaryonSeqSourceBase
virtual ~BaryonSeqSourceBase ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::HadronSeqSource< LatticePropagator >
virtual ~HadronSeqSource ()
 Virtual destructor to help with cleanup;. More...
 
virtual Complex tieBack (const multi1d< LatticeColorMatrix > &u, const SequentialProp_t &seqprop_header, const LatticePropagator &seqprop, int gamma_insertion)
 Evaluate the seqprop back at the source - this is the 2-pt at the sink. More...
 
Complex tieBack (const multi1d< LatticeColorMatrix > &u, const SequentialProp_t &seqprop_header, const LatticePropagator &seqprop, int gamma_insertion)
 

Protected Member Functions

multi1d< int > & getBC ()
 Set bc. More...
 
const multi1d< int > & getBC () const
 Get bc. More...
 
multi1d< int > & getTSrce ()
 Set t_srce. More...
 
const multi1d< int > & getTSrce () const
 Get t_srce. More...
 
int getTSink () const
 Get t_sink. More...
 
const multi1d< int > & getSinkMom () const
 Get sink_mom. More...
 
int getDecayDir () const
 Get decay_dir. More...
 
- Protected Member Functions inherited from Chroma::BaryonSeqSourceBase
virtual LatticePropagator projectBaryon (const LatticePropagator &src_prop_tmp, const multi1d< ForwardProp_t > &forward_headers)
 Combine projection with time-ordering. More...
 
virtual Complex timeOrder () const
 Time-ordering phase of source and sink hadron states. More...
 
virtual void setBC (const multi1d< ForwardProp_t > &forward_headers)
 Convenience function to yank the boundary condition from the forward prop headers. More...
 
- Protected Member Functions inherited from Chroma::HadronSeqSource< LatticePropagator >
virtual LatticePropagator project (const LatticePropagator &src_prop_tmp) const
 Project onto a definite time-slice. More...
 
LatticePropagator project (const LatticePropagator &src_prop_tmp) const
 
virtual LatticeComplex phases () const
 Construct phases. More...
 
LatticeComplex phases () const
 
virtual void setTSrce (const multi1d< ForwardProp_t > &forward_headers)
 Convenience function to yank the source location from the forward prop headers. More...
 
void setTSrce (const multi1d< ForwardProp_t > &forward_headers)
 

Private Member Functions

 BarNuclUTCg5 ()
 Hide partial constructor. More...
 

Private Attributes

multi1d< int > t_srce
 
multi1d< int > bc
 
Params params
 
SpinMatrix T
 
SpinMatrix Cg5
 

Detailed Description

Nucleon-Nucleon U piece with general projector and Cg5.

Create a simple baryon sequential propagator source

Definition at line 40 of file simple_baryon_seqsrc_w.h.

Constructor & Destructor Documentation

◆ BarNuclUTCg5() [1/2]

Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::BarNuclUTCg5 ( const Params p,
const SpinMatrix &  spinT,
const SpinMatrix &  spinCg5 
)
inline

Full constructor.

Definition at line 44 of file simple_baryon_seqsrc_w.h.

◆ ~BarNuclUTCg5()

Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::~BarNuclUTCg5 ( )
inline

Default destructor.

Definition at line 48 of file simple_baryon_seqsrc_w.h.

◆ BarNuclUTCg5() [2/2]

Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::BarNuclUTCg5 ( )
inlineprivate

Hide partial constructor.

Definition at line 85 of file simple_baryon_seqsrc_w.h.

Member Function Documentation

◆ getBC() [1/2]

multi1d<int>& Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getBC ( )
inlineprotectedvirtual

Set bc.

Implements Chroma::BaryonSeqSourceBase.

Definition at line 63 of file simple_baryon_seqsrc_w.h.

References bc.

◆ getBC() [2/2]

const multi1d<int>& Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getBC ( ) const
inlineprotectedvirtual

Get bc.

Implements Chroma::BaryonSeqSourceBase.

Definition at line 66 of file simple_baryon_seqsrc_w.h.

References bc.

◆ getDecayDir()

int Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getDecayDir ( ) const
inlineprotectedvirtual

Get decay_dir.

Implements Chroma::HadronSeqSource< LatticePropagator >.

Definition at line 81 of file simple_baryon_seqsrc_w.h.

References Chroma::SimpleBaryonSeqSourceEnv::Params::j_decay, and params.

Referenced by twoPtSink().

◆ getSinkMom()

const multi1d<int>& Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getSinkMom ( ) const
inlineprotectedvirtual

Get sink_mom.

Implements Chroma::HadronSeqSource< LatticePropagator >.

Definition at line 78 of file simple_baryon_seqsrc_w.h.

References params, and Chroma::SimpleBaryonSeqSourceEnv::Params::sink_mom.

Referenced by twoPtSink().

◆ getTSink()

int Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getTSink ( ) const
inlineprotectedvirtual

Get t_sink.

Implements Chroma::HadronSeqSource< LatticePropagator >.

Definition at line 75 of file simple_baryon_seqsrc_w.h.

References params, and Chroma::SimpleBaryonSeqSourceEnv::Params::t_sink.

Referenced by twoPtSink().

◆ getTSrce() [1/2]

multi1d<int>& Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getTSrce ( )
inlineprotectedvirtual

Set t_srce.

Implements Chroma::HadronSeqSource< LatticePropagator >.

Definition at line 69 of file simple_baryon_seqsrc_w.h.

References t_srce.

Referenced by twoPtSink().

◆ getTSrce() [2/2]

const multi1d<int>& Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::getTSrce ( ) const
inlineprotectedvirtual

Get t_srce.

Implements Chroma::HadronSeqSource< LatticePropagator >.

Definition at line 72 of file simple_baryon_seqsrc_w.h.

References t_srce.

◆ operator()()

LatticePropagator Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::operator() ( const multi1d< LatticeColorMatrix > &  u,
const multi1d< ForwardProp_t > &  forward_headers,
const multi1d< LatticePropagator > &  forward_props 
)
virtual

◆ twoPtSink()

Complex Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::twoPtSink ( const multi1d< LatticeColorMatrix > &  u,
const multi1d< ForwardProp_t > &  forward_headers,
const multi1d< LatticePropagator > &  forward_props,
int  gamma_insertion 
)
virtual

Member Data Documentation

◆ bc

multi1d<int> Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::bc
private

Definition at line 89 of file simple_baryon_seqsrc_w.h.

Referenced by getBC().

◆ Cg5

SpinMatrix Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::Cg5
private

The Cg5 at the source and sink

Definition at line 92 of file simple_baryon_seqsrc_w.h.

Referenced by operator()(), and twoPtSink().

◆ params

Params Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::params
private

Seqsource params

Definition at line 90 of file simple_baryon_seqsrc_w.h.

Referenced by getDecayDir(), getSinkMom(), and getTSink().

◆ T

SpinMatrix Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::T
private

The spin projector matrix

Definition at line 91 of file simple_baryon_seqsrc_w.h.

Referenced by operator()().

◆ t_srce

multi1d<int> Chroma::SimpleBaryonSeqSourceEnv::BarNuclUTCg5::t_srce
private

Definition at line 88 of file simple_baryon_seqsrc_w.h.

Referenced by getTSrce().


The documentation for this class was generated from the following files: