HΦ
3.2.0
|
Functions for spin Hamiltonian + MPI (Core) More...
#include "mpi.h"
#include "Common.h"
#include "mltplyCommon.h"
#include "mltplySpinCore.h"
#include "mltplyMPISpinCore.h"
#include "bitcalc.h"
#include "wrapperMPI.h"
Go to the source code of this file.
Functions | |
void | GC_child_CisAitCiuAiv_spin_MPIdouble (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Exchange and Pairlifting term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAitCiuAiv_spin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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 (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Wrapper for calculating CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAjv_spin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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 (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Wrapper for calculating CisAitCjuAju term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAitCjuAju_spin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAju_spin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
CisAisCjuAjv term in Spin model + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAju_spin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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 (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Exchange and Pairlifting term in Spin model + GC When only site2 is in the inter process region. More... | |
double complex | X_GC_child_CisAitCiuAiv_spin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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 (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAjv_spin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
void | GC_child_CisAitCjuAju_spin_MPIsingle (unsigned long int i_int, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Wrapper for CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
double complex | X_GC_child_CisAitCjuAju_spin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
CisAisCjuAjv term in Spin model + GC When only site2 is in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAitCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAisCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAit_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAis_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_AisCis_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_child_CisAit_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1, double complex *tmp_v1buf, unsigned long int idim_max, long unsigned int *list_1_org, long unsigned int *list_1buf_org, long unsigned int _ihfbit) |
Compute \(c_{is}^\dagger c_{it}\) term in the canonical general spin system when both site is in the inter process region. More... | |
double complex | X_GC_child_CisAisCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAitCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAitCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAisCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_child_CisAitCjuAjv_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_child_CisAisCjuAju_GeneralSpin_MPIdouble (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_child_CisAisCjuAju_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_isite3, int org_ispin3, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_child_CisAitCjuAjv_GeneralSpin_MPIsingle (int org_isite1, int org_ispin1, int org_ispin2, int org_isite3, int org_ispin3, int org_ispin4, double complex tmp_J, struct BindStruct *X, double complex *tmp_v0, double complex *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... | |
double complex | X_GC_child_CisAit_spin_MPIdouble (int org_isite1, int org_ispin1, int org_ispin2, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_child_CisAit_spin_MPIdouble (int org_isite1, int org_ispin2, double complex tmp_trans, struct BindStruct *X, 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) |
Hopping term in Spin + Canonical for CalcSpectrum When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_CisAis_spin_MPIdouble (int org_isite1, int org_ispin1, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
Hopping term in Spin + GC When both site1 and site2 are in the inter process region. More... | |
double complex | X_GC_child_AisCis_spin_MPIdouble (int org_isite1, int org_ispin1, double complex tmp_trans, struct BindStruct *X, double complex *tmp_v0, double complex *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.c.
void GC_child_CisAisCjuAjv_spin_MPIdouble | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 191 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAisCjuAjv_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAisCjuAjv_spin_MPIsingle | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 608 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAisCjuAjv_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
void GC_child_CisAitCiuAiv_spin_MPIdouble | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 79 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAitCiuAiv_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAitCiuAiv_spin_MPIsingle | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 500 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAitCiuAiv_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
void GC_child_CisAitCjuAju_spin_MPIdouble | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 287 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAitCjuAju_spin_MPIdouble().
Referenced by GC_child_general_int_spin_MPIdouble().
void GC_child_CisAitCjuAju_spin_MPIsingle | ( | unsigned long int | i_int, |
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 713 of file mltplyMPISpinCore.c.
References BindStruct::Def, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::ParaInterAll_OffDiagonal, LargeList::prdct, and X_GC_child_CisAitCjuAju_spin_MPIsingle().
Referenced by GC_child_general_int_spin_MPIsingle().
double complex X_child_CisAisCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1748 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, FALSE, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGeneral().
double complex X_child_CisAisCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1817 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, FALSE, CheckList::idim_max, BindStruct::Large, list_1, LargeList::mode, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGeneral().
double complex X_child_CisAit_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
double complex * | tmp_v1buf, | ||
unsigned long int | idim_max, | ||
long unsigned int * | list_1_org, | ||
long unsigned int * | list_1buf_org, | ||
long unsigned int | _ihfbit | ||
) |
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,out] | tmp_v1buf | buffer for wavefunction |
[in] | idim_max | Similar to CheckList::idim_max |
[in] | list_1_org | Similar to list_1 |
[in] | list_1buf_org | Similar to list_1buf |
[in] | _ihfbit | Similer to LargeList::ihfbit |
Definition at line 1288 of file mltplyMPISpinCore.c.
References ConvertToList1GeneralSpin(), BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), LargeList::ihfbit, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by GetPairExcitedStateGeneralSpin().
double complex X_child_CisAit_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin2, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
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 | ||
) |
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] | 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 2044 of file mltplyMPISpinCore.c.
References BindStruct::Def, exitMPI(), GetOffComp(), LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, and v1buf.
Referenced by GetPairExcitedStateHalfSpin().
double complex X_child_CisAitCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1652 of file mltplyMPISpinCore.c.
References BindStruct::Check, ConvertToList1GeneralSpin(), BindStruct::Def, exitMPI(), FALSE, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, list_1, list_1buf, LargeList::mode, myrank, CheckList::sdim, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by child_general_int_GeneralSpin_MPIdouble(), and expec_cisajscktalt_SpinGeneral().
double complex X_child_CisAitCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1873 of file mltplyMPISpinCore.c.
References BindStruct::Check, ConvertToList1GeneralSpin(), BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, list_1, list_1buf, LargeList::mode, myrank, CheckList::sdim, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by child_general_int_GeneralSpin_MPIsingle(), and expec_cisajscktalt_SpinGeneral().
double complex X_GC_child_AisCis_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1238 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by GetPairExcitedStateGeneralSpinGC().
double complex X_GC_child_AisCis_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 2169 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, and DefineList::Tpow.
Referenced by GetPairExcitedStateHalfSpinGC().
double complex X_GC_child_CisAis_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1188 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajs_SpinGCGeneral(), GetPairExcitedStateGeneralSpinGC(), and X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble().
double complex X_GC_child_CisAis_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 2122 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, and DefineList::Tpow.
Referenced by expec_cisajs_SpinGCHalf(), expec_cisajscktalt_SpinGCHalf(), GetPairExcitedStateHalfSpinGC(), and X_GC_child_CisAitCiuAiv_spin_MPIdouble().
double complex X_GC_child_CisAisCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1068 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, and TRUE.
Referenced by expec_cisajscktalt_SpinGCGeneral().
double complex X_GC_child_CisAisCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1598 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, FALSE, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGCGeneral().
double complex X_GC_child_CisAisCjuAju_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 397 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf().
double complex X_GC_child_CisAisCjuAju_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 448 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf().
double complex X_GC_child_CisAisCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 826 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
double complex X_GC_child_CisAisCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1362 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().
double complex X_GC_child_CisAisCjuAjv_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 212 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, TRUE, v1buf, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAisCjuAjv_spin_MPIdouble().
double complex X_GC_child_CisAisCjuAjv_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 629 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, and v1buf.
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAisCjuAjv_spin_MPIsingle().
double complex X_GC_child_CisAit_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1124 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajs_SpinGCGeneral(), GetPairExcitedStateGeneralSpinGC(), and mltplyGeneralSpinGC().
double complex X_GC_child_CisAit_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
double complex | tmp_trans, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1970 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, and v1buf.
Referenced by expec_cisajs_SpinGCHalf(), GetPairExcitedStateHalfSpinGC(), and mltplyHalfSpinGC().
double complex X_GC_child_CisAitCiuAiv_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 103 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, v1buf, and X_GC_child_CisAis_spin_MPIdouble().
Referenced by expec_cisajscktalt_SpinGCHalf(), GC_child_CisAitCiuAiv_spin_MPIdouble(), mltplyHalfSpinGC(), and totalspin_SpinGC().
double complex X_GC_child_CisAitCiuAiv_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 522 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, v1buf, and X_SpinGC_CisAit().
Referenced by expec_cisajscktalt_SpinGCHalf(), GC_child_CisAitCiuAiv_spin_MPIsingle(), mltplyHalfSpinGC(), and totalspin_SpinGC().
double complex X_GC_child_CisAitCjuAju_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 901 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
double complex X_GC_child_CisAitCjuAju_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1441 of file mltplyMPISpinCore.c.
References BitCheckGeneral(), BindStruct::Check, BindStruct::Def, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, and TRUE.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().
double complex X_GC_child_CisAitCjuAju_spin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 309 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::Tpow, v1buf, and X_SpinGC_CisAis().
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAitCjuAju_spin_MPIdouble().
double complex X_GC_child_CisAitCjuAju_spin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 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 734 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, and DefineList::Tpow.
Referenced by expec_cisajscktalt_SpinGCHalf(), and GC_child_CisAitCjuAju_spin_MPIsingle().
double complex X_GC_child_CisAitCjuAjv_GeneralSpin_MPIdouble | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 977 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), FALSE, GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, v1buf, and X_GC_child_CisAis_GeneralSpin_MPIdouble().
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIdouble().
double complex X_GC_child_CisAitCjuAjv_GeneralSpin_MPIsingle | ( | int | org_isite1, |
int | org_ispin1, | ||
int | org_ispin2, | ||
int | org_isite3, | ||
int | org_ispin3, | ||
int | org_ispin4, | ||
double complex | tmp_J, | ||
struct BindStruct * | X, | ||
double complex * | tmp_v0, | ||
double complex * | 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 1514 of file mltplyMPISpinCore.c.
References BindStruct::Check, BindStruct::Def, exitMPI(), GetOffCompGeneralSpin(), CheckList::idim_max, BindStruct::Large, LargeList::mode, myrank, DefineList::SiteToBit, DefineList::Tpow, TRUE, and v1buf.
Referenced by expec_cisajscktalt_SpinGCGeneral(), and GC_child_general_int_GeneralSpin_MPIsingle().