v2DM-DOCI
1.0
|
#include <Irreps.h>
Public Member Functions | |
Irreps () | |
Constructor. More... | |
Irreps (const int nGroup) | |
Constructor 2. More... | |
virtual | ~Irreps () |
Destructor. More... | |
bool | setGroup (const int nGroup) |
Set the group. More... | |
bool | getIsActivated () const |
Whether the group number is already activated. More... | |
int | getGroupNumber () const |
Get the group number. More... | |
string | getGroupName () const |
Get the name of the group. More... | |
int | getNumberOfIrreps () const |
Get the number of irreps for the currently activated group. More... | |
string | getIrrepName (const int irrepNumber) const |
Get the name of the irrep with number irrepNumber of the activated group. The irrep with number 0 is always the trivial irrep. More... | |
Static Public Member Functions | |
static string | getGroupName (const int nGroup) |
Get the name of the group corresponding to nGroup. More... | |
static int | directProd (const int Irrep1, const int Irrep2) |
Get the direct product of the irreps with numbers Irrep1 and Irrep2: a bitwise XOR for Psi4's conventions. More... | |
static void | printAll () |
Print all info contained in this class. More... | |
Static Private Member Functions | |
static string | getGroupNamePrivate (const int nGroup) |
static int | getNumberOfIrrepsPrivate (const int nGroup) |
static string | getIrrepNamePrivate (const int nGroup, const int nIrrep) |
Private Attributes | |
bool | isActivated |
int | groupNumber |
int | nIrreps |
Irreps class.
Class containing the irrep conventions and multiplication tables. The program requires Abelian point groups with real character tables, with hence \(I_{\alpha} \otimes I_{\alpha} = I_{trivial}\).
The same conventions as in Psi4 (beta5) are used. For convenience, they are listed below:
Symmetry Conventions | Irrep Number & Name | |||||||
Group Number & Name | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
0: c1 | A | |||||||
1: ci | Ag | Au | ||||||
2: c2 | A | B | ||||||
3: cs | A' | A'' | ||||||
4: d2 | A | B1 | B2 | B3 | ||||
5: c2v | A1 | A2 | B1 | B2 | ||||
6: c2h | Ag | Bg | Au | Bu | ||||
7: d2h | Ag | B1g | B2g | B3g | Au | B1u | B2u | B3u |
CheMPS2::Irreps::Irreps | ( | ) |
Constructor.
Definition at line 30 of file Irreps.cpp.
CheMPS2::Irreps::Irreps | ( | const int | nGroup | ) |
Constructor 2.
nGroup | The group number (0 <= nGroup <= 7; else isActivated remains false) |
Definition at line 36 of file Irreps.cpp.
|
virtual |
Destructor.
Definition at line 48 of file Irreps.cpp.
|
inlinestatic |
Get the direct product of the irreps with numbers Irrep1 and Irrep2: a bitwise XOR for Psi4's conventions.
Irrep1 | The number of the first irrep |
Irrep2 | The number of the second irrep |
Definition at line 117 of file Irreps.h.
string CheMPS2::Irreps::getGroupName | ( | ) | const |
Get the name of the group.
Definition at line 68 of file Irreps.cpp.
|
static |
Get the name of the group corresponding to nGroup.
nGroup | Group number |
Definition at line 74 of file Irreps.cpp.
|
staticprivate |
Definition at line 80 of file Irreps.cpp.
int CheMPS2::Irreps::getGroupNumber | ( | ) | const |
Get the group number.
Definition at line 66 of file Irreps.cpp.
string CheMPS2::Irreps::getIrrepName | ( | const int | irrepNumber | ) | const |
Get the name of the irrep with number irrepNumber of the activated group. The irrep with number 0 is always the trivial irrep.
irrepNumber | The irrep number |
Definition at line 109 of file Irreps.cpp.
|
staticprivate |
Definition at line 119 of file Irreps.cpp.
bool CheMPS2::Irreps::getIsActivated | ( | ) | const |
Whether the group number is already activated.
Definition at line 64 of file Irreps.cpp.
int CheMPS2::Irreps::getNumberOfIrreps | ( | ) | const |
Get the number of irreps for the currently activated group.
Definition at line 94 of file Irreps.cpp.
|
staticprivate |
Definition at line 100 of file Irreps.cpp.
|
static |
Print all info contained in this class.
Definition at line 176 of file Irreps.cpp.
bool CheMPS2::Irreps::setGroup | ( | const int | nGroup | ) |
Set the group.
nGroup | Number from 0 to 7 (7 included) |
Definition at line 50 of file Irreps.cpp.