| HΦ
    3.1.0
    | 
Multiplying the wavefunction by the Hamiltonian. \( H v_1\). More...
#include <bitcalc.h>#include "mltply.h"#include "mltplySpin.h"#include "mltplyHubbard.h"#include "wrapperMPI.h"#include "CalcTime.h"#include "mltplyCommon.h"#include "diagonalcalc.h"Go to the source code of this file.
| Functions | |
| int | mltply (struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) | 
| Parent function of multiplying the wavefunction by the Hamiltonian. \( H v_1\). First, the calculation of diagonal term is done by using the list \( \verb|list_diaognal| \). Next, the calculation of off-diagonal term is done. . More... | |
Multiplying the wavefunction by the Hamiltonian. \( H v_1\).
add function to treat the case of generalspin
Definition in file mltply.c.
| int mltply | ( | struct BindStruct * | X, | 
| double complex * | tmp_v0, | ||
| double complex * | tmp_v1 | ||
| ) | 
Parent function of multiplying the wavefunction by the Hamiltonian. \( H v_1\).
First, the calculation of diagonal term is done by using the list \( \verb|list_diaognal| \). 
Next, the calculation of off-diagonal term is done.
. 
| X | [in] Struct for getting the information of the operators. | 
| tmp_v0 | [in, out] | 
| tmp_v1 | [in] | 
Definition at line 56 of file mltply.c.
References diagonalcalcForTE(), FALSE, GetSplitBitByModel(), GetSplitBitForGeneralSpin(), list_Diagonal, mltplyHubbard(), mltplyHubbardGC(), mltplySpin(), mltplySpinGC(), StartTimer(), step_i, StopTimer(), SumMPI_dc(), and X.
Referenced by CalcSpectrumByBiCG(), CG_EigenVector(), expec_energy_flct(), Lanczos_EigenValue(), Lanczos_EigenVector(), Lanczos_GetTridiagonalMatrixComponents(), LOBPCG_Main(), MultiplyForTEM(), and PowerLanczos().