HΦ  3.1.0
struct.h
Go to the documentation of this file.
1 /* HPhi - Quantum Lattice Model Simulator */
2 /* Copyright (C) 2015 The University of Tokyo */
3 
4 /* This program is free software: you can redistribute it and/or modify */
5 /* it under the terms of the GNU General Public License as published by */
6 /* the Free Software Foundation, either version 3 of the License, or */
7 /* (at your option) any later version. */
8 
9 /* This program is distributed in the hope that it will be useful, */
10 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
11 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
12 /* GNU General Public License for more details. */
13 
14 /* You should have received a copy of the GNU General Public License */
15 /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
16 /*-------------------------------------------------------------
17  *[ver.2009.3.31]
18  * Exact Diagonalization with Lanczos Method
19  *-------------------------------------------------------------
20  * Copyright (C) 2006- Takahiro MISAWA. All rights reserved.
21  *-------------------------------------------------------------*/
25 #ifndef HPHI_STRUCT_H
26 #define HPHI_STRUCT_H
27 
28 /*=================================================================================================*/
29 //For TEM
30 struct ParamList {
31  //For Time Evolution
32  double Tinit;
33  double TimeSlice;
37 };
41 struct DefineList {
46  unsigned int nvec;
47  unsigned int k_exct;
53  int READ;
54  int WRITE;
56  unsigned int Nsite;
57  unsigned int NsiteMPI;
58  unsigned int Nup;
59  unsigned int Ndown;
60  unsigned int NupMPI;
62  unsigned int NdownMPI;
64  unsigned int NupOrg;
66  unsigned int NdownOrg;
69  int Total2Sz;
71  unsigned int Ne;
72  unsigned int NeMPI;
74  unsigned int Lanczos_max;
76  long int initial_iv;
78  int istep;
79  int irand;
80  int St;
82  int *LocSpn;
84  unsigned int NLocSpn;
85  unsigned int NCond;
89  int fidx;
90  long unsigned int *Tpow;
92  long unsigned int *OrgTpow;
94  long int *SiteToBit;
97  unsigned int EDNChemi;
98  int *EDChemi;
100  double *EDParaChemi;
103  //[s] Transfer
104  unsigned int NTransfer;
105  unsigned int EDNTransfer;
113  double complex *ParaGeneralTransfer;
116  double complex *EDParaGeneralTransfer;
119  //[e] Transfer
120 
121  unsigned int NCoulombIntra;
127  unsigned int NCoulombInter;
133  unsigned int NHundCoupling;
139  unsigned int NPairHopping;
140  int **PairHopping;
145  unsigned int NExchangeCoupling;
151  unsigned int NIsingCoupling;
153  unsigned int NPairLiftCoupling;
159  //[s] For InterAll
160  int **InterAll;
163  unsigned int NInterAll;
164  unsigned int NInterAll_Diagonal;
165  unsigned int NInterAll_OffDiagonal;
166  double complex *ParaInterAll;
170  double complex *ParaInterAll_OffDiagonal;
172  //[e] For InterAll
173 
174  int **CisAjt;
175  unsigned int NCisAjt;
178  unsigned int NCisAjtCkuAlvDC;
189  double complex *ParaPairExcitationOperator;
207  //[s] For Spectrum
208  double complex dcOmegaMax;
209  double complex dcOmegaMin;
210  double complex dcOmegaOrg;
211  int iNOmega;
218  //[e] For Spectrum
219 
220  int iReStart;
224  int iFlgMPI;
229  int iNGPU;
240  struct ParamList Param;
241 
242  //[s] For Time Evolution
243 
244  //Information of Time
245  unsigned int NTETimeSteps;
246  double *TETime;
247 
248  //[s]For Ido-san version
249  unsigned int NLaser;
250  double *ParaLaser;
251  //[e]For Ido-san version
252 
253  //Information of Transfer integrals
254  unsigned int NTETransferMax;
255  unsigned int *NTETransfer;
257  unsigned int *NTETransferDiagonal;
259  int ***TETransfer;
263  double complex **ParaTETransfer;
268  //Two-body part
269  unsigned int NTEInterAllMax;
270  unsigned int *NTEInterAll;
272  unsigned int *NTEInterAllOffDiagonal;
275  unsigned int *NTEInterAllDiagonal;
277  int ***TEInterAll;
285  double complex **ParaTEInterAll;
287  double complex **ParaTEInterAllOffDiagonal;
292  int **TEChemi;
293  unsigned int *NTEChemi;
294  int **SpinTEChemi;
295  double **ParaTEChemi;
296  //[e] For Time Evolution
297 };/*struct DefineList*/
301 struct CheckList {
302  unsigned long int idim_max;
303  unsigned long int idim_maxMPI;
304  unsigned long int idim_maxOrg;
305  unsigned long int idim_maxMPIOrg;
306  unsigned long int sdim;
307  double max_mem;
308 };/*struct CheckList*/
312 struct LargeList {
313  double complex prdct;
314  int itr;
315  long int iv;
316  long int i_max;
317  long int SizeOflist_2_1;
318  long int SizeOflist_2_2;
319  long int SizeOflistjb;
321  double complex tmp_trans;
322  double complex tmp_J;
324  long unsigned int is1_up;
325  long unsigned int is1_down;
326  long unsigned int is2_up;
327  long unsigned int is2_down;
329  int mode;
330  double sgn;
331  long unsigned int is1_spin;
332  long unsigned int is2_spin;
333  long unsigned int is3_spin;
334  long unsigned int is4_spin;
335  int isite1;
336  int isite2;
337  int isite3;
338  int isite4;
340  long unsigned int A_spin;
341  long unsigned int B_spin;
342  long unsigned int irght;
343  long unsigned int ilft;
344  long unsigned int ihfbit;
345  long unsigned int isA_spin;
346  long unsigned int isB_spin;
347  double complex tmp_V;
348 };/*struct LargeList*/
352 struct PhysList {
353  //double energy,doublon;
354  double energy;
355  double doublon;
356  double doublon2;
357  double num;
358  double num2;
359  double Sz;
360  double Sz2;
361  /*[s] For TPQ*/
362  double var;
363  /*[e] For TPQ*/
364 
365  /*[s] For Full Diagonalization*/
367  double num_up;
368  double num_down;
369  double s2;
370  double *all_energy;
372  double *all_doublon;
374  double *all_sz;
376  double *all_s2;
378  double *all_num_up;
380  double *all_num_down;
382  /*[e] For Full Diagonalization*/
383 
384  double *spin_real_cor;
386  double *loc_spin_z;
389 };/*struct PhysList*/
393 struct BoostList {
394  int flgBoost;
395  long unsigned int R0;
396  long unsigned int W0;
397  long unsigned int num_pivot;
398  long unsigned int ishift_nspin;
399  unsigned int NumarrayJ;
400  double complex ***arrayJ;
401  double complex vecB[3];
404 };/*struct BoostList*/
408 struct BindStruct {
409  struct DefineList Def;
410  struct CheckList Check;
411  struct LargeList Large;
412  struct PhysList Phys;
413  struct BoostList Boost;
414 };/*struct BindStruct*/
419  struct BindStruct Bind;
420 };/*struct EDMainCalStruct*/
425  time_t tstart;
426  time_t tnow;
427  time_t tend;
428 };/*struct TimeKeepStruct*/
429 
430 /*global variables---------------------------------------------*/
432 /*-------------------------------------------------------------*/
433 
434 #endif /* HPHI_STRUCT_H */
unsigned int NTETimeSteps
Definition: struct.h:245
double * all_num_down
[CheckList::idim_max+1] Number of spin-down electrons for FullDiag and LOBPCG. malloc in setmem_large...
Definition: struct.h:380
unsigned int NSingleExcitationOperator
Number of single excitaion operator for spectrum.
Definition: struct.h:182
int iInputHam
Definition: struct.h:205
int irand
Input keyword TargetTPQRand ???
Definition: struct.h:79
unsigned int * NTEInterAllOffDiagonal
Definition: struct.h:272
double * all_s2
[CheckList::idim_max+1] for FullDiag and LOBPCG. malloc in setmem_large().
Definition: struct.h:376
int LanczosEps
log(10 base) of the convergence threshold. Read from Calcmod in readdef.h
Definition: struct.h:48
struct DefineList Def
Definision of system (Hamiltonian) etc.
Definition: struct.h:409
For Matrix-Vector product.
Definition: struct.h:312
int iFlgSpecOmegaMin
Whether DefineList::dcOmegaMin is input or not.
Definition: struct.h:213
long unsigned int B_spin
Mask used in the bit oeration.
Definition: struct.h:341
unsigned int NHundCoupling
Number of Hund coupling.
Definition: struct.h:133
long unsigned int W0
Definition: struct.h:396
int *** TEInterAll
Definition: struct.h:277
int St
0 or 1, but it affects nothing.
Definition: struct.h:80
int * EDSpinChemi
[DefineList::Nsite]
Definition: struct.h:99
int ** list_6spin_star
Definition: struct.h:402
int ** SpinTEChemi
Definition: struct.h:294
unsigned int NTEInterAllMax
Definition: struct.h:269
unsigned int NLocSpn
Number of local spins.
Definition: struct.h:84
Time keeping.
Definition: struct.h:424
int iFlgSzConserved
Flag whether Sz is conserved.
Definition: struct.h:87
long unsigned int ihfbit
Used for Ogata-Lin ???
Definition: struct.h:344
int itr
Iteration number.
Definition: struct.h:314
unsigned long int idim_max
The dimension of the Hilbert space of this process.
Definition: struct.h:302
int ** ExchangeCoupling
[DefineList::NExchangeCoupling][2] Index of exchange term. malloc in setmem_def().
Definition: struct.h:146
int iReStart
Definition: struct.h:220
double num_up
Expectation value of the number of up-spin electtrons.
Definition: struct.h:367
double Target_CG_energy
Taget energy of CG-inversed iteration (NOT LOBCG) method.
Definition: struct.h:388
double * ParaInterAll_Diagonal
[DefineList::NInterAll_Diagonal] Coupling constant of diagonal inter-all term. malloc in setmem_def()...
Definition: struct.h:168
unsigned int NLaser
Definition: struct.h:249
long unsigned int is2_up
Mask used in the bit oeration.
Definition: struct.h:326
long unsigned int is4_spin
Mask used in the bit oeration.
Definition: struct.h:334
int fidx
Always 0, it is not used ???
Definition: struct.h:89
int Total2Sz
Total in this process.
Definition: struct.h:69
int iFlagListModified
When the Hilbert space of excited state differs from the original one.
Definition: struct.h:216
int *** TETransferDiagonal
Definition: struct.h:261
long unsigned int isB_spin
Mask used in the bit oeration.
Definition: struct.h:346
double complex dcOmegaMax
Upper limit of the frequency for the spectrum.
Definition: struct.h:208
double complex prdct
The expectation value of the energy.
Definition: struct.h:313
unsigned int NdownMPI
Total number of spin-down electrons across processes. Deffer from DefineList::Ndown. Read from modpara in readdef.h.
Definition: struct.h:62
int iOutputEigenVec
ASwitch for outputing an eigenvector. 0: no output, 1:output.
Definition: struct.h:202
double * TETime
Definition: struct.h:246
int ** TEChemi
Definition: struct.h:292
struct LargeList Large
Variables for Matrix-Vector product.
Definition: struct.h:411
unsigned long int idim_maxMPIOrg
The global Hilbert-space dimention of original state for the spectrum.
Definition: struct.h:305
long unsigned int is1_spin
Mask used in the bit oeration.
Definition: struct.h:331
int * LocSpn
[DefineList::NLocSpn] Flag (and size) of the local spin. malloc in setmem_def().
Definition: struct.h:82
double num_down
Expectation value of the number of down-spin electtrons.
Definition: struct.h:368
int ** CisAjtCkuAlvDC
[DefineList::NCisAjtCkuAlvDC][4] Indices of two-body correlation function. malloc in setmem_def()...
Definition: struct.h:177
unsigned int Nup
Number of spin-up electrons in this process.
Definition: struct.h:58
int ** EDGeneralTransfer
Index of transfer integrals for calculation. malloc in setmem_def(). Data Format [DefineList::NTrans...
Definition: struct.h:110
long unsigned int num_pivot
Definition: struct.h:397
int iNGPU
GPU mode ( only for FullDiag )
Definition: struct.h:229
double sgn
Not used ???
Definition: struct.h:330
struct PhysList Phys
Physical quantities.
Definition: struct.h:412
unsigned long int idim_maxMPI
The total dimension across process.
Definition: struct.h:303
long int SizeOflist_2_1
Size of list_2_1.
Definition: struct.h:317
double complex * ParaInterAll_OffDiagonal
[DefineList::NInterAll_OffDiagonal] Coupling constant of off-diagonal inter-all term. malloc in setmem_def().
Definition: struct.h:170
unsigned int NPairLiftCoupling
Number of pair-lift term.
Definition: struct.h:153
int *** list_6spin_pair
Definition: struct.h:403
int isite2
Is it realy used ???
Definition: struct.h:336
int iFlgScaLAPACK
ScaLAPACK mode ( only for FullDiag )
Definition: struct.h:234
double Sz2
Expectation value of the Square of total Sz.
Definition: struct.h:360
int mode
multiply or expectation value.
Definition: struct.h:329
unsigned int nvec
Read from Calcmod in readdef.h.
Definition: struct.h:46
double * ParaLaser
Definition: struct.h:250
double complex ** ParaTETransfer
Definition: struct.h:263
double ** ParaTEChemi
Definition: struct.h:295
unsigned int NInterAll_OffDiagonal
Number of interall term (off-diagonal)
Definition: struct.h:165
unsigned int * NTETransfer
Definition: struct.h:255
Bind.
Definition: struct.h:418
long unsigned int is3_spin
Mask used in the bit oeration.
Definition: struct.h:333
unsigned long int sdim
Dimension for Ogata-Lin ???
Definition: struct.h:306
Size of the Hilbert space.
Definition: struct.h:301
unsigned int * NTEChemi
Definition: struct.h:293
int ** InterAll_OffDiagonal
[DefineList::NinterAll_OffDiagonal][8] Interacted quartet
Definition: struct.h:161
int ** InterAll_Diagonal
[DefineList::NinterAll_Diagonal][4] Interacted quartet
Definition: struct.h:162
double * loc_spin_z
Malloc, but Not used ???
Definition: struct.h:386
int isite3
Is it realy used ???
Definition: struct.h:337
int ** GeneralTransfer
Index of transfer integrals obtained by a def file. malloc in setmem_def(). Data Format [DefineList:...
Definition: struct.h:106
long unsigned int * OrgTpow
[2 * DefineList::NsiteMPI] malloc in setmem_def().
Definition: struct.h:92
double num
Expectation value of the Number of electrons.
Definition: struct.h:357
int ** PairHopping
[DefineList::NPairHopping][2] Index of pair-hopping. malloc in setmem_def().
Definition: struct.h:140
unsigned int NupOrg
Number of spin-up electrons before exitation. Used only in the spectrum calculation. Read from modpara in readdef.h.
Definition: struct.h:64
unsigned int NeMPI
Total number of electrons across process. Differ from DefineList::Ne .
Definition: struct.h:72
long int iv
Used for initializing vector.
Definition: struct.h:315
unsigned int Ndown
Number of spin-down electrons in this process.
Definition: struct.h:59
double ** ParaTETransferDiagonal
Definition: struct.h:265
int ** PairLiftCoupling
[DefineList::NPairHopping][2] Index of pair-lift term. malloc in setmem_def().
Definition: struct.h:154
int ExpecInterval
Definition: struct.h:36
int ** HundCoupling
[DefineList::NHundCoupling][2] Index of Hund coupling. malloc in setmem_def().
Definition: struct.h:134
int iFlgFiniteTemperature
???
Definition: struct.h:197
unsigned int NInterAll_Diagonal
Number of interall term (diagonal)
Definition: struct.h:164
double complex ** ParaTEInterAll
Definition: struct.h:285
double complex tmp_trans
Hopping parameter.
Definition: struct.h:321
long unsigned int A_spin
Mask used in the bit oeration.
Definition: struct.h:340
double complex tmp_J
Coupling constant.
Definition: struct.h:322
double complex * ParaInterAll
[DefineList::NInterAll] Coupling constant of inter-all term. malloc in setmem_def().
Definition: struct.h:166
long unsigned int is2_down
Mask used in the bit oeration.
Definition: struct.h:327
double complex * ParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::...
Definition: struct.h:113
Bind.
Definition: struct.h:408
double * ParaExchangeCoupling
[DefineList::NExchangeCoupling] Coupling constant of exchange term. malloc in setmem_def().
Definition: struct.h:148
unsigned long int idim_maxOrg
The local Hilbert-space dimention of original state for the spectrum.
Definition: struct.h:304
unsigned int Nsite
Number of sites in the INTRA process region.
Definition: struct.h:56
int iFlgMPI
MPI mode.
Definition: struct.h:224
struct BoostList Boost
For Boost.
Definition: struct.h:413
double * ParaCoulombInter
[DefineList::NCoulombInter]Coupling constant of off-site Coulomb interaction. malloc in setmem_def()...
Definition: struct.h:130
int Lanczos_restart
Number of iterations performed in the restart computation.
Definition: struct.h:75
int READ
It is ALWAYS 0 ???
Definition: struct.h:53
int read_hacker
Whether use an efficient method (=1) in sz.c or not (=0)
Definition: struct.h:52
long unsigned int is1_up
Mask used in the bit oeration.
Definition: struct.h:324
double complex * EDParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::...
Definition: struct.h:116
double * ParaPairLiftCoupling
[DefineList::NPairHopping] Coupling constant of pair-lift term. malloc in setmem_def().
Definition: struct.h:156
long unsigned int * Tpow
[2 * DefineList::NsiteMPI] malloc in setmem_def().
Definition: struct.h:90
long unsigned int ilft
Used for Ogata-Lin ???
Definition: struct.h:343
double TimeSlice
Definition: struct.h:33
double complex * ParaPairExcitationOperator
[DefineList::NPairExcitationOperator] Coefficient of pair excitaion operator for spectrum. malloc in setmem_def().
Definition: struct.h:189
int ** CoulombInter
Definition: struct.h:128
unsigned int NCoulombIntra
Definition: struct.h:121
double complex *** arrayJ
Definition: struct.h:400
double complex ** ParaTEInterAllOffDiagonal
Definition: struct.h:287
unsigned int NIsingCoupling
Number of Ising term.
Definition: struct.h:151
int ** SingleExcitationOperator
[DefineList::NSingleExcitationOperator][3] Indices of single excitaion operator for spectrum...
Definition: struct.h:180
long unsigned int is1_down
Mask used in the bit oeration.
Definition: struct.h:325
long int i_max
Length of eigenvector.
Definition: struct.h:316
double * EDParaChemi
[DefineList::Nsite] On-site potential parameter. malloc in setmem_def().
Definition: struct.h:100
Physical quantities (Expectation value)
Definition: struct.h:352
double * all_doublon
[CheckList::idim_max+1] Doublon for FullDiag and LOBPCG. malloc in setmem_large().
Definition: struct.h:372
long unsigned int R0
Definition: struct.h:395
int *** TETransfer
Definition: struct.h:259
unsigned int NsiteMPI
Total number of sites, differ from DefineList::Nsite.
Definition: struct.h:57
long unsigned int ishift_nspin
Definition: struct.h:398
struct ParamList Param
Definition: struct.h:240
char * CParaFileHead
Read from Calcmod in readdef.h. It is not used. Just for the compatibility to mVMC.
Definition: struct.h:44
unsigned int NExchangeCoupling
Number of exchange term.
Definition: struct.h:145
double s2
Expectation value of the square of the total S.
Definition: struct.h:369
double var
Expectation value of the Energy variance.
Definition: struct.h:362
int iFlgGeneralSpin
Flag for the general (Sz/=1/2) spin.
Definition: struct.h:86
int iNOmega
Number of frequencies for spectrum.
Definition: struct.h:211
time_t tend
End time.
Definition: struct.h:427
int iCalcEigenVec
Switch for method to calculate eigenvectors. 0:Lanczos+CG, 1: Lanczos. default value is set as 0 in r...
Definition: struct.h:193
unsigned int NCisAjtCkuAlvDC
Number of indices of two-body correlation function.
Definition: struct.h:178
unsigned int NPairHopping
Number of pair-hopping term.
Definition: struct.h:139
int iFlgSpecOmegaOrg
Whether DefineList::dcOmegaOrg is input or not.
Definition: struct.h:214
double complex vecB[3]
Definition: struct.h:401
long unsigned int is2_spin
Mask used in the bit oeration.
Definition: struct.h:332
int isite4
Is it realy used ???
Definition: struct.h:338
unsigned int NCisAjt
Number of indices of two-body correlation function.
Definition: struct.h:175
unsigned int NPairExcitationOperator
Number of pair excitaion operator for spectrum.
Definition: struct.h:188
long int * SiteToBit
[DefineList::NsiteMPI] Similar to DefineList::Tpow. For general spin.
Definition: struct.h:94
int istep
Index of TPQ step ???
Definition: struct.h:78
double Tinit
Definition: struct.h:32
double complex tmp_V
Coupling constant.
Definition: struct.h:347
unsigned int * NTEInterAllDiagonal
Definition: struct.h:275
int ** CisAjt
[DefineList::NCisAjt][4] Indices of one-body correlation function. malloc in setmem_def().
Definition: struct.h:174
unsigned int NupMPI
Total number of spin-up electrons across processes. Deffer from DefineList::Nup. Read from modpara in...
Definition: struct.h:60
double ** ParaTEInterAllDiagonal
Definition: struct.h:290
int ** PairExcitationOperator
[DefineList::NPairExcitationOperator][5] Indices of pair excitaion operator for spectrum. malloc in setmem_def().
Definition: struct.h:186
unsigned int NdownOrg
Number of spin-down electrons before exitation. Used only in the spectrum calculation. Read from modpara in readdef.h.
Definition: struct.h:66
int OutputInterval
Definition: struct.h:34
unsigned int Ne
Number of electrons in this process.
Definition: struct.h:71
double * ParaPairHopping
[DefineList::NPairHopping] Coupling constant of pair-hopping term. malloc in setmem_def().
Definition: struct.h:142
time_t tstart
Start time.
Definition: struct.h:425
int ExpandCoef
Definition: struct.h:35
unsigned int NInterAll
Total Number of Interacted quartet.
Definition: struct.h:163
int ** CoulombIntra
Definition: struct.h:122
unsigned int EDNTransfer
Number of transfer integrals for calculation.
Definition: struct.h:105
double complex dcOmegaOrg
Origin limit of the frequency for the spectrum.
Definition: struct.h:210
unsigned int NTransfer
Number of transfer integrals obtained by a def file.
Definition: struct.h:104
double * charge_real_cor
Malloc, but Not used ???
Definition: struct.h:385
long unsigned int isA_spin
Mask used in the bit oeration.
Definition: struct.h:345
For Boost.
Definition: struct.h:393
double * ParaHundCoupling
[DefineList::NHundCoupling] Hund coupling constant. malloc in setmem_def().
Definition: struct.h:136
int iFlgSpecOmegaMax
Whether DefineList::dcOmegaMax is input or not.
Definition: struct.h:212
double * spin_real_cor
Malloc, but Not used ???
Definition: struct.h:384
struct EDMainCalStruct X
Definition: struct.h:431
time_t tnow
Current time.
Definition: struct.h:426
long unsigned int irght
Used for Ogata-Lin ???
Definition: struct.h:342
double doublon
Expectation value of the Doublon.
Definition: struct.h:355
int LanczosTarget
Which eigenstate is used to check convergence. Read from Calcmod in readdef.h.
Definition: struct.h:50
double * all_sz
[CheckList::idim_max+1] for FullDiag and LOBPCG. malloc in setmem_large().
Definition: struct.h:374
int iCalcModel
Switch for model. 0:Hubbard, 1:Spin, 2:Kondo, 3:HubbardGC, 4:SpinGC, 5:KondoGC, 6:HubbardNConserved.
Definition: struct.h:198
double complex dcOmegaMin
Lower limit of the frequency for the spectrum.
Definition: struct.h:209
double Sz
Expectation value of the Total Sz.
Definition: struct.h:359
int *** TEInterAllOffDiagonal
Definition: struct.h:280
unsigned int NCoulombInter
Number of off-site Coulomb interaction.
Definition: struct.h:127
long int initial_iv
Seed of random number for initial guesss of wavefunctions.
Definition: struct.h:76
double * ParaCoulombIntra
Definition: struct.h:124
int WRITE
It is ALWAYS 0 ???
Definition: struct.h:54
unsigned int EDNChemi
Number of on-site term.
Definition: struct.h:97
int flgBoost
Flag whether use CMA algorithm.
Definition: struct.h:394
int *** TEInterAllDiagonal
Definition: struct.h:283
int iFlgCalcSpec
Input parameter CalcSpec in teh CalcMod file.
Definition: struct.h:215
double max_mem
Estimated memory size.
Definition: struct.h:307
double complex * ParaSingleExcitationOperator
[DefineList::NSingleExcitationOperator] Coefficient of single excitaion operator for spectrum...
Definition: struct.h:183
int iOutputMode
Switch for output mode. 0: OneBodyG and TwoBodyG. 1: OneBodyG and TwoBodyG and correlations for charg...
Definition: struct.h:200
int eigen_num
Index of eigenstate used for the file name of the correlation function.
Definition: struct.h:366
unsigned int NCond
Number of itinerant electrons.
Definition: struct.h:85
int iInitialVecType
Switch for type of inital vectors. 0:complex type, 1: real type. default value is set as 0 in readdef...
Definition: struct.h:195
int ** InterAll
[DefineList::NinterAll][8] Interacted quartet
Definition: struct.h:160
unsigned int NumarrayJ
Definition: struct.h:399
long int SizeOflistjb
Used for computing Sz.
Definition: struct.h:319
double energy
Expectation value of the total energy.
Definition: struct.h:354
int * EDChemi
[DefineList::Nsite] Chemical potential. malloc in setmem_def().
Definition: struct.h:98
unsigned int NTETransferMax
Definition: struct.h:254
int iInputEigenVec
Switch for reading an eigenvector. 0: no input, 1:input.
Definition: struct.h:203
unsigned int * NTEInterAll
Definition: struct.h:270
int iOutputHam
Definition: struct.h:204
struct CheckList Check
Size of the Hilbert space.
Definition: struct.h:410
double num2
Expectation value of the quare of the number of electrons.
Definition: struct.h:358
unsigned int * NTETransferDiagonal
Definition: struct.h:257
int isite1
Is it realy used ???
Definition: struct.h:335
char * CDataFileHead
Read from Calcmod in readdef.h. Header of output file such as Green&#39;s function.
Definition: struct.h:42
long int SizeOflist_2_2
Size of list_2_2.
Definition: struct.h:318
struct BindStruct Bind
Binded struct.
Definition: struct.h:419
double * all_num_up
[CheckList::idim_max+1] Number of spin-up electrons for FullDiag and LOBPCG. malloc in setmem_large()...
Definition: struct.h:378
double doublon2
Expectation value of the Square of doublon.
Definition: struct.h:356
Definision of system (Hamiltonian) etc.
Definition: struct.h:41
double Target_energy
Is it really used ???
Definition: struct.h:387
int Total2SzMPI
Total across processes.
Definition: struct.h:70
unsigned int Lanczos_max
Maximum number of iterations.
Definition: struct.h:74
int iCalcType
Switch for calculation type. 0:Lanczos, 1:TPQCalc, 2:FullDiag.
Definition: struct.h:192
double * all_energy
[CheckList::idim_max+1] Energy for FullDiag and LOBPCG. malloc in setmem_large(). ...
Definition: struct.h:370
unsigned int k_exct
Read from Calcmod in readdef.h.
Definition: struct.h:47