CHROMA
|
#include <group_baryon_operator_w.h>
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_t > | quark |
int | NBaryonOps |
multi1d< DComplex > | coef |
multi1d< int > | whichBaryonOps |
multi1d< std::string > | Names |
multi1d< GroupBaryonOp * > | baryon |
Params | myparams |
SpinMatrix | spin_rotate_mat |
Create a group theoretical construction baryon
Definition at line 204 of file group_baryon_operator_w.h.
Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::GroupBaryonQQQ | ( | const Params & | p | ) |
Full constructor.
Definition at line 284 of file group_baryon_operator_w.cc.
References Chroma::DiracToDRMat(), Chroma::GroupBaryonOperatorEnv::Params::gaugestuff, Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), myparams, name, Chroma::GroupXML_t::path, Chroma::PropSinkSmear_t::sink, Chroma::GroupBaryonOperatorEnv::Params::sink_smearing, Chroma::PropSourceSmear_t::source, Chroma::GroupBaryonOperatorEnv::Params::source_smearing, spin_rotate_mat, Chroma::GroupBaryonOperatorEnv::Params::gaugestuff_t::u, and Chroma::GroupXML_t::xml.
|
inline |
Definition at line 210 of file group_baryon_operator_w.h.
Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::GroupBaryonQQQ | ( | ) |
void Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::displaceQuarks | ( | multi1d< std::map< int, LatticeFermion > > & | disp_quarks, |
const multi1d< LatticeFermion > & | q, | ||
int * | qindices | ||
) | const |
Construct array of std::maps of displacements.
Definition at line 789 of file group_baryon_operator_w.cc.
References Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::QuarkTerm_t::disp_dir, Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::QuarkTerm_t::disp_len, Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::QuarkTerm_t::displacement, Chroma::displacementSub(), Chroma::END_CODE(), Chroma::GroupBaryonOperatorEnv::Params::gaugestuff, Chroma::i, myparams, q, quark, Chroma::START_CODE(), and Chroma::GroupBaryonOperatorEnv::Params::gaugestuff_t::u.
Referenced by smearDisplaceQuarks().
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.
|
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().
|
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().
|
virtual |
Compute the operator.
Implements Chroma::BaryonOperator< LatticeFermion >.
Definition at line 878 of file group_baryon_operator_w.cc.
References Chroma::d, Chroma::displacement(), Chroma::END_CODE(), quark, smearDisplaceQuarks(), Chroma::START_CODE(), and Chroma::zero.
|
virtual |
Compute the operator.
Implements Chroma::BaryonOperator< LatticeFermion >.
Definition at line 934 of file group_baryon_operator_w.cc.
References Chroma::d, Chroma::displacement(), Chroma::END_CODE(), quark, smearDisplaceQuarks(), and Chroma::START_CODE().
LatticeFermion Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator() | ( | Params::dilution_t | diln | ) | const |
Construct the source.
Definition at line 699 of file group_baryon_operator_w.cc.
References Chroma::c, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::color_mask, j, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::j_decay, mu, n, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::N, name, Nd, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::ran_seed, Chroma::s(), savern(), setrn(), Chroma::GroupBaryonOperatorEnv::Params::dilution_t::spatial_mask, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::spatial_mask_size, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::spin_mask, Chroma::GroupBaryonOperatorEnv::Params::dilution_t::t_source, Chroma::zero, and Chroma::zN_src().
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.
|
inline |
The spin basis matrix to goto Dirac.
Definition at line 286 of file group_baryon_operator_w.h.
References spin_rotate_mat.
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()().
multi1d<GroupBaryonOp*> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::baryon |
Definition at line 254 of file group_baryon_operator_w.h.
multi1d<DComplex> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::coef |
Definition at line 251 of file group_baryon_operator_w.h.
Params Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::myparams |
Definition at line 259 of file group_baryon_operator_w.h.
Referenced by displaceQuarks(), GroupBaryonQQQ(), and init().
std::string Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::name |
Definition at line 212 of file group_baryon_operator_w.h.
Referenced by GroupBaryonQQQ(), and operator()().
multi1d<std::string> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::Names |
Definition at line 253 of file group_baryon_operator_w.h.
int Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::NBaryonOps |
Definition at line 250 of file group_baryon_operator_w.h.
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()().
SpinMatrix Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::spin_rotate_mat |
Definition at line 260 of file group_baryon_operator_w.h.
Referenced by GroupBaryonQQQ(), init(), and rotateMat().
multi1d<int> Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::whichBaryonOps |
Definition at line 252 of file group_baryon_operator_w.h.