HPhi++
3.1.0
|
Functions for spin Hamiltonian + MPI (Core) More...
#include "Common.hpp"
#include "mltplyCommon.hpp"
#include "mltplySpinCore.hpp"
#include "mltplyMPISpinCore.hpp"
#include "bitcalc.hpp"
#include "wrapperMPI.hpp"
Go to the source code of this file.
Functions | |
void | GC_child_CisAitCiuAiv_spin_MPIdouble (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Exchange and Pairlifting term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAitCiuAiv_spin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
\(c_{is}^\dagger c_{it} c_{iu}^\dagger c_{iv}\) term in Spin model + GC. When both site1 and site2 are in the inter process region. More... | |
void | GC_child_CisAisCjuAjv_spin_MPIdouble (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Wrapper for calculating CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAisCjuAjv_spin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | GC_child_CisAitCjuAju_spin_MPIdouble (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Wrapper for calculating CisAitCjuAju term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAitCjuAju_spin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAisCjuAju_spin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAisCjuAju_spin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
void | GC_child_CisAitCiuAiv_spin_MPIsingle (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Exchange and Pairlifting term in Spin model + GC When only site2 is in the inter process region. More... | |
void | X_GC_child_CisAitCiuAiv_spin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Exchange and Pairlifting term in Spin model + GC When only site2 is in the inter process region. More... | |
void | GC_child_CisAisCjuAjv_spin_MPIsingle (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
void | X_GC_child_CisAisCjuAjv_spin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
void | GC_child_CisAitCjuAju_spin_MPIsingle (long int i_int, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
void | X_GC_child_CisAitCjuAju_spin_MPIsingle (int org_isite1, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
void | X_GC_child_CisAisCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
\(c_{is}^\dagger c_{is} c_{ju}^\dagger c_{jv}\) term in Spin model. When both site1 and site3 are in the inter process region. More... | |
void | X_GC_child_CisAitCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
\(c_{is}^\dagger c_{it} c_{ju}^\dagger c_{ju}\) term in Spin model. When both site1 and site3 are in the inter process region. More... | |
void | X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{it} c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when both site is in the inter process region. More... | |
void | X_GC_child_CisAisCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is} c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when both site is in the inter process region. More... | |
void | X_GC_child_CisAit_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{it}\) term in the grandcanonical general spin system when both site is in the inter process region. More... | |
void | X_GC_child_CisAis_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}\) term in the grandcanonical general spin system when both site is in the inter process region. More... | |
void | X_GC_child_AisCis_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is} c_{is}^\dagger\) term in the grandcanonical general spin system when both site is in the inter process region. More... | |
void | X_child_CisAit_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max) |
Compute \(c_{is}^\dagger c_{it}\) term in the canonical general spin system when both site is in the inter process region. More... | |
void | X_GC_child_CisAisCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when one of these site is in the inter process region. More... | |
void | X_GC_child_CisAitCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when one of these site is in the inter process region. More... | |
void | X_GC_child_CisAitCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when one of these site is in the inter process region. More... | |
void | X_GC_child_CisAisCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when one of these site is in the inter process region. More... | |
void | X_child_CisAitCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{jv}\) term in the canonical general spin system when both sites are in the inter process region. More... | |
void | X_child_CisAisCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the canonical general spin system when both sites are in the inter process region. More... | |
void | X_child_CisAisCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the canonical general spin system when one of these sites is in the inter process region. More... | |
void | X_child_CisAitCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, std::complex< double > tmp_J, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{jv}\) term in the canonical general spin system when one of these sites is in the inter process region. More... | |
void | X_GC_child_CisAit_spin_MPIdouble (int org_isite1, int org_ispin1, 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 Spin + GC When both site1 and site2 are in the inter process region. More... | |
void | X_child_CisAit_spin_MPIdouble (int org_isite1, int org_ispin2, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max) |
Hopping term in Spin + Canonical for CalcSpectrum When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_CisAis_spin_MPIdouble (int org_isite1, int org_ispin1, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region. More... | |
void | X_GC_child_AisCis_spin_MPIdouble (int org_isite1, int org_ispin1, std::complex< double > tmp_trans, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region. More... | |
Functions for spin Hamiltonian + MPI (Core)
General two body term:
Definition in file mltplyMPISpinCore.cpp.
void GC_child_CisAisCjuAjv_spin_MPIdouble | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Wrapper for calculating CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 152 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAisCjuAjv_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAisCjuAjv_spin_MPIsingle | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 434 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAisCjuAjv_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
void GC_child_CisAitCiuAiv_spin_MPIdouble | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Exchange and Pairlifting term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 76 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAitCiuAiv_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAitCiuAiv_spin_MPIsingle | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Exchange and Pairlifting term in Spin model + GC When only site2 is in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 356 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAitCiuAiv_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
void GC_child_CisAitCjuAju_spin_MPIdouble | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Wrapper for calculating CisAitCjuAju term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 214 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAitCjuAju_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAitCjuAju_spin_MPIsingle | ( | long int | i_int, |
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region.
[in] | i_int | Interaction ID |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 509 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, DefineList::ParaInterAll_OffDiagonal, and X_GC_child_CisAitCjuAju_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
void X_child_CisAisCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the canonical general spin system when both sites are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 1154 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::SiteToBit, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGeneral().
void X_child_CisAisCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the canonical general spin system when one of these sites is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 1199 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, list_1, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGeneral().
void X_child_CisAit_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1, | ||
long int | idim_max | ||
) |
Compute \(c_{is}^\dagger c_{it}\) term in the canonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
[in] | idim_max | Similar to CheckList::idim_max |
Definition at line 844 of file mltplyMPISpinCore.cpp.
References ConvertToList1GeneralSpin(), BindStruct::Def, GetOffCompGeneralSpin(), LargeList::ihfbit, BindStruct::Large, list_1_org, list_1buf_org, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), DefineList::SiteToBit, DefineList::Tpow, and v1buf.
Referenced by GetPairExcitedStateGeneralSpin().
void X_child_CisAit_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1, | ||
long int | idim_max | ||
) |
Hopping term in Spin + Canonical for CalcSpectrum When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
[in] | idim_max | Similar to CheckList::idim_max |
Definition at line 1340 of file mltplyMPISpinCore.cpp.
References BindStruct::Def, GetOffComp(), LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, list_1_org, list_1buf_org, list_2_1, list_2_2, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), DefineList::Tpow, and v1buf.
Referenced by GetPairExcitedStateHalfSpin().
void X_child_CisAitCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{jv}\) term in the canonical general spin system when both sites are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 1088 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, ConvertToList1GeneralSpin(), BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, list_1, list_1buf, LargeList::mode, myrank, CheckList::sdim, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), DefineList::SiteToBit, DefineList::Tpow, and v1buf.
Referenced by child_general_int_GeneralSpin_MPIdouble(), and expec_cisajscktalt_SpinGeneral().
void X_child_CisAitCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{jv}\) term in the canonical general spin system when one of these sites is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 1237 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, ConvertToList1GeneralSpin(), BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, list_1, list_1buf, LargeList::mode, myrank, CheckList::sdim, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), DefineList::SiteToBit, DefineList::Tpow, and v1buf.
Referenced by child_general_int_GeneralSpin_MPIsingle(), and expec_cisajscktalt_SpinGeneral().
void X_GC_child_AisCis_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is} c_{is}^\dagger\) term in the grandcanonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 820 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::SiteToBit, DefineList::Tpow, and zaxpy_long().
Referenced by GetPairExcitedStateGeneralSpinGC().
void X_GC_child_AisCis_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 1404 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::Tpow, and zaxpy_long().
void X_GC_child_CisAis_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}\) term in the grandcanonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 796 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::SiteToBit, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajs_SpinGCGeneral(), GetPairExcitedStateGeneralSpinGC(), and X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble().
void X_GC_child_CisAis_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 1385 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajs_SpinGCHalf(), expec_cisajscktalt_SpinGCHalf(), and X_GC_child_CisAitCiuAiv_spin_MPIdouble().
void X_GC_child_CisAisCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is} c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 731 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::SiteToBit, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCGeneral().
void X_GC_child_CisAisCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when one of these site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 1051 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGCGeneral().
void X_GC_child_CisAisCjuAju_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 287 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::Tpow, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf().
void X_GC_child_CisAisCjuAju_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 321 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, DefineList::Tpow, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf().
void X_GC_child_CisAisCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
\(c_{is}^\dagger c_{is} c_{ju}^\dagger c_{jv}\) term in Spin model. When both site1 and site3 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 577 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, v1buf, and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
void X_GC_child_CisAisCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when one of these site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 890 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().
void X_GC_child_CisAisCjuAjv_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 168 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, X_SpinGC_CisAis(), and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAisCjuAjv_spin_MPIdouble().
void X_GC_child_CisAisCjuAjv_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 2 |
[in] | org_isite3 | Site 1 |
[in] | org_ispin3 | Spin 2 |
[in] | org_ispin4 | Spin 2 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 450 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAisCjuAjv_spin_MPIsingle().
void X_GC_child_CisAit_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
std::complex< double > | tmp_trans, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{it}\) term in the grandcanonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 761 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, v1buf, and zaxpy_long().
Referenced by expec_cisajs_SpinGCGeneral(), GetPairExcitedStateGeneralSpinGC(), and mltplyGeneralSpinGC().
void X_GC_child_CisAit_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
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 Spin + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | tmp_trans | Coupling constant |
[in,out] | X | |
[out] | tmp_v0 | Result v0 = H v1 |
[in] | tmp_v1 | v0 = H v1 |
Definition at line 1300 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, and zaxpy_long().
Referenced by expec_cisajs_SpinGCHalf(), and mltplyHalfSpinGC().
void X_GC_child_CisAitCiuAiv_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
\(c_{is}^\dagger c_{it} c_{iu}^\dagger c_{iv}\) term in Spin model + GC. When both site1 and site2 are in the inter process region.
[in] | org_isite1 | site i |
[in] | org_ispin1 | spin s |
[in] | org_ispin2 | spin t |
[in] | org_isite3 | site i? |
[in] | org_ispin3 | spin u |
[in] | org_ispin4 | spin v |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 95 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, X_GC_child_CisAis_spin_MPIdouble(), and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCHalf(), GC_child_CisAitCiuAiv_spin_MPIdouble(), and mltplyHalfSpinGC().
void X_GC_child_CisAitCiuAiv_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Exchange and Pairlifting term in Spin model + GC When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 373 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, and X_SpinGC_CisAit().
Referenced by expec_cisajscktalt_SpinGCHalf(), GC_child_CisAitCiuAiv_spin_MPIsingle(), and mltplyHalfSpinGC().
void X_GC_child_CisAitCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
\(c_{is}^\dagger c_{it} c_{ju}^\dagger c_{ju}\) term in Spin model. When both site1 and site3 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 622 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, v1buf, and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
void X_GC_child_CisAitCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{it}c_{ju}^\dagger c_{ju}\) term in the grandcanonical general spin system when one of these site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 942 of file mltplyMPISpinCore.cpp.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().
void X_GC_child_CisAitCjuAju_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 231 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, X_SpinGC_CisAis(), and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAitCjuAju_spin_MPIdouble().
void X_GC_child_CisAitCjuAju_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | tmp_J | Copupling constatnt |
[in,out] | X | |
[in,out] | tmp_v0 | \({\bf v}_0=H {\bf v}_1\) |
[in] | tmp_v1 | Vector to be producted |
Definition at line 525 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, myrank, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAitCjuAju_spin_MPIsingle().
void X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{it} c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when both site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 669 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, v1buf, X_GC_child_CisAis_GeneralSpin_MPIdouble(), and zaxpy_long().
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
void X_GC_child_CisAitCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
std::complex< double > | tmp_J, | ||
struct BindStruct * | X, | ||
int | nstate, | ||
std::complex< double > ** | tmp_v0, | ||
std::complex< double > ** | tmp_v1 | ||
) |
Compute \(c_{is}^\dagger c_{is}c_{ju}^\dagger c_{jv}\) term in the grandcanonical general spin system when one of these site is in the inter process region.
[in] | org_isite1 | Site 1 |
[in] | org_ispin1 | Spin 1 |
[in] | org_ispin2 | Spin 2 |
[in] | org_isite3 | Site 3 |
[in] | org_ispin3 | Spin 3 |
[in] | org_ispin4 | Spin 4 |
[in] | tmp_J | Coupling constant |
[in,out] | X | |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Input wavefunction |
Definition at line 992 of file mltplyMPISpinCore.cpp.
References BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, SendRecv_cv(), DefineList::SiteToBit, DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().