|
HPhi++
3.1.0
|
Functions for Hubbar + MPI (Core) More...
#include "Common.hpp"#include "mltplyCommon.hpp"#include "mltplyHubbardCore.hpp"#include "mltplyMPIHubbard.hpp"#include "mltplyMPIHubbardCore.hpp"#include "bitcalc.hpp"#include "wrapperMPI.hpp"Go to the source code of this file.
Functions | |
| int | CheckPE (int org_isite, struct BindStruct *X) |
| Check whether this site is in the inter process region or not. More... | |
| int | CheckBit_Cis (long int is1_spin, long int orgbit, long int *offbit) |
| Check the occupation of \((i,s)\) state, and compute the index of final wavefunction associated to \(c^\dagger_{is}\). More... | |
| int | CheckBit_Ajt (long int is1_spin, long int orgbit, long int *offbit) |
| Check the occupation of \((i,s)\) state, and compute the index of final wavefunction associated to \(c_{jt}\). More... | |
| int | CheckBit_InterAllPE (int org_isite1, int org_isigma1, int org_isite2, int org_isigma2, int org_isite3, int org_isigma3, int org_isite4, int org_isigma4, struct BindStruct *X, long int orgbit, long int *offbit) |
| Compute the index of final wavefunction associated to \(c_{4}^\dagger c_{3}c_{2}^\dagger c_{1}\), and check whether this operator is relevant or not. More... | |
| int | CheckBit_PairPE (int org_isite1, int org_isigma1, int org_isite3, int org_isigma3, struct BindStruct *X, long int orgbit) |
| Check the occupation of both site 1 and site 3. More... | |
| int | GetSgnInterAll (long int isite1, long int isite2, long int isite3, long int isite4, int *Fsgn, struct BindStruct *X, long int orgbit, long int *offbit) |
| Compute the index of final wavefunction associated to \(c_{4}^\dagger c_{3}c_{2}^\dagger c_{1}\), and Fermion sign. More... | |
| void | X_GC_child_CisAisCjtAjt_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of grandcanonical Hubbard system. More... | |
| void | X_GC_child_CisAjtCkuAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
| void | X_GC_child_CisAisCjtAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
| void | X_GC_child_CisAjtCkuAlv_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of grandcanonical Hubbard system. More... | |
| void | X_GC_child_CisAis_Hubbard_MPI (int org_isite1, int org_ispin1, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{is}\) term of grandcanonical Hubbard system. More... | |
| void | X_GC_child_CisAjt_Hubbard_MPI (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) |
| Compute \(c_{is}^\dagger c_{jt}\) term of grandcanonical Hubbard system. More... | |
| void | X_child_CisAisCjtAjt_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of canonical Hubbard system. More... | |
| void | X_child_CisAjtCkuAlv_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of canonical Hubbard system. More... | |
| void | X_child_CisAjtCkuAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
| void | X_child_CisAisCjtAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
| void | X_child_CisAis_Hubbard_MPI (int org_isite1, int org_ispin1, std::complex< double > tmp_V, struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| void | X_GC_Cis_MPI (int org_isite, int org_ispin, std::complex< double > tmp_trans, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max, long int *Tpow) |
| Single creation/annihilation operator in the inter process region for HubbardGC. More... | |
| void | X_GC_Ajt_MPI (int org_isite, int org_ispin, std::complex< double > tmp_trans, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max, long int *Tpow) |
| Single creation/annihilation operator in the inter process region for HubbardGC. More... | |
| void | X_Cis_MPI (int org_isite, int org_ispin, std::complex< double > tmp_trans, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max, long int *Tpow, long int _irght, long int _ilft, long int _ihfbit) |
| Compute \(c_{is}^\dagger\) term of canonical Hubbard system. More... | |
| void | X_Ajt_MPI (int org_isite, int org_ispin, std::complex< double > tmp_trans, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1, long int idim_max, long int *Tpow, long int _irght, long int _ilft, long int _ihfbit) |
| Compute \(c_{jt}\) term of canonical Hubbard system. More... | |
Functions for Hubbar + MPI (Core)
Definition in file mltplyMPIHubbardCore.cpp.
| int CheckBit_Ajt | ( | long int | is1_spin, |
| long int | orgbit, | ||
| long int * | offbit | ||
| ) |
Check the occupation of \((i,s)\) state, and compute the index of final wavefunction associated to \(c_{jt}\).
| [in] | is1_spin | Index of site+spin |
| [in] | orgbit | Index of initial wavefunction |
| [out] | offbit | Index of final wavefunction |
Definition at line 67 of file mltplyMPIHubbardCore.cpp.
Referenced by CheckBit_InterAllPE(), CheckBit_PairPE(), X_child_CisAis_Hubbard_MPI(), X_child_CisAisCjtAjt_Hubbard_MPI(), X_child_CisAjtCkuAku_Hubbard_MPI(), X_GC_child_CisAis_Hubbard_MPI(), X_GC_child_CisAisCjtAjt_Hubbard_MPI(), and X_GC_child_CisAjtCkuAku_Hubbard_MPI().
| int CheckBit_Cis | ( | long int | is1_spin, |
| long int | orgbit, | ||
| long int * | offbit | ||
| ) |
Check the occupation of \((i,s)\) state, and compute the index of final wavefunction associated to \(c^\dagger_{is}\).
| [in] | is1_spin | Index of site+spin |
| [in] | orgbit | Index of initial wavefunction |
| [out] | offbit | Index of final wavefunction |
Definition at line 47 of file mltplyMPIHubbardCore.cpp.
Referenced by CheckBit_InterAllPE().
| int CheckBit_InterAllPE | ( | int | org_isite1, |
| int | org_isigma1, | ||
| int | org_isite2, | ||
| int | org_isigma2, | ||
| int | org_isite3, | ||
| int | org_isigma3, | ||
| int | org_isite4, | ||
| int | org_isigma4, | ||
| struct BindStruct * | X, | ||
| long int | orgbit, | ||
| long int * | offbit | ||
| ) |
Compute the index of final wavefunction associated to \(c_{4}^\dagger c_{3}c_{2}^\dagger c_{1}\), and check whether this operator is relevant or not.
| [in] | org_isite1 | Site 1 |
| [in] | org_isigma1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_isigma2 | Spin 2 |
| [in] | org_isite3 | Site 3 |
| [in] | org_isigma3 | Spin 3 |
| [in] | org_isite4 | Site 4 |
| [in] | org_isigma4 | Spin 4 |
| [in,out] | X | |
| [in] | orgbit | Index of initial wavefunction |
| [out] | offbit | Index of final wavefunction |
Definition at line 87 of file mltplyMPIHubbardCore.cpp.
References CheckBit_Ajt(), CheckBit_Cis(), CheckPE(), BindStruct::Def, and DefineList::Tpow.
Referenced by X_child_CisAjtCkuAku_Hubbard_MPI(), X_child_CisAjtCkuAlv_Hubbard_MPI(), X_GC_child_CisAjtCkuAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| int CheckBit_PairPE | ( | int | org_isite1, |
| int | org_isigma1, | ||
| int | org_isite3, | ||
| int | org_isigma3, | ||
| struct BindStruct * | X, | ||
| long int | orgbit | ||
| ) |
Check the occupation of both site 1 and site 3.
| [in] | org_isite1 | Site 1 |
| [in] | org_isigma1 | Spin 1 |
| [in] | org_isite3 | Site 3 |
| [in] | org_isigma3 | Spin 4 |
| [in,out] | X | |
| [in] | orgbit | Index pf intial wavefunction |
Definition at line 150 of file mltplyMPIHubbardCore.cpp.
References CheckBit_Ajt(), CheckPE(), BindStruct::Def, and DefineList::Tpow.
Referenced by X_child_CisAisCjtAjt_Hubbard_MPI(), and X_GC_child_CisAisCjtAjt_Hubbard_MPI().
| int CheckPE | ( | int | org_isite, |
| struct BindStruct * | X | ||
| ) |
Check whether this site is in the inter process region or not.
| [in] | org_isite | Site index |
| [in,out] | X |
Definition at line 30 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Def, and DefineList::Nsite.
Referenced by CheckBit_InterAllPE(), CheckBit_PairPE(), expec_cisajscktalt_Hubbard(), expec_cisajscktalt_HubbardGC(), mltplyHubbard(), and mltplyHubbardGC().
| int GetSgnInterAll | ( | long int | isite1, |
| long int | isite2, | ||
| long int | isite3, | ||
| long int | isite4, | ||
| int * | Fsgn, | ||
| struct BindStruct * | X, | ||
| long int | orgbit, | ||
| long int * | offbit | ||
| ) |
Compute the index of final wavefunction associated to \(c_{4}^\dagger c_{3}c_{2}^\dagger c_{1}\), and Fermion sign.
| [in] | isite1 | Site 1 |
| [in] | isite2 | Site 2 |
| [in] | isite3 | Site 3 |
| [in] | isite4 | Site 4 |
| [out] | Fsgn | Fermion sign |
| [in,out] | X | |
| [in] | orgbit | Index of the initial state |
| [out] | offbit | Index of the final state |
Definition at line 189 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Def, DefineList::Nsite, DefineList::OrgTpow, and X_GC_CisAjt().
Referenced by X_child_CisAjtCkuAku_Hubbard_MPI(), X_child_CisAjtCkuAlv_Hubbard_MPI(), X_GC_child_CisAjtCkuAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_Ajt_MPI | ( | int | org_isite, |
| int | org_ispin, | ||
| std::complex< double > | tmp_trans, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1, | ||
| long int | idim_max, | ||
| long int * | Tpow, | ||
| long int | _irght, | ||
| long int | _ilft, | ||
| long int | _ihfbit | ||
| ) |
Compute \(c_{jt}\) term of canonical Hubbard system.
| [in] | org_isite | Site j |
| [in] | org_ispin | Spin t |
| [in] | tmp_trans | Coupling constant |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
| [in] | idim_max | Similar to CheckList::idim_max |
| [in] | Tpow | Similar to DefineList::Tpow |
| [in] | _irght | Similer to LargeList::irght |
| [in] | _ilft | Similer to LargeList::ilft |
| [in] | _ihfbit | Similer to LargeList::ihfbit |
Definition at line 1186 of file mltplyMPIHubbardCore.cpp.
References GetOffComp(), list_1_org, list_1buf_org, list_2_1, list_2_2, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), and v1buf.
Referenced by GetSingleExcitedStateHubbard().
| void X_child_CisAis_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 1001 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), BindStruct::Def, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::Tpow, X_CisAis(), and zaxpy_long().
Referenced by X_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_child_CisAisCjtAjt_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of canonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 650 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_PairPE(), BindStruct::Def, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_child_CisAisCjtAku_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| int | org_isite4, | ||
| int | org_ispin4, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of canonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | org_isite4 | Site 4 |
| [in] | org_ispin4 | Spin 4 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 984 of file mltplyMPIHubbardCore.cpp.
References X_child_CisAjtCkuAku_Hubbard_MPI().
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_child_CisAjtCkuAku_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite2, | ||
| int | org_ispin2, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of canonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_ispin2 | Spin 2 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 855 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_InterAllPE(), CisAjt(), BindStruct::Def, GetOffComp(), GetSgnInterAll(), 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, DefineList::OrgTpow, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), X_child_CisAisCjtAku_Hubbard_MPI(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_child_CisAjtCkuAlv_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite2, | ||
| int | org_ispin2, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| int | org_isite4, | ||
| int | org_ispin4, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of canonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_ispin2 | Spin 2 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | org_isite4 | Site 4 |
| [in] | org_ispin4 | Spin 4 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 690 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_InterAllPE(), CisAjt(), BindStruct::Def, GetOffComp(), GetSgnInterAll(), 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, DefineList::OrgTpow, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), DefineList::Tpow, v1buf, X_child_CisAis_Hubbard_MPI(), X_child_CisAisCjtAjt_Hubbard_MPI(), X_child_CisAisCjtAku_Hubbard_MPI(), X_child_CisAjtCkuAku_Hubbard_MPI(), and X_GC_CisAjt().
Referenced by expec_cisajscktalt_Hubbard(), and mltplyHubbard().
| void X_Cis_MPI | ( | int | org_isite, |
| int | org_ispin, | ||
| std::complex< double > | tmp_trans, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1, | ||
| long int | idim_max, | ||
| long int * | Tpow, | ||
| long int | _irght, | ||
| long int | _ilft, | ||
| long int | _ihfbit | ||
| ) |
Compute \(c_{is}^\dagger\) term of canonical Hubbard system.
| [in] | org_isite | Site i |
| [in] | org_ispin | Spin s |
| [in] | tmp_trans | Coupling constant |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
| [in] | idim_max | Similar to CheckList::idim_max |
| [in] | Tpow | Similar to DefineList::Tpow |
| [in] | _irght | Similer to LargeList::irght |
| [in] | _ilft | Similer to LargeList::ilft |
| [in] | _ihfbit | Similer to LargeList::ihfbit |
Definition at line 1130 of file mltplyMPIHubbardCore.cpp.
References GetOffComp(), list_1_org, list_1buf_org, list_2_1, list_2_2, myrank, SendRecv_cv(), SendRecv_i(), SendRecv_iv(), SgnBit(), and v1buf.
Referenced by GetSingleExcitedStateHubbard().
| void X_GC_Ajt_MPI | ( | int | org_isite, |
| int | org_ispin, | ||
| std::complex< double > | tmp_trans, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1, | ||
| long int | idim_max, | ||
| long int * | Tpow | ||
| ) |
Single creation/annihilation operator in the inter process region for HubbardGC.
| [in] | org_isite | Site j |
| [in] | org_ispin | Spin t |
| [in] | tmp_trans | Coupling constant//!<[in] |
| [out] | tmp_v0 | Result v0 += H v1*/, |
| [in] | tmp_v1 | v0 += H v1*/, |
| [in] | idim_max | Similar to CheckList::idim_max |
| [in] | Tpow | Similar to DefineList::Tpow |
Definition at line 1089 of file mltplyMPIHubbardCore.cpp.
References myrank, SendRecv_cv(), SendRecv_i(), SgnBit(), v1buf, and zaxpy_long().
Referenced by GetSingleExcitedStateHubbardGC().
| void X_GC_child_CisAis_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{is}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 589 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), BindStruct::Def, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::Tpow, and zaxpy_long().
Referenced by X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_GC_child_CisAisCjtAjt_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 259 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_PairPE(), BindStruct::Def, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::Tpow, and zaxpy_long().
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_GC_child_CisAisCjtAku_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| int | org_isite4, | ||
| int | org_ispin4, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | org_isite4 | Site 4 |
| [in] | org_ispin4 | Spin 4 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 425 of file mltplyMPIHubbardCore.cpp.
References X_GC_child_CisAjtCkuAku_Hubbard_MPI().
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_GC_child_CisAjt_Hubbard_MPI | ( | 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 | ||
| ) |
Compute \(c_{is}^\dagger c_{jt}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_ispin2 | Spin 2 |
| [in] | tmp_trans | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 624 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Def, exitMPI(), DefineList::Nsite, X_GC_child_general_hopp_MPIdouble(), and X_GC_child_general_hopp_MPIsingle().
| void X_GC_child_CisAjtCkuAku_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite2, | ||
| int | org_ispin2, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_ispin2 | Spin 2 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 302 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_InterAllPE(), BindStruct::Def, GC_CisAjt(), GetSgnInterAll(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::OrgTpow, SendRecv_cv(), SendRecv_i(), SgnBit(), DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), X_GC_child_CisAisCjtAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
| void X_GC_child_CisAjtCkuAlv_Hubbard_MPI | ( | int | org_isite1, |
| int | org_ispin1, | ||
| int | org_isite2, | ||
| int | org_ispin2, | ||
| int | org_isite3, | ||
| int | org_ispin3, | ||
| int | org_isite4, | ||
| int | org_ispin4, | ||
| std::complex< double > | tmp_V, | ||
| struct BindStruct * | X, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of grandcanonical Hubbard system.
| [in] | org_isite1 | Site 1 |
| [in] | org_ispin1 | Spin 1 |
| [in] | org_isite2 | Site 2 |
| [in] | org_ispin2 | Spin 2 |
| [in] | org_isite3 | Site 3 |
| [in] | org_ispin3 | Spin 3 |
| [in] | org_isite4 | Site 4 |
| [in] | org_ispin4 | Spin 4 |
| [in] | tmp_V | Coupling constant |
| [in,out] | X | |
| [in,out] | tmp_v0 | Resulting wavefunction |
| [in,out] | tmp_v1 | Initial wavefunction |
Definition at line 445 of file mltplyMPIHubbardCore.cpp.
References BindStruct::Check, CheckBit_InterAllPE(), BindStruct::Def, GC_CisAjt(), GetSgnInterAll(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::OrgTpow, SendRecv_cv(), SendRecv_i(), DefineList::Tpow, v1buf, X_GC_child_CisAis_Hubbard_MPI(), X_GC_child_CisAisCjtAjt_Hubbard_MPI(), X_GC_child_CisAisCjtAku_Hubbard_MPI(), X_GC_child_CisAjtCkuAku_Hubbard_MPI(), X_GC_CisAjt(), and zaxpy_long().
Referenced by expec_cisajscktalt_HubbardGC(), and mltplyHubbardGC().
| void X_GC_Cis_MPI | ( | int | org_isite, |
| int | org_ispin, | ||
| std::complex< double > | tmp_trans, | ||
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1, | ||
| long int | idim_max, | ||
| long int * | Tpow | ||
| ) |
Single creation/annihilation operator in the inter process region for HubbardGC.
| [in] | org_isite | Site i |
| [in] | org_ispin | Spin s |
| [in] | tmp_trans | Coupling constant//!<[in] |
| [out] | tmp_v0 | Result v0 += H v1*/, |
| [in] | tmp_v1 | v0 += H v1*/, |
| [in] | idim_max | Similar to CheckList::idim_max |
| [in] | Tpow | Similar to DefineList::Tpow |
Definition at line 1041 of file mltplyMPIHubbardCore.cpp.
References myrank, SendRecv_cv(), SendRecv_i(), SgnBit(), v1buf, and zaxpy_long().
Referenced by GetSingleExcitedStateHubbardGC().