Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
generatorSet_Mat_SU_N.h
Go to the documentation of this file.
1 
14 #ifndef GENERATORSET_MAT_SU_N_INCLUDED
15 #define GENERATORSET_MAT_SU_N_INCLUDED
16 
17 #include <cassert>
18 
21 
22 #include "mat_SU_N.h"
23 using namespace SU_N;
24 
25 #include "IO/bridgeIO.h"
26 using Bridge::vout;
27 
29 
37 {
38  int m_Nc;
39  int m_NcA;
40  std::vector<Mat_SU_N *> m_Ta;
42 
43  public:
45  {
46  int Nc = CommonParameters::Nc();
47 
48  setup(Nc);
49  }
50 
51  GeneratorSet_Mat_SU_N(int Nc) : m_vl(CommonParameters::Vlevel())
52  {
53  setup(Nc);
54  }
55 
57  {
58  tidyup();
59  }
60 
61  static const std::string class_name;
62 
63  void setup(const int Nc);
64 
65  void tidyup();
66 
67  Mat_SU_N get_generator(const int ica)
68  {
69  assert(ica < m_NcA);
70  return *m_Ta[ica];
71  }
72 
73  void print();
74 };
75 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
Bridge::VerboseLevel m_vl
std::vector< Mat_SU_N * > m_Ta
Set of SU(N) generators.
Common parameter class: provides parameters as singleton.
Mat_SU_N get_generator(const int ica)
static const std::string class_name
VerboseLevel
Definition: bridgeIO.h:42