#include <TwoIndex.h>
TwoIndex class.
- Author
- Sebastian Wouters sebas.nosp@m.tian.nosp@m.woute.nosp@m.rs@g.nosp@m.mail..nosp@m.com
- Date
- February 8, 2013
Container class for symmetric two-index tensors with Abelian point group symmetry (real character table; see Irreps.h): 1DMs and 1-particle matrix elements.
Definition at line 32 of file TwoIndex.h.
CheMPS2::TwoIndex::TwoIndex |
( |
const int |
nGroup, |
|
|
const int * |
IrrepSizes |
|
) |
| |
Constructor.
- Parameters
-
nGroup | The symmetry group number (see Irreps.h) |
IrrepSizes | Array with length the number of irreps of the specified group, containing the number of orbitals of that irrep |
Definition at line 32 of file TwoIndex.cpp.
CheMPS2::TwoIndex::TwoIndex |
( |
const TwoIndex & |
orig | ) |
|
CheMPS2::TwoIndex::~TwoIndex |
( |
| ) |
|
|
virtual |
double CheMPS2::TwoIndex::get |
( |
const int |
irrep, |
|
|
const int |
i, |
|
|
const int |
j |
|
) |
| const |
Get an element.
- Parameters
-
irrep | The irrep number (see Irreps.h) |
i | The first index (within the symmetry block) |
j | The second index (within the symmetry block) |
- Returns
- The value of the matrix element
Definition at line 79 of file TwoIndex.cpp.
void CheMPS2::TwoIndex::read |
( |
const std::string |
name | ) |
|
void CheMPS2::TwoIndex::read2 |
( |
const std::string |
name | ) |
|
void CheMPS2::TwoIndex::reset |
( |
| ) |
|
void CheMPS2::TwoIndex::save |
( |
const std::string |
name | ) |
const |
void CheMPS2::TwoIndex::save2 |
( |
const std::string |
name | ) |
const |
void CheMPS2::TwoIndex::set |
( |
const int |
irrep, |
|
|
const int |
i, |
|
|
const int |
j, |
|
|
const double |
val |
|
) |
| |
Set an element.
- Parameters
-
irrep | The irrep number (see Irreps.h) |
i | The first index (within the symmetry block) |
j | The second index (within the symmetry block) |
val | The value to which the element of the matrix should be set |
Definition at line 72 of file TwoIndex.cpp.
int* CheMPS2::TwoIndex::Isizes |
|
private |
double** CheMPS2::TwoIndex::storage |
|
private |
Irreps CheMPS2::TwoIndex::SymmInfo |
|
private |
The documentation for this class was generated from the following files: