HΦ
3.2.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 BindStruct::Check, BindStruct::Def, diagonalcalcForTE(), FALSE, GetSplitBitByModel(), GetSplitBitForGeneralSpin(), LargeList::i_max, DefineList::iCalcModel, DefineList::iCalcType, CheckList::idim_max, DefineList::iFlgGeneralSpin, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_Diagonal, mltplyHubbard(), mltplyHubbardGC(), mltplySpin(), mltplySpinGC(), LargeList::mode, DefineList::Nsite, LargeList::prdct, DefineList::SiteToBit, StartTimer(), step_i, StopTimer(), and SumMPI_dc().
Referenced by CalcSpectrumByBiCG(), CG_EigenVector(), expec_energy_flct(), Lanczos_EigenValue(), Lanczos_EigenVector(), Lanczos_GetTridiagonalMatrixComponents(), LOBPCG_Main(), MultiplyForTEM(), and PowerLanczos().