DOCI-Exact  1.0
OptIndex.h
Go to the documentation of this file.
1 #ifndef OPTINDEX_H
2 #define OPTINDEX_H
3 
4 #include <vector>
5 
6 namespace CheMPS2 { class Hamiltonian; }
7 
8 namespace simanneal
9 {
10 
11 class OptIndex
12 {
13  public:
14  OptIndex(const int L, const int Group, const int * NORBin);
16  int getL() const;
17  int getNirreps() const;
18  int getNORB(const int irrep) const;
19  int getNstart(const int irrep) const;
20  int * get_irrep_each_orbital();
21  void Print() const;
22  private:
23  int Nirreps;
24  int L;
25  std::vector<int> NORB;
26  std::vector<int> NORBcumulative;
27  std::vector<int> irrep_each_orbital;
28 };
29 
30 }
31 
32 #endif /* OPTINDEX_H */
int getL() const
Definition: OptIndex.cpp:69
OptIndex(const int L, const int Group, const int *NORBin)
Definition: OptIndex.cpp:9
int * get_irrep_each_orbital()
Definition: OptIndex.cpp:77
int getNORB(const int irrep) const
Definition: OptIndex.cpp:73
int getNstart(const int irrep) const
Definition: OptIndex.cpp:75
void Print() const
Definition: OptIndex.cpp:79
int getNirreps() const
Definition: OptIndex.cpp:71