CHROMA
Classes | Public Member Functions | Public Attributes | List of all members
Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ Class Reference

#include <group_baryon_operator_w.h>

Inheritance diagram for Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ:
Chroma::BaryonOperator< LatticeFermion >

Classes

struct  QuarkTerm_t
 

Public Member Functions

void init (const Params &p)
 
 GroupBaryonQQQ (const Params &p)
 Full constructor. More...
 
 ~GroupBaryonQQQ ()
 
multi1d< LatticeComplex > operator() (const LatticeFermion &quark1, const LatticeFermion &quark2, const LatticeFermion &quark3, int *qindices, enum PlusMinus isign) const
 Compute the operator. More...
 
LatticeComplex operator() (const LatticeFermion &quark1, const LatticeFermion &quark2, const LatticeFermion &quark3, int *qindices) const
 Compute the operator. More...
 
multi1d< LatticeComplex > operator() (const LatticeFermion &quark1, const LatticeFermion &quark2, const LatticeFermion &quark3, enum PlusMinus isign) const
 Compute the operator. More...
 
LatticeComplex operator() (const LatticeFermion &quark1, const LatticeFermion &quark2, const LatticeFermion &quark3) const
 hack to avoid compiler errors More...
 
 GroupBaryonQQQ ()
 Hide partial constructor. More...
 
void displaceQuarks (multi1d< std::map< int, LatticeFermion > > &disp_quarks, const multi1d< LatticeFermion > &q, int *qindices) const
 Construct array of std::maps of displacements. More...
 
void smearDisplaceQuarks (multi1d< std::map< int, LatticeFermion > > &disp_quarks, const LatticeFermion &q1, const LatticeFermion &q2, const LatticeFermion &q3, int *qindices) const
 First smear then displace the quarks. More...
 
void quarkManip (multi1d< std::map< int, LatticeFermion > > &disp_quarks, const LatticeFermion &q1, const LatticeFermion &q2, const LatticeFermion &q3, int *qindices) const
 Manipulate the quark fields. More...
 
const SpinMatrix & rotateMat () const
 The spin basis matrix to goto Dirac. More...
 
LatticeFermion operator() (Params::dilution_t) const
 Construct the source. More...
 
- Public Member Functions inherited from Chroma::BaryonOperator< LatticeFermion >
virtual ~BaryonOperator ()
 Virtual destructor to help with cleanup;. More...
 

Public Attributes

std::string name
 
multi1d< QuarkTerm_tquark
 
int NBaryonOps
 
multi1d< DComplex > coef
 
multi1d< int > whichBaryonOps
 
multi1d< std::string > Names
 
multi1d< GroupBaryonOp * > baryon
 
Params myparams
 
SpinMatrix spin_rotate_mat
 

Detailed Description

Create a group theoretical construction baryon

Definition at line 204 of file group_baryon_operator_w.h.

Constructor & Destructor Documentation

◆ GroupBaryonQQQ() [1/2]

Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::GroupBaryonQQQ ( const Params p)

◆ ~GroupBaryonQQQ()

Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::~GroupBaryonQQQ ( )
inline

Definition at line 210 of file group_baryon_operator_w.h.

◆ GroupBaryonQQQ() [2/2]

Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::GroupBaryonQQQ ( )

Hide partial constructor.

Constructor.

Definition at line 270 of file group_baryon_operator_w.cc.

Member Function Documentation

◆ displaceQuarks()

void Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::displaceQuarks ( multi1d< std::map< int, LatticeFermion > > &  disp_quarks,
const multi1d< LatticeFermion > &  q,
int *  qindices 
) const

◆ init()

void Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::init ( const Params p)

Definition at line 275 of file group_baryon_operator_w.cc.

References Chroma::DiracToDRMat(), myparams, quark, and spin_rotate_mat.

◆ operator()() [1/5]

LatticeComplex Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() ( const LatticeFermion &  quark1,
const LatticeFermion &  quark2,
const LatticeFermion &  quark3 
) const
virtual

hack to avoid compiler errors

Implements Chroma::BaryonOperator< LatticeFermion >.

Definition at line 853 of file group_baryon_operator_w.cc.

References Chroma::d, Chroma::END_CODE(), and Chroma::START_CODE().

◆ operator()() [2/5]

multi1d< LatticeComplex > Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() ( const LatticeFermion &  quark1,
const LatticeFermion &  quark2,
const LatticeFermion &  quark3,
enum PlusMinus  isign 
) const
virtual

Compute the operator.

Implements Chroma::BaryonOperator< LatticeFermion >.

Definition at line 863 of file group_baryon_operator_w.cc.

References Chroma::d, Chroma::END_CODE(), and Chroma::START_CODE().

◆ operator()() [3/5]

LatticeComplex Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() ( const LatticeFermion &  quark1,
const LatticeFermion &  quark2,
const LatticeFermion &  quark3,
int *  qindices 
) const
virtual

◆ operator()() [4/5]

multi1d< LatticeComplex > Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() ( const LatticeFermion &  quark1,
const LatticeFermion &  quark2,
const LatticeFermion &  quark3,
int *  qindices,
enum PlusMinus  isign 
) const
virtual

◆ operator()() [5/5]

LatticeFermion Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() ( Params::dilution_t  diln) const

◆ quarkManip()

void Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::quarkManip ( multi1d< std::map< int, LatticeFermion > > &  disp_quarks,
const LatticeFermion &  q1,
const LatticeFermion &  q2,
const LatticeFermion &  q3,
int *  qindices 
) const

Manipulate the quark fields.

◆ rotateMat()

const SpinMatrix& Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::rotateMat ( ) const
inline

The spin basis matrix to goto Dirac.

Definition at line 286 of file group_baryon_operator_w.h.

References spin_rotate_mat.

◆ smearDisplaceQuarks()

void Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::smearDisplaceQuarks ( multi1d< std::map< int, LatticeFermion > > &  disp_quarks,
const LatticeFermion &  q1,
const LatticeFermion &  q2,
const LatticeFermion &  q3,
int *  qindices 
) const

First smear then displace the quarks.

Definition at line 824 of file group_baryon_operator_w.cc.

References displaceQuarks(), Chroma::END_CODE(), q, and Chroma::START_CODE().

Referenced by operator()().

Member Data Documentation

◆ baryon

multi1d<GroupBaryonOp*> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::baryon

Definition at line 254 of file group_baryon_operator_w.h.

◆ coef

multi1d<DComplex> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::coef

Definition at line 251 of file group_baryon_operator_w.h.

◆ myparams

Params Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::myparams

Definition at line 259 of file group_baryon_operator_w.h.

Referenced by displaceQuarks(), GroupBaryonQQQ(), and init().

◆ name

std::string Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::name

Definition at line 212 of file group_baryon_operator_w.h.

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

◆ Names

multi1d<std::string> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::Names

Definition at line 253 of file group_baryon_operator_w.h.

◆ NBaryonOps

int Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::NBaryonOps

Definition at line 250 of file group_baryon_operator_w.h.

◆ quark

multi1d<QuarkTerm_t> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::quark

Displacement and spin for each quark

Definition at line 247 of file group_baryon_operator_w.h.

Referenced by displaceQuarks(), init(), and operator()().

◆ spin_rotate_mat

SpinMatrix Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::spin_rotate_mat

Definition at line 260 of file group_baryon_operator_w.h.

Referenced by GroupBaryonQQQ(), init(), and rotateMat().

◆ whichBaryonOps

multi1d<int> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::whichBaryonOps

Definition at line 252 of file group_baryon_operator_w.h.


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