HPhi++
3.1.0
|
File for calculation of one body green's function. More...
#include "mltply.hpp"
#include "FileIO.hpp"
#include "bitcalc.hpp"
#include "wrapperMPI.hpp"
#include "mltplyHubbard.hpp"
#include "mltplyHubbardCore.hpp"
#include "mltplySpinCore.hpp"
#include "mltplyMPIHubbard.hpp"
#include "mltplyMPISpinCore.hpp"
#include "common/setmemory.hpp"
#include "mltplyCommon.hpp"
Go to the source code of this file.
Functions | |
int | expec_cisajs_HubbardGC (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for Hubbard GC model. More... | |
int | expec_cisajs_Hubbard (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for Hubbard model. More... | |
int | expec_cisajs_SpinHalf (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for Half-Spin model. More... | |
int | expec_cisajs_SpinGeneral (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for General-Spin model. More... | |
int | expec_cisajs_SpinGCHalf (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for Half-SpinGC model. More... | |
int | expec_cisajs_SpinGCGeneral (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for General SpinGC model. More... | |
int | expec_cisajs_Spin (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for Spin model. More... | |
int | expec_cisajs_SpinGC (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec, std::complex< double > **prod) |
function of calculation for one body green's function for SpinGC model. More... | |
int | expec_cisajs (struct BindStruct *X, int nstate, std::complex< double > **Xvec, std::complex< double > **vec) |
function of calculation for one body green's function More... | |
File for calculation of one body green's function.
Definition in file expec_cisajs.cpp.
int expec_cisajs | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec | ||
) |
function of calculation for one body green's function
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvectors. |
add calculation one body green's functions for general spin
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 544 of file expec_cisajs.cpp.
References DefineList::CDataFileHead, BindStruct::Check, childfopenMPI(), DefineList::CisAjt, BindStruct::Def, expec_cisajs_Hubbard(), expec_cisajs_HubbardGC(), expec_cisajs_Spin(), expec_cisajs_SpinGC(), GetSplitBitByModel(), LargeList::i_max, DefineList::iCalcModel, DefineList::iCalcType, CheckList::idim_max, LargeList::ihfbit, LargeList::ilft, LargeList::irght, DefineList::istep, BindStruct::Large, LargeList::mode, DefineList::NCisAjt, DefineList::Nsite, DefineList::St, stdoutMPI, TimeKeeper(), TimeKeeperWithRandAndStep(), and TimeKeeperWithStep().
Referenced by CalcByTEM(), CalcByTPQ(), and phys().
int expec_cisajs_Hubbard | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for Hubbard model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 125 of file expec_cisajs.cpp.
References BindStruct::Check, child_general_hopp(), child_general_hopp_GetInfo(), DefineList::CisAjt, BindStruct::Def, DefineList::iCalcModel, CheckList::idim_max, DefineList::iFlgSzConserved, list_1, DefineList::LocSpn, MultiVecProdMPI(), myrank, DefineList::NCisAjt, DefineList::Nsite, DefineList::Tpow, X_child_general_hopp_MPIdouble(), X_child_general_hopp_MPIsingle(), zaxpy_long(), and zclear().
Referenced by expec_cisajs().
int expec_cisajs_HubbardGC | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for Hubbard GC model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 49 of file expec_cisajs.cpp.
References BindStruct::Check, child_general_hopp_GetInfo(), DefineList::CisAjt, BindStruct::Def, GC_child_general_hopp(), CheckList::idim_max, MultiVecProdMPI(), myrank, DefineList::NCisAjt, DefineList::Nsite, DefineList::Tpow, X_GC_child_general_hopp_MPIdouble(), X_GC_child_general_hopp_MPIsingle(), zaxpy_long(), and zclear().
Referenced by expec_cisajs().
int expec_cisajs_Spin | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for Spin model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 487 of file expec_cisajs.cpp.
References BindStruct::Def, expec_cisajs_SpinGeneral(), expec_cisajs_SpinHalf(), and DefineList::iFlgGeneralSpin.
Referenced by expec_cisajs().
int expec_cisajs_SpinGC | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for SpinGC model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 513 of file expec_cisajs.cpp.
References BindStruct::Def, expec_cisajs_SpinGCGeneral(), expec_cisajs_SpinGCHalf(), and DefineList::iFlgGeneralSpin.
Referenced by expec_cisajs().
int expec_cisajs_SpinGCGeneral | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for General SpinGC model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 413 of file expec_cisajs.cpp.
References BitCheckGeneral(), BindStruct::Check, DefineList::CisAjt, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, MultiVecProdMPI(), DefineList::NCisAjt, DefineList::Nsite, DefineList::SiteToBit, DefineList::Tpow, X_GC_child_CisAis_GeneralSpin_MPIdouble(), X_GC_child_CisAit_GeneralSpin_MPIdouble(), and zclear().
Referenced by expec_cisajs_SpinGC().
int expec_cisajs_SpinGCHalf | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for Half-SpinGC model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 341 of file expec_cisajs.cpp.
References BindStruct::Check, DefineList::CisAjt, BindStruct::Def, CheckList::idim_max, MultiVecProdMPI(), DefineList::NCisAjt, DefineList::Nsite, DefineList::Tpow, X_GC_child_CisAis_spin_MPIdouble(), X_GC_child_CisAit_spin_MPIdouble(), X_SpinGC_CisAis(), X_SpinGC_CisAit(), and zclear().
Referenced by expec_cisajs_SpinGC().
int expec_cisajs_SpinGeneral | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for General-Spin model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 284 of file expec_cisajs.cpp.
References BitCheckGeneral(), BindStruct::Check, DefineList::CisAjt, BindStruct::Def, CheckList::idim_max, list_1, MultiVecProdMPI(), myrank, DefineList::NCisAjt, DefineList::Nsite, DefineList::SiteToBit, DefineList::Tpow, zaxpy_long(), and zclear().
Referenced by expec_cisajs_Spin().
int expec_cisajs_SpinHalf | ( | struct BindStruct * | X, |
int | nstate, | ||
std::complex< double > ** | Xvec, | ||
std::complex< double > ** | vec, | ||
std::complex< double > ** | prod | ||
) |
function of calculation for one body green's function for Half-Spin model.
X | [in] list for getting information to calculate one body green's function. |
vec | [in] eigenvector |
_fp | [in] pointer to output file |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 226 of file expec_cisajs.cpp.
References BindStruct::Check, DefineList::CisAjt, BindStruct::Def, CheckList::idim_max, MultiVecProdMPI(), myrank, DefineList::NCisAjt, DefineList::Nsite, DefineList::Tpow, X_Spin_CisAis(), X_SpinGC_CisAis(), zaxpy_long(), and zclear().
Referenced by expec_cisajs_Spin().