|
HΦ
3.2.0
|
Get the spectrum function by continued fraction expansions.
Ref. E.Dagotto, Rev. Mod. Phys. 66 (1994), 763.
More...
#include "CalcSpectrumByLanczos.h"#include "Lanczos_EigenValue.h"#include "FileIO.h"#include "wrapperMPI.h"#include "common/setmemory.h"#include "CalcTime.h"
Include dependency graph for CalcSpectrumByLanczos.c:Go to the source code of this file.
Functions | |
| int | CalcSpectrumByLanczos (struct EDMainCalStruct *X, double complex *tmp_v1, double dnorm, int Nomega, double complex *dcSpectrum, double complex *dcomega) |
| A main function to calculate spectrum by continued fraction expansions. More... | |
| int | GetSpectrumByTridiagonalMatrixComponents (double *tmp_alpha, double *tmp_beta, double dnorm, double complex dcomega, double complex *dcSpectrum, unsigned long int ilLanczosStp) |
| Calculate the spectrum by using tridiagonal matrix components obtained by the Lanczos_GetTridiagonalMatrixComponents function. More... | |
Get the spectrum function by continued fraction expansions.
Ref. E.Dagotto, Rev. Mod. Phys. 66 (1994), 763.
Definition in file CalcSpectrumByLanczos.c.
| int CalcSpectrumByLanczos | ( | struct EDMainCalStruct * | X, |
| double complex * | tmp_v1, | ||
| double | dnorm, | ||
| int | Nomega, | ||
| double complex * | dcSpectrum, | ||
| double complex * | dcomega | ||
| ) |
A main function to calculate spectrum by continued fraction expansions.
| X | [in,out] Struct for getting and giving calculation information |
| tmp_v1 | [in] Normalized excited state. |
| dnorm | [in] Norm of the excited state before normalization. |
| Nomega | [in] Total number of frequencies. |
| dcSpectrum | [out] Calculated spectrum. |
| dcomega | [in] Target frequencies. |
| 0 | normally finished |
| -1 | unnormally finished |
Definition at line 43 of file CalcSpectrumByLanczos.c.
Referenced by CalcSpectrum().
Here is the caller graph for this function:| int GetSpectrumByTridiagonalMatrixComponents | ( | double * | tmp_alpha, |
| double * | tmp_beta, | ||
| double | dnorm, | ||
| double complex | dcomega, | ||
| double complex * | dcSpectrum, | ||
| unsigned long int | ilLanczosStp | ||
| ) |
Calculate the spectrum by using tridiagonal matrix components obtained by the Lanczos_GetTridiagonalMatrixComponents function.
| tmp_alpha | [in] Tridiagonal matrix components. |
| tmp_beta | [in] Tridiagonal matrix components. |
| dnorm | [in] Norm for the excited state. |
| dcomega | [in] Target frequency. |
| dcSpectrum | [out] Spectrum at dcomega. |
| ilLanczosStp | [in] Lanczos step required to get tridiagonal matrix components. |
| FALSE | Fail to get the spectrum |
| TRUE | Success to get the spectrum |
Definition at line 169 of file CalcSpectrumByLanczos.c.
References eps, eps_Energy, FALSE, stdoutMPI, and TRUE.