16 #include "CalcByFullDiag.h" 18 #include "wrapperMPI.h" 43 if(iret != 0)
return FALSE;
52 if(iret != 0)
return FALSE;
61 if(iret != 0)
return FALSE;
74 if(iret != 0)
return FALSE;
struct DefineList Def
Definision of system (Hamiltonian) etc.
int St
0 or 1, but it affects nothing.
void StartTimer(int n)
function for initializing elapse time [start]
const char * cLogFullDiag_Start
unsigned long int idim_max
The dimension of the Hilbert space of this process.
int output(struct BindStruct *X)
output function for FullDiag mode
void StopTimer(int n)
function for calculating elapse time [elapse time=StartTimer-StopTimer]
const char * cLogFullDiag_ExpecValue_Start
int lapack_diag(struct BindStruct *X)
performing full diagonalization using lapack
void phys(struct BindStruct *X, unsigned long int neig)
A main function to calculate physical quantities by full diagonalization method.
const char * cLogFullDiag_SetHam_Start
const char * cLogFullDiag_SetHam_End
int makeHam(struct BindStruct *X)
Making Hamiltonian for the full diagonalization method. The Hamiltonian is stored in the two dimensio...
const char * cLogFullDiag_End
const char * cLogFullDiag_ExpecValue_End
int CalcByFullDiag(struct EDMainCalStruct *X)
Parent function for FullDiag mode.
const char * cLogFullDiag_InputHam_Start
const char * cLogFullDiag_OutputHam_End
int outputHam(struct BindStruct *X)
output Hamiltonian only used for FullDiag mode
const char * cLogFullDiag_OutputHam_Start
struct CheckList Check
Size of the Hilbert space.
const char * cLogFullDiag_InputHam_End
struct BindStruct Bind
Binded struct.
FILE * stdoutMPI
File pointer to the standard output defined in InitializeMPI()