HΦ  3.2.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;
208  //[s] For Spectrum
209  double complex dcOmegaMax;
210  double complex dcOmegaMin;
211  double complex dcOmegaOrg;
212  int iNOmega;
219  //[e] For Spectrum
220 
221  int iReStart;
225  int iFlgMPI;
230  int iNGPU;
241  struct ParamList Param;
242 
243  //[s] For Time Evolution
244 
245  //Information of Time
246  unsigned int NTETimeSteps;
247  double *TETime;
248 
249  //[s]For Ido-san version
250  unsigned int NLaser;
251  double *ParaLaser;
252  //[e]For Ido-san version
253 
254  //Information of Transfer integrals
255  unsigned int NTETransferMax;
256  unsigned int *NTETransfer;
258  unsigned int *NTETransferDiagonal;
260  int ***TETransfer;
264  double complex **ParaTETransfer;
269  //Two-body part
270  unsigned int NTEInterAllMax;
271  unsigned int *NTEInterAll;
273  unsigned int *NTEInterAllOffDiagonal;
276  unsigned int *NTEInterAllDiagonal;
278  int ***TEInterAll;
286  double complex **ParaTEInterAll;
288  double complex **ParaTEInterAllOffDiagonal;
293  int **TEChemi;
294  unsigned int *NTEChemi;
295  int **SpinTEChemi;
296  double **ParaTEChemi;
297  //[e] For Time Evolution
298 };/*struct DefineList*/
302 struct CheckList {
303  unsigned long int idim_max;
304  unsigned long int idim_maxMPI;
305  unsigned long int idim_maxOrg;
306  unsigned long int idim_maxMPIOrg;
307  unsigned long int sdim;
308  double max_mem;
309 };/*struct CheckList*/
313 struct LargeList {
314  double complex prdct;
315  int itr;
316  long int iv;
317  long int i_max;
318  long int SizeOflist_2_1;
319  long int SizeOflist_2_2;
320  long int SizeOflistjb;
322  double complex tmp_trans;
323  double complex tmp_J;
325  long unsigned int is1_up;
326  long unsigned int is1_down;
327  long unsigned int is2_up;
328  long unsigned int is2_down;
330  int mode;
331  double sgn;
332  long unsigned int is1_spin;
333  long unsigned int is2_spin;
334  long unsigned int is3_spin;
335  long unsigned int is4_spin;
336  int isite1;
337  int isite2;
338  int isite3;
339  int isite4;
341  long unsigned int A_spin;
342  long unsigned int B_spin;
343  long unsigned int irght;
344  long unsigned int ilft;
345  long unsigned int ihfbit;
346  long unsigned int isA_spin;
347  long unsigned int isB_spin;
348  double complex tmp_V;
349 };/*struct LargeList*/
353 struct PhysList {
354  //double energy,doublon;
355  double energy;
356  double doublon;
357  double doublon2;
358  double num;
359  double num2;
360  double Sz;
361  double Sz2;
362  /*[s] For TPQ*/
363  double var;
364  /*[e] For TPQ*/
365 
366  /*[s] For Full Diagonalization*/
368  double num_up;
369  double num_down;
370  double s2;
371  double *all_energy;
373  double *all_doublon;
375  double *all_sz;
377  double *all_s2;
379  double *all_num_up;
381  double *all_num_down;
383  /*[e] For Full Diagonalization*/
384 
385  double *spin_real_cor;
387  double *loc_spin_z;
390 };/*struct PhysList*/
394 struct BoostList {
395  int flgBoost;
396  long unsigned int R0;
397  long unsigned int W0;
398  long unsigned int num_pivot;
399  long unsigned int ishift_nspin;
400  unsigned int NumarrayJ;
401  double complex ***arrayJ;
402  double complex vecB[3];
405 };/*struct BoostList*/
409 struct BindStruct {
410  struct DefineList Def;
411  struct CheckList Check;
412  struct LargeList Large;
413  struct PhysList Phys;
414  struct BoostList Boost;
415 };/*struct BindStruct*/
420  struct BindStruct Bind;
421 };/*struct EDMainCalStruct*/
426  time_t tstart;
427  time_t tnow;
428  time_t tend;
429 };/*struct TimeKeepStruct*/
430 
431 /*global variables---------------------------------------------*/
433 /*-------------------------------------------------------------*/
434 
435 #endif /* HPHI_STRUCT_H */
unsigned int NTETimeSteps
Definition: struct.h:246
double * all_num_down
[CheckList::idim_max+1] Number of spin-down electrons for FullDiag and LOBPCG. malloc in setmem_large...
Definition: struct.h:381
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:273
double * all_s2
[CheckList::idim_max+1] for FullDiag and LOBPCG. malloc in setmem_large().
Definition: struct.h:377
int LanczosEps
log(10 base) of the convergence threshold. Read from Calcmod in readdef.h
Definition: struct.h:48
For Matrix-Vector product.
Definition: struct.h:313
int iFlgSpecOmegaMin
Whether DefineList::dcOmegaMin is input or not.
Definition: struct.h:214
long unsigned int B_spin
Mask used in the bit oeration.
Definition: struct.h:342
unsigned int NHundCoupling
Number of Hund coupling.
Definition: struct.h:133
long unsigned int W0
Definition: struct.h:397
int *** TEInterAll
Definition: struct.h:278
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:403
int ** SpinTEChemi
Definition: struct.h:295
unsigned int NTEInterAllMax
Definition: struct.h:270
unsigned int NLocSpn
Number of local spins.
Definition: struct.h:84
Time keeping.
Definition: struct.h:425
int iFlgSzConserved
Flag whether Sz is conserved.
Definition: struct.h:87
long unsigned int ihfbit
Used for Ogata-Lin ???
Definition: struct.h:345
int itr
Iteration number.
Definition: struct.h:315
unsigned long int idim_max
The dimension of the Hilbert space of this process.
Definition: struct.h:303
int ** ExchangeCoupling
[DefineList::NExchangeCoupling][2] Index of exchange term. malloc in setmem_def().
Definition: struct.h:146
int iReStart
Definition: struct.h:221
double num_up
Expectation value of the number of up-spin electtrons.
Definition: struct.h:368
double Target_CG_energy
Taget energy of CG-inversed iteration (NOT LOBCG) method.
Definition: struct.h:389
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:250
long unsigned int is2_up
Mask used in the bit oeration.
Definition: struct.h:327
long unsigned int is4_spin
Mask used in the bit oeration.
Definition: struct.h:335
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:217
int *** TETransferDiagonal
Definition: struct.h:262
long unsigned int isB_spin
Mask used in the bit oeration.
Definition: struct.h:347
double complex dcOmegaMax
Upper limit of the frequency for the spectrum.
Definition: struct.h:209
double complex prdct
The expectation value of the energy.
Definition: struct.h:314
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 outputting an eigenvector. 0: no output, 1:output.
Definition: struct.h:202
double * TETime
Definition: struct.h:247
int ** TEChemi
Definition: struct.h:293
unsigned long int idim_maxMPIOrg
The global Hilbert-space dimention of original state for the spectrum.
Definition: struct.h:306
long unsigned int is1_spin
Mask used in the bit oeration.
Definition: struct.h:332
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:369
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::NTransf...
Definition: struct.h:110
long unsigned int num_pivot
Definition: struct.h:398
int iNGPU
GPU mode ( only for FullDiag )
Definition: struct.h:230
double sgn
Not used ???
Definition: struct.h:331
unsigned long int idim_maxMPI
The total dimension across process.
Definition: struct.h:304
long int SizeOflist_2_1
Size of list_2_1.
Definition: struct.h:318
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:404
int isite2
Is it realy used ???
Definition: struct.h:337
int iFlgScaLAPACK
ScaLAPACK mode ( only for FullDiag )
Definition: struct.h:235
double Sz2
Expectation value of the Square of total Sz.
Definition: struct.h:361
int mode
multiply or expectation value.
Definition: struct.h:330
unsigned int nvec
Read from Calcmod in readdef.h.
Definition: struct.h:46
double * ParaLaser
Definition: struct.h:251
double complex ** ParaTETransfer
Definition: struct.h:264
double ** ParaTEChemi
Definition: struct.h:296
unsigned int NInterAll_OffDiagonal
Number of interall term (off-diagonal)
Definition: struct.h:165
unsigned int * NTETransfer
Definition: struct.h:256
Bind.
Definition: struct.h:419
long unsigned int is3_spin
Mask used in the bit oeration.
Definition: struct.h:334
unsigned long int sdim
Dimension for Ogata-Lin ???
Definition: struct.h:307
Size of the Hilbert space.
Definition: struct.h:302
unsigned int * NTEChemi
Definition: struct.h:294
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:387
int isite3
Is it realy used ???
Definition: struct.h:338
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:358
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:316
unsigned int Ndown
Number of spin-down electrons in this process.
Definition: struct.h:59
double ** ParaTETransferDiagonal
Definition: struct.h:266
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:286
double complex tmp_trans
Hopping parameter.
Definition: struct.h:322
long unsigned int A_spin
Mask used in the bit oeration.
Definition: struct.h:341
double complex tmp_J
Coupling constant.
Definition: struct.h:323
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:328
double complex * ParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::N...
Definition: struct.h:113
Bind.
Definition: struct.h:409
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:305
unsigned int Nsite
Number of sites in the INTRA process region.
Definition: struct.h:56
int iFlgMPI
MPI mode.
Definition: struct.h:225
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:325
double complex * EDParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::N...
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:344
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:401
double complex ** ParaTEInterAllOffDiagonal
Definition: struct.h:288
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:326
long int i_max
Length of eigenvector.
Definition: struct.h:317
double * EDParaChemi
[DefineList::Nsite] On-site potential parameter. malloc in setmem_def().
Definition: struct.h:100
Physical quantities (Expectation value)
Definition: struct.h:353
double * all_doublon
[CheckList::idim_max+1] Doublon for FullDiag and LOBPCG. malloc in setmem_large().
Definition: struct.h:373
long unsigned int R0
Definition: struct.h:396
int *** TETransfer
Definition: struct.h:260
unsigned int NsiteMPI
Total number of sites, differ from DefineList::Nsite.
Definition: struct.h:57
long unsigned int ishift_nspin
Definition: struct.h:399
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:370
double var
Expectation value of the Energy variance.
Definition: struct.h:363
int iFlgGeneralSpin
Flag for the general (Sz/=1/2) spin.
Definition: struct.h:86
int iNOmega
Number of frequencies for spectrum.
Definition: struct.h:212
time_t tend
End time.
Definition: struct.h:428
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:215
long unsigned int is2_spin
Mask used in the bit oeration.
Definition: struct.h:333
int isite4
Is it realy used ???
Definition: struct.h:339
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:348
unsigned int * NTEInterAllDiagonal
Definition: struct.h:276
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:291
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
int iOutputExVec
Definition: struct.h:206
time_t tstart
Start time.
Definition: struct.h:426
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:211
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:386
long unsigned int isA_spin
Mask used in the bit oeration.
Definition: struct.h:346
For Boost.
Definition: struct.h:394
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:213
double * spin_real_cor
Malloc, but Not used ???
Definition: struct.h:385
struct EDMainCalStruct X
Definition: struct.h:432
time_t tnow
Current time.
Definition: struct.h:427
long unsigned int irght
Used for Ogata-Lin ???
Definition: struct.h:343
double doublon
Expectation value of the Doublon.
Definition: struct.h:356
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:375
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:210
double Sz
Expectation value of the Total Sz.
Definition: struct.h:360
int *** TEInterAllOffDiagonal
Definition: struct.h:281
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:395
int *** TEInterAllDiagonal
Definition: struct.h:284
int iFlgCalcSpec
Input parameter CalcSpec in teh CalcMod file.
Definition: struct.h:216
double max_mem
Estimated memory size.
Definition: struct.h:308
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:367
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:400
long int SizeOflistjb
Used for computing Sz.
Definition: struct.h:320
double energy
Expectation value of the total energy.
Definition: struct.h:355
int * EDChemi
[DefineList::Nsite] Chemical potential. malloc in setmem_def().
Definition: struct.h:98
unsigned int NTETransferMax
Definition: struct.h:255
int iInputEigenVec
Switch for reading an eigenvector. 0: no input, 1:input.
Definition: struct.h:203
unsigned int * NTEInterAll
Definition: struct.h:271
int iOutputHam
Definition: struct.h:204
double num2
Expectation value of the quare of the number of electrons.
Definition: struct.h:359
unsigned int * NTETransferDiagonal
Definition: struct.h:258
int isite1
Is it realy used ???
Definition: struct.h:336
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:319
double * all_num_up
[CheckList::idim_max+1] Number of spin-up electrons for FullDiag and LOBPCG. malloc in setmem_large()...
Definition: struct.h:379
double doublon2
Expectation value of the Square of doublon.
Definition: struct.h:357
Definision of system (Hamiltonian) etc.
Definition: struct.h:41
double Target_energy
Is it really used ???
Definition: struct.h:388
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:371
unsigned int k_exct
Read from Calcmod in readdef.h.
Definition: struct.h:47