#include "../basis_set/basis.h"
#include "../Utility/misc.h"
#include "../Utility/random_generator.h"
#include "../IO/binaryIO.h"
Go to the source code of this file.
Classes | |
struct | InteractionData |
class | Interaction |
Functions | |
void | getMSize (int K, int Kp, int &rows, int &cols) |
void | getZSize (int K, int &rows, int &cols) |
void | setInteractions (LatticeShape &lattice, InteractionData &interactionData) |
void | formMatrixZ (int K, dcomplex Energy, CDMatrix &ZK) |
void | formMatrixM (int K, int Kp, CDMatrix &MKKp) |
void | formMatrixW (int K, dcomplex energy, CDMatrix &WK) |
void | formMatrixAlpha (int K, CDMatrix &AlphaK) |
void | formMatrixBeta (int K, CDMatrix &BetaK) |
Variables | |
Interaction * | pInteraction |
LatticeShape * | pLattice |
void formMatrixAlpha | ( | int | K, | |
CDMatrix & | AlphaK | |||
) |
form the Alpha matrix
void formMatrixBeta | ( | int | K, | |
CDMatrix & | BetaK | |||
) |
form the Beta matrix
void formMatrixM | ( | int | K, | |
int | Kp, | |||
CDMatrix & | MKKp | |||
) |
calculate the matrix M_{K, Kp}
before calling the following subroutines that form matrices, make sure that pInteraction points to a valid Interaction object and "void generateIndexMatrix(LatticeShape& lattice)" has been called such that VtoG, DimsOfV, and IndexMatrix have values
void getMSize | ( | int | K, | |
int | Kp, | |||
int & | rows, | |||
int & | cols | |||
) |
obtain the size of the Matrix M_{K, Kp}
void getZSize | ( | int | K, | |
int & | rows, | |||
int & | cols | |||
) |
obtain the size of the Matrix Z_{K}
void setInteractions | ( | LatticeShape & | lattice, | |
InteractionData & | interactionData | |||
) |