#include <DMRGSCFmatrix.h>
DMRGSCFmatrix class.
- Author
- Sebastian Wouters sebas.nosp@m.tian.nosp@m.woute.nosp@m.rs@g.nosp@m.mail..nosp@m.com
- Date
- January 26, 2015
Container class for DMRGSCF matrices which are blockdiagonal in the irreps.
Definition at line 32 of file DMRGSCFmatrix.h.
CheMPS2::DMRGSCFmatrix::DMRGSCFmatrix |
( |
const DMRGSCFindices * |
iHandler | ) |
|
Constructor.
- Parameters
-
iHandler | The DMRGSCFindices which contain information on the occupied, active, and virtual spaces |
Definition at line 30 of file DMRGSCFmatrix.cpp.
double CheMPS2::DMRGSCFmatrix::get |
( |
const int |
irrep, |
|
|
const int |
p, |
|
|
const int |
q |
|
) |
| const |
Get an element.
- Parameters
-
irrep | The irrep number of the indices |
p | The first index (within the symmetry block) |
q | The second index (within the symmetry block) |
- Returns
- The requested matrix element
Definition at line 81 of file DMRGSCFmatrix.cpp.
double * CheMPS2::DMRGSCFmatrix::getBlock |
( |
const int |
irrep | ) |
|
Get a matrix block.
- Parameters
-
irrep | The irrep number of the matrix block |
- Returns
- Pointer to the requested block
Definition at line 87 of file DMRGSCFmatrix.cpp.
void CheMPS2::DMRGSCFmatrix::read |
( |
const string |
filename, |
|
|
const int |
n_irreps, |
|
|
double ** |
storage |
|
) |
| |
|
static |
double CheMPS2::DMRGSCFmatrix::rms_deviation |
( |
const DMRGSCFmatrix * |
other | ) |
const |
void CheMPS2::DMRGSCFmatrix::set |
( |
const int |
irrep, |
|
|
const int |
p, |
|
|
const int |
q, |
|
|
const double |
val |
|
) |
| |
Set an element.
- Parameters
-
irrep | The irrep number of the indices |
p | The first index (within the symmetry block) |
q | The second index (within the symmetry block) |
val | The value to which the element of the matrix should be set |
Definition at line 52 of file DMRGSCFmatrix.cpp.
void CheMPS2::DMRGSCFmatrix::write |
( |
const string |
filename, |
|
|
const DMRGSCFindices * |
idx, |
|
|
double ** |
storage |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: