HΦ
3.2.0
|
Functions for Hubbar + MPI (Core) More...
#include "mpi.h"
#include "Common.h"
#include "mltplyCommon.h"
#include "mltplyHubbardCore.h"
#include "mltplyMPIHubbard.h"
#include "mltplyMPIHubbardCore.h"
#include "bitcalc.h"
#include "wrapperMPI.h"
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 unsigned int is1_spin, long unsigned int orgbit, long unsigned 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 unsigned int is1_spin, long unsigned int orgbit, long unsigned 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 unsigned int orgbit, long unsigned 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 unsigned int orgbit) |
Check the occupation of both site 1 and site 3. More... | |
int | GetSgnInterAll (unsigned long int isite1, unsigned long int isite2, unsigned long int isite3, unsigned long int isite4, int *Fsgn, struct BindStruct *X, unsigned long int orgbit, unsigned 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... | |
double complex | X_GC_child_CisAisCjtAjt_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of grandcanonical Hubbard system. More... | |
double complex | X_GC_child_CisAjtCkuAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
double complex | X_GC_child_CisAisCjtAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
double complex | 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, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of grandcanonical Hubbard system. More... | |
double complex | X_GC_child_CisAis_Hubbard_MPI (int org_isite1, int org_ispin1, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{is}\) term of grandcanonical Hubbard system. More... | |
double complex | X_GC_child_CisAjt_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{jt}\) term of grandcanonical Hubbard system. More... | |
double complex | X_child_CisAisCjtAjt_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{jt}\) term of canonical Hubbard system. More... | |
double complex | 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, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of canonical Hubbard system. More... | |
double complex | X_child_CisAjtCkuAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite2, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
double complex | X_child_CisAisCjtAku_Hubbard_MPI (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_isite4, int org_ispin4, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
double complex | X_child_CisAis_Hubbard_MPI (int org_isite1, int org_ispin1, double complex tmp_V, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
double complex | X_GC_Cis_MPI (int org_isite, int org_ispin, double complex tmp_trans, double complex *tmp_v0, double complex *tmp_v1, unsigned long int idim_max, double complex *tmp_v1buf, unsigned long int *Tpow) |
Single creation/annihilation operator in the inter process region for HubbardGC. More... | |
double complex | X_GC_Ajt_MPI (int org_isite, int org_ispin, double complex tmp_trans, double complex *tmp_v0, double complex *tmp_v1, unsigned long int idim_max, double complex *tmp_v1buf, unsigned long int *Tpow) |
Single creation/annihilation operator in the inter process region for HubbardGC. More... | |
double complex | X_Cis_MPI (int org_isite, unsigned int org_ispin, double complex tmp_trans, double complex *tmp_v0, double complex *tmp_v1, double complex *tmp_v1buf, unsigned long int idim_max, long unsigned int *Tpow, long unsigned int *list_1_org, long unsigned int *list_1buf_org, long unsigned int *list_2_1_target, long unsigned int *list_2_2_target, long unsigned int _irght, long unsigned int _ilft, long unsigned int _ihfbit) |
Compute \(c_{is}^\dagger\) term of canonical Hubbard system. More... | |
double complex | X_Ajt_MPI (int org_isite, unsigned int org_ispin, double complex tmp_trans, double complex *tmp_v0, double complex *tmp_v1, double complex *tmp_v1buf, unsigned long int idim_max, long unsigned int *Tpow, long unsigned int *list_1_org, long unsigned int *list_1buf_org, long unsigned int *list_2_1_target, long unsigned int *list_2_2_target, long unsigned int _irght, long unsigned int _ilft, long unsigned int _ihfbit) |
Compute \(c_{jt}\) term of canonical Hubbard system. More... | |
Functions for Hubbar + MPI (Core)
Definition in file mltplyMPIHubbardCore.c.
int CheckBit_Ajt | ( | long unsigned int | is1_spin, |
long unsigned int | orgbit, | ||
long unsigned 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 70 of file mltplyMPIHubbardCore.c.
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 unsigned int | is1_spin, |
long unsigned int | orgbit, | ||
long unsigned 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 50 of file mltplyMPIHubbardCore.c.
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 unsigned int | orgbit, | ||
long unsigned 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 90 of file mltplyMPIHubbardCore.c.
References CheckBit_Ajt(), CheckBit_Cis(), CheckPE(), BindStruct::Def, FALSE, DefineList::Tpow, and TRUE.
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 unsigned 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 153 of file mltplyMPIHubbardCore.c.
References CheckBit_Ajt(), CheckPE(), BindStruct::Def, FALSE, DefineList::Tpow, and TRUE.
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 33 of file mltplyMPIHubbardCore.c.
References BindStruct::Def, FALSE, DefineList::Nsite, and TRUE.
Referenced by CheckBit_InterAllPE(), CheckBit_PairPE(), expec_cisajscktalt_Hubbard(), expec_cisajscktalt_HubbardGC(), mltplyHubbard(), and mltplyHubbardGC().
int GetSgnInterAll | ( | unsigned long int | isite1, |
unsigned long int | isite2, | ||
unsigned long int | isite3, | ||
unsigned long int | isite4, | ||
int * | Fsgn, | ||
struct BindStruct * | X, | ||
unsigned long int | orgbit, | ||
unsigned 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 192 of file mltplyMPIHubbardCore.c.
References BindStruct::Def, FALSE, DefineList::Nsite, DefineList::OrgTpow, TRUE, 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().
double complex X_Ajt_MPI | ( | int | org_isite, |
unsigned int | org_ispin, | ||
double complex | tmp_trans, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
double complex * | tmp_v1buf, | ||
unsigned long int | idim_max, | ||
long unsigned int * | Tpow, | ||
long unsigned int * | list_1_org, | ||
long unsigned int * | list_1buf_org, | ||
long unsigned int * | list_2_1_target, | ||
long unsigned int * | list_2_2_target, | ||
long unsigned int | _irght, | ||
long unsigned int | _ilft, | ||
long unsigned 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] | tmp_v1buf | buffer for wavefunction |
[in] | idim_max | Similar to CheckList::idim_max |
[in] | Tpow | Similar to DefineList::Tpow |
[in] | list_1_org | Similar to list_1 |
[in] | list_1buf_org | Similar to list_1buf |
[in] | list_2_1_target | Similar to list_2_1 |
[in] | list_2_2_target | Similar to list_2_2 |
[in] | _irght | Similer to LargeList::irght |
[in] | _ilft | Similer to LargeList::ilft |
[in] | _ihfbit | Similer to LargeList::ihfbit |
Definition at line 1621 of file mltplyMPIHubbardCore.c.
References exitMPI(), GetOffComp(), myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbard().
double complex X_child_CisAis_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1335 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), BindStruct::Def, FALSE, CheckList::idim_max, BindStruct::Large, list_1, LargeList::mode, myrank, DefineList::Nsite, DefineList::Tpow, and X_CisAis().
Referenced by X_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_child_CisAisCjtAjt_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 829 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_PairPE(), BindStruct::Def, CheckList::idim_max, BindStruct::Large, list_1, LargeList::mode, myrank, DefineList::Nsite, DefineList::Tpow, and TRUE.
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_child_CisAisCjtAku_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_isite4, | ||
int | org_ispin4, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1310 of file mltplyMPIHubbardCore.c.
References X_child_CisAjtCkuAku_Hubbard_MPI().
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_child_CisAjtCkuAku_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1121 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_InterAllPE(), CisAjt(), BindStruct::Def, exitMPI(), 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, SgnBit(), DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_Hubbard(), mltplyHubbard(), X_child_CisAisCjtAku_Hubbard_MPI(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
double complex 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, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 907 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_InterAllPE(), CisAjt(), BindStruct::Def, exitMPI(), FALSE, 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, DefineList::Tpow, TRUE, 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().
double complex X_Cis_MPI | ( | int | org_isite, |
unsigned int | org_ispin, | ||
double complex | tmp_trans, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
double complex * | tmp_v1buf, | ||
unsigned long int | idim_max, | ||
long unsigned int * | Tpow, | ||
long unsigned int * | list_1_org, | ||
long unsigned int * | list_1buf_org, | ||
long unsigned int * | list_2_1_target, | ||
long unsigned int * | list_2_2_target, | ||
long unsigned int | _irght, | ||
long unsigned int | _ilft, | ||
long unsigned 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] | tmp_v1buf | buffer for wavefunction |
[in] | idim_max | Similar to CheckList::idim_max |
[in] | Tpow | Similar to DefineList::Tpow |
[in] | list_1_org | Similar to list_1 |
[in] | list_1buf_org | Similar to list_1buf |
[in] | list_2_1_target | Similar to list_2_1 |
[in] | list_2_2_target | Similar to list_2_2 |
[in] | _irght | Similer to LargeList::irght |
[in] | _ilft | Similer to LargeList::ilft |
[in] | _ihfbit | Similer to LargeList::ihfbit |
Definition at line 1542 of file mltplyMPIHubbardCore.c.
References exitMPI(), GetOffComp(), myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbard().
double complex X_GC_Ajt_MPI | ( | int | org_isite, |
int | org_ispin, | ||
double complex | tmp_trans, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
unsigned long int | idim_max, | ||
double complex * | tmp_v1buf, | ||
unsigned 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] | tmp_v1buf | buffer for wavefunction |
[in] | Tpow | Similar to DefineList::Tpow |
Definition at line 1480 of file mltplyMPIHubbardCore.c.
References exitMPI(), myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbardGC().
double complex X_GC_child_CisAis_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 721 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), BindStruct::Def, FALSE, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::Tpow, and TRUE.
Referenced by X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_GC_child_CisAisCjtAjt_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 263 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_PairPE(), BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::Tpow, and TRUE.
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_GC_child_CisAisCjtAku_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_isite4, | ||
int | org_ispin4, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 514 of file mltplyMPIHubbardCore.c.
References X_GC_child_CisAjtCkuAku_Hubbard_MPI().
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_GC_child_CisAjt_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 795 of file mltplyMPIHubbardCore.c.
References BindStruct::Def, exitMPI(), DefineList::Nsite, X_GC_child_general_hopp_MPIdouble(), and X_GC_child_general_hopp_MPIsingle().
double complex X_GC_child_CisAjtCkuAku_Hubbard_MPI | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite2, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 343 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_Ajt(), CheckBit_InterAllPE(), BindStruct::Def, exitMPI(), FALSE, GC_CisAjt(), GetSgnInterAll(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::OrgTpow, SgnBit(), DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_HubbardGC(), mltplyHubbardGC(), X_GC_child_CisAisCjtAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
double complex 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, | ||
double complex | tmp_V, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 541 of file mltplyMPIHubbardCore.c.
References BindStruct::Check, CheckBit_InterAllPE(), BindStruct::Def, exitMPI(), FALSE, GC_CisAjt(), GetSgnInterAll(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Nsite, DefineList::OrgTpow, DefineList::Tpow, TRUE, 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(), and X_GC_CisAjt().
Referenced by expec_cisajscktalt_HubbardGC(), and mltplyHubbardGC().
double complex X_GC_Cis_MPI | ( | int | org_isite, |
int | org_ispin, | ||
double complex | tmp_trans, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
unsigned long int | idim_max, | ||
double complex * | tmp_v1buf, | ||
unsigned 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] | tmp_v1buf | buffer for wavefunction |
[in] | Tpow | Similar to DefineList::Tpow |
Definition at line 1412 of file mltplyMPIHubbardCore.c.
References exitMPI(), myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbardGC().