CHROMA
Classes | Functions | Variables
Chroma::InlineStochGroupBaryonEnv Namespace Reference

Classes

struct  ThreeQuarkOps_t
 3-quark operator structure More...
 
struct  KeySmearedQuark_t
 The key for smeared quarks. More...
 
struct  SmearedQuark_t
 
struct  KeySmearedDispColorVector_t
 The key for smeared and displaced color vectors. More...
 
struct  SmearedDispColorVector_t
 The value of the std::map. More...
 
class  SmearedDispObjects
 The smeared and displaced objects. More...
 
struct  BaryonOperator_t
 Baryon operator. More...
 
struct  Params
 Parameter structure. More...
 
class  InlineMeas
 Inline measurement of stochastic group baryon operators. More...
 

Functions

SpinMatrix rotate_mat (adj(DiracToDRMat()))
 
void read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::Param_t &param)
 
void write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::Param_t &param)
 
void read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t &input)
 
void write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t &input)
 
void read (XMLReader &xml, const std::string &path, InlineStochGroupBaryonEnv::Params::NamedObject_t &input)
 Read named objects. More...
 
void write (XMLWriter &xml, const std::string &path, const InlineStochGroupBaryonEnv::Params::NamedObject_t &input)
 Write named objects. More...
 
bool registerAll ()
 Register all the factories. More...
 
void write (XMLWriter &xml, const std::string &path, const ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t &input)
 Write quark. More...
 
void write (XMLWriter &xml, const std::string &path, const ThreeQuarkOps_t::ThreeQuarkOp_t &input)
 Write three quark op. More...
 
bool operator< (const KeySmearedQuark_t &a, const KeySmearedQuark_t &b)
 Support for the keys of smeared quarks. More...
 
bool operator< (const KeySmearedDispColorVector_t &a, const KeySmearedDispColorVector_t &b)
 Support for the keys of smeared and displaced color vectors. More...
 
void makeDiquark (multi1d< LatticeComplex > &diquark, const multi1d< LatticeComplex > &q0, const multi1d< LatticeComplex > &q1, const Subset &subset)
 
void makeColorSinglet (LatticeComplex &singlet, const multi1d< LatticeComplex > &diquark, const multi1d< LatticeComplex > &q2, const Subset &subset)
 
void write (XMLWriter &xml, const std::string &path, const BaryonOperator_t &param)
 BaryonOperator header writer. More...
 
void write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t &param)
 BaryonOperator binary writer. More...
 
void write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t &param)
 BaryonOperator binary writer. More...
 
void write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t::Orderings_t &param)
 BaryonOperator binary writer. More...
 
void write (BinaryWriter &bin, const BaryonOperator_t::TimeSlices_t &param)
 BaryonOperator binary writer. More...
 
void write (BinaryWriter &bin, const BaryonOperator_t &param)
 BaryonOperator binary writer. More...
 
void readOps (ThreeQuarkOps_t &oplist, const std::string &ops_file)
 Read 3-quark operators file, assign correct displacement length. More...
 

Variables

const int N_quarks = 3
 Number of quarks to be used in this construction. More...
 
const std::string name = "STOCH_GROUP_BARYON"
 

Function Documentation

◆ makeColorSinglet()

void Chroma::InlineStochGroupBaryonEnv::makeColorSinglet ( LatticeComplex &  singlet,
const multi1d< LatticeComplex > &  diquark,
const multi1d< LatticeComplex > &  q2,
const Subset &  subset 
)

◆ makeDiquark()

void Chroma::InlineStochGroupBaryonEnv::makeDiquark ( multi1d< LatticeComplex > &  diquark,
const multi1d< LatticeComplex > &  q0,
const multi1d< LatticeComplex > &  q1,
const Subset &  subset 
)

◆ operator<() [1/2]

bool Chroma::InlineStochGroupBaryonEnv::operator< ( const KeySmearedDispColorVector_t a,
const KeySmearedDispColorVector_t b 
)

Support for the keys of smeared and displaced color vectors.

Definition at line 350 of file inline_stoch_group_baryon_w.cc.

References Chroma::a, and Chroma::b.

◆ operator<() [2/2]

bool Chroma::InlineStochGroupBaryonEnv::operator< ( const KeySmearedQuark_t a,
const KeySmearedQuark_t b 
)

Support for the keys of smeared quarks.

Definition at line 318 of file inline_stoch_group_baryon_w.cc.

References Chroma::a, and Chroma::b.

◆ read() [1/3]

void Chroma::InlineStochGroupBaryonEnv::read ( XMLReader &  xml,
const std::string &  path,
InlineStochGroupBaryonEnv::Params::NamedObject_t input 
)

◆ read() [2/3]

void Chroma::InlineStochGroupBaryonEnv::read ( XMLReader &  xml,
const std::string &  path,
InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t input 
)

◆ read() [3/3]

void Chroma::InlineStochGroupBaryonEnv::read ( XMLReader &  xml,
const std::string &  path,
InlineStochGroupBaryonEnv::Params::Param_t param 
)

◆ readOps()

void Chroma::InlineStochGroupBaryonEnv::readOps ( ThreeQuarkOps_t oplist,
const std::string &  ops_file 
)

◆ registerAll()

bool Chroma::InlineStochGroupBaryonEnv::registerAll ( )

◆ rotate_mat()

SpinMatrix Chroma::InlineStochGroupBaryonEnv::rotate_mat ( adj(DiracToDRMat())  )

◆ write() [1/11]

void Chroma::InlineStochGroupBaryonEnv::write ( BinaryWriter &  bin,
const BaryonOperator_t param 
)

◆ write() [2/11]

void Chroma::InlineStochGroupBaryonEnv::write ( BinaryWriter &  bin,
const BaryonOperator_t::TimeSlices_t param 
)

◆ write() [3/11]

void Chroma::InlineStochGroupBaryonEnv::write ( BinaryWriter &  bin,
const BaryonOperator_t::TimeSlices_t::Orderings_t param 
)

◆ write() [4/11]

void Chroma::InlineStochGroupBaryonEnv::write ( BinaryWriter &  bin,
const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t param 
)

◆ write() [5/11]

void Chroma::InlineStochGroupBaryonEnv::write ( BinaryWriter &  bin,
const BaryonOperator_t::TimeSlices_t::Orderings_t::Dilutions_t::Mom_t param 
)

◆ write() [6/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const BaryonOperator_t param 
)

◆ write() [7/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const InlineStochGroupBaryonEnv::Params::NamedObject_t input 
)

◆ write() [8/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const InlineStochGroupBaryonEnv::Params::NamedObject_t::ThreeQuarkOpsFile_t input 
)

◆ write() [9/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const InlineStochGroupBaryonEnv::Params::Param_t param 
)

◆ write() [10/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const ThreeQuarkOps_t::ThreeQuarkOp_t input 
)

◆ write() [11/11]

void Chroma::InlineStochGroupBaryonEnv::write ( XMLWriter &  xml,
const std::string &  path,
const ThreeQuarkOps_t::ThreeQuarkOp_t::QuarkInfo_t input 
)

Variable Documentation

◆ N_quarks

const int Chroma::InlineStochGroupBaryonEnv::N_quarks = 3

◆ name

const std::string Chroma::InlineStochGroupBaryonEnv::name = "STOCH_GROUP_BARYON"