HPhi++
3.1.0
|
Functions for Hubbard Hamiltonian + MPI. More...
#include "Common.hpp"
#include "bitcalc.hpp"
#include "wrapperMPI.hpp"
#include "mltplyCommon.hpp"
#include "mltplyMPIHubbard.hpp"
Go to the source code of this file.
Functions | |
void | GC_child_general_hopp_MPIdouble (long int itrans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_general_hopp_MPIdouble (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard + GC When both site1 and site2 are in the inter process region. More... | |
void | X_child_CisAjt_MPIdouble (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard + MPI When both site1 and site2 are in the inter process region. More... | |
void | GC_child_general_hopp_MPIsingle (long int itrans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard + GC When only site2 is in the inter process region. More... | |
void | X_GC_child_general_hopp_MPIsingle (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard + GC When only site2 is in the inter process region. More... | |
void | child_general_hopp_MPIdouble (long int itrans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When both site1 and site2 are in the inter process region. More... | |
void | X_child_general_hopp_MPIdouble (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When both site1 and site2 are in the inter process region. More... | |
void | child_general_hopp_MPIsingle (long int itrans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region. More... | |
void | X_child_general_hopp_MPIsingle (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region. More... | |
void | X_child_CisAjt_MPIsingle (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region. More... | |
Functions for Hubbard Hamiltonian + MPI.
Definition in file mltplyMPIHubbard.cpp.
void child_general_hopp_MPIdouble | ( | long int | itrans, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When both site1 and site2 are in the inter process region.
[in] | itrans | Transfer ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 236 of file mltplyMPIHubbard.cpp.
References BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDParaGeneralTransfer, and X_child_general_hopp_MPIdouble().
Referenced by mltplyHubbard().
void child_general_hopp_MPIsingle | ( | long int | itrans, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region.
[in] | itrans | Transfer ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 309 of file mltplyMPIHubbard.cpp.
References BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDParaGeneralTransfer, and X_child_general_hopp_MPIsingle().
Referenced by mltplyHubbard().
void GC_child_general_hopp_MPIdouble | ( | long int | itrans, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard + GC When both site1 and site2 are in the inter process region.
[in] | itrans | Transfer ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 30 of file mltplyMPIHubbard.cpp.
References BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDParaGeneralTransfer, and X_GC_child_general_hopp_MPIdouble().
Referenced by mltplyHubbardGC().
void GC_child_general_hopp_MPIsingle | ( | long int | itrans, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard + GC When only site2 is in the inter process region.
[in] | itrans | Transfer ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 147 of file mltplyMPIHubbard.cpp.
References BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDParaGeneralTransfer, and X_GC_child_general_hopp_MPIsingle().
Referenced by mltplyHubbardGC().
void X_child_CisAjt_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard + MPI When both site1 and site2 are in the inter process region.
[in] | org_isite1 | \(i_1\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_ispin1 | \(\sigma_1\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_isite2 | \(i_2\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_ispin2 | \(\sigma_2\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | tmp_trans | Transfer \(t\) |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 92 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, GetOffComp(), CheckList::idim_maxOrg, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_1_org, list_1buf_org, list_2_1, list_2_2, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by GetPairExcitedStateHubbard().
void X_child_CisAjt_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite2 | Site 2 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Hopping integral |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 398 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, GetOffComp(), CheckList::idim_maxOrg, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_1_org, list_1buf_org, list_2_1, list_2_2, myrank, DefineList::Nsite, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by GetPairExcitedStateHubbard().
void X_child_general_hopp_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite2 | Site 2 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Hopping integral |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 252 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, GetOffComp(), CheckList::idim_max, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_1, list_1buf, list_2_1, list_2_2, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by child_general_hopp_MPIdouble(), expec_cisajs_Hubbard(), and GetPairExcitedStateHubbard().
void X_child_general_hopp_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard (Kondo) + Canonical ensemble When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite2 | Site 2 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Hopping integral |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 325 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, GetOffComp(), CheckList::idim_max, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_1, list_1buf, list_2_1, list_2_2, LargeList::mode, myrank, DefineList::Nsite, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by child_general_hopp_MPIsingle(), expec_cisajs_Hubbard(), and GetPairExcitedStateHubbard().
void X_GC_child_general_hopp_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | \(i_1\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_ispin1 | \(\sigma_1\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_isite2 | \(i_2\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | org_ispin2 | \(\sigma_2\) of \(c_{i_1 \sigma_1}^\dagger c_{i_2 \sigma_2}\) |
[in] | tmp_trans | Transfer \(t\) |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 47 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), SgnBit(), DefineList::Tpow, v1buf, and zaxpy_long().
Referenced by expec_cisajs_HubbardGC(), GC_child_general_hopp_MPIdouble(), GetPairExcitedStateHubbardGC(), and X_GC_child_CisAjt_Hubbard_MPI().
void X_GC_child_general_hopp_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Hubbard + GC When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite2 | Site 2 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Hopping integral |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 164 of file mltplyMPIHubbard.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, SendRecv_cv(), SendRecv_i(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by expec_cisajs_HubbardGC(), GC_child_general_hopp_MPIsingle(), GetPairExcitedStateHubbardGC(), and X_GC_child_CisAjt_Hubbard_MPI().