HΦ
3.2.0
|
#include "bitcalc.h"
#include "mltplyCommon.h"
#include "mltply.h"
#include "expec_energy_flct.h"
#include "wrapperMPI.h"
#include "CalcTime.h"
Go to the source code of this file.
Functions | |
int | expec_energy_flct (struct BindStruct *X) |
Parent function to calculate expected values of energy and physical quantities. More... | |
int | expec_energy_flct_HubbardGC (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for Hubbard GC model. More... | |
int | expec_energy_flct_Hubbard (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for Hubbard model. More... | |
int | expec_energy_flct_HalfSpinGC (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for Half-SpinGC model. More... | |
int | expec_energy_flct_GeneralSpinGC (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for General-SpinGC model. More... | |
int | expec_energy_flct_HalfSpin (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for Half-Spin model. More... | |
int | expec_energy_flct_GeneralSpin (struct BindStruct *X) |
Calculate expected values of energies and physical quantities for General-Spin model. More... | |
int expec_energy_flct | ( | struct BindStruct * | X | ) |
Parent function to calculate expected values of energy and physical quantities.
X | [in,out] X Struct to get information about file header names, dimension of hirbert space, calc type, physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 34 of file expec_energy_flct.c.
References cExpecEnd, cExpecStart, cFileNameTimeKeep, BindStruct::Check, cLogExpecEnergyEnd, cLogExpecEnergyStart, cTPQExpecEnd, cTPQExpecStart, BindStruct::Def, PhysList::doublon, PhysList::doublon2, PhysList::energy, expec_energy_flct_GeneralSpinGC(), expec_energy_flct_HalfSpinGC(), expec_energy_flct_Hubbard(), expec_energy_flct_HubbardGC(), FALSE, GetSplitBitByModel(), LargeList::i_max, DefineList::iCalcModel, DefineList::iCalcType, CheckList::idim_max, DefineList::iFlgGeneralSpin, LargeList::ihfbit, LargeList::ilft, LargeList::irght, BindStruct::Large, mltply(), LargeList::mode, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, BindStruct::Phys, StartTimer(), stdoutMPI, step_i, StopTimer(), SumMPI_dc(), PhysList::Sz, PhysList::Sz2, TimeKeeper(), TimeKeeperWithStep(), DefineList::Total2SzMPI, v0, v1, and PhysList::var.
Referenced by CalcByLanczos(), CalcByTEM(), CalcByTPQ(), and phys().
int expec_energy_flct_GeneralSpin | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for General-Spin model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 621 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, GetLocal2Sz(), CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, DefineList::SiteToBit, SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
int expec_energy_flct_GeneralSpinGC | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for General-SpinGC model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 500 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, GetLocal2Sz(), CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, DefineList::SiteToBit, SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
Referenced by expec_energy_flct().
int expec_energy_flct_HalfSpin | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for Half-Spin model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 548 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
int expec_energy_flct_HalfSpinGC | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for Half-SpinGC model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 428 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
Referenced by expec_energy_flct().
int expec_energy_flct_Hubbard | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for Hubbard model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 305 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
Referenced by expec_energy_flct().
int expec_energy_flct_HubbardGC | ( | struct BindStruct * | X | ) |
Calculate expected values of energies and physical quantities for Hubbard GC model.
X | [in, out] X Struct to get information about file header names, dimension of hirbert space, calc type and output physical quantities. |
0 | normally finished. |
-1 | abnormally finished. |
Definition at line 185 of file expec_energy_flct.c.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_d(), PhysList::Sz, PhysList::Sz2, DefineList::Tpow, and v0.
Referenced by expec_energy_flct().