Bridge++  Ver. 2.0.2
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.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
GeneratorSet_Mat_SU_N::class_name
static const std::string class_name
Definition: generatorSet_Mat_SU_N.h:61
GeneratorSet_Mat_SU_N::~GeneratorSet_Mat_SU_N
~GeneratorSet_Mat_SU_N()
Definition: generatorSet_Mat_SU_N.h:56
GeneratorSet_Mat_SU_N::m_vl
Bridge::VerboseLevel m_vl
Definition: generatorSet_Mat_SU_N.h:41
GeneratorSet_Mat_SU_N::GeneratorSet_Mat_SU_N
GeneratorSet_Mat_SU_N()
Definition: generatorSet_Mat_SU_N.h:44
SU_N
Definition: mat_SU_N.h:28
GeneratorSet_Mat_SU_N
Set of SU(N) generators.
Definition: generatorSet_Mat_SU_N.h:36
GeneratorSet_Mat_SU_N::m_Ta
std::vector< Mat_SU_N * > m_Ta
Definition: generatorSet_Mat_SU_N.h:40
GeneratorSet_Mat_SU_N::GeneratorSet_Mat_SU_N
GeneratorSet_Mat_SU_N(int Nc)
Definition: generatorSet_Mat_SU_N.h:51
GeneratorSet_Mat_SU_N::get_generator
Mat_SU_N get_generator(const int ica)
Definition: generatorSet_Mat_SU_N.h:67
CommonParameters::Nc
static int Nc()
Definition: commonParameters.h:115
GeneratorSet_Mat_SU_N::m_NcA
int m_NcA
Definition: generatorSet_Mat_SU_N.h:39
SU_N::Mat_SU_N
Definition: mat_SU_N.h:36
GeneratorSet_Mat_SU_N::m_Nc
int m_Nc
Definition: generatorSet_Mat_SU_N.h:38
mat_SU_N.h
commonParameters.h
communicator.h
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512