|
HPhi++
3.1.0
|
#include "bitcalc.hpp"#include "mltplyCommon.hpp"#include "mltply.hpp"#include "expec_energy_flct.hpp"#include "wrapperMPI.hpp"#include "CalcTime.hpp"#include "common/setmemory.hpp"Go to the source code of this file.
Functions | |
| int | expec_energy_flct_HubbardGC (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for Hubbard GC model. More... | |
| int | expec_energy_flct_Hubbard (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for Hubbard model. More... | |
| int | expec_energy_flct_HalfSpinGC (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for Half-SpinGC model. More... | |
| int | expec_energy_flct_GeneralSpinGC (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for General-SpinGC model. More... | |
| int | expec_energy_flct_HalfSpin (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for Half-Spin model. More... | |
| int | expec_energy_flct_GeneralSpin (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0) |
| Calculate expected values of energies and physical quantities for General-Spin model. More... | |
| int | expec_energy_flct (struct BindStruct *X, int nstate, std::complex< double > **tmp_v0, std::complex< double > **tmp_v1) |
| Parent function to calculate expected values of energy and physical quantities. More... | |
| int expec_energy_flct | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0, | ||
| std::complex< double > ** | tmp_v1 | ||
| ) |
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 716 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, PhysList::energy, expec_energy_flct_GeneralSpinGC(), expec_energy_flct_HalfSpinGC(), expec_energy_flct_Hubbard(), expec_energy_flct_HubbardGC(), 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_dv(), PhysList::Sz, PhysList::Sz2, TimeKeeperWithStep(), DefineList::Total2SzMPI, and PhysList::var.
Referenced by CalcByTEM(), CalcByTPQ(), and phys().
| int expec_energy_flct_GeneralSpin | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 632 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, GetLocal2Sz(), CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, DefineList::SiteToBit, SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
| int expec_energy_flct_GeneralSpinGC | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 450 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, GetLocal2Sz(), CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, DefineList::SiteToBit, SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
Referenced by expec_energy_flct().
| int expec_energy_flct_HalfSpin | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 529 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
| int expec_energy_flct_HalfSpinGC | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 347 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
Referenced by expec_energy_flct().
| int expec_energy_flct_Hubbard | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 187 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, list_1, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
Referenced by expec_energy_flct().
| int expec_energy_flct_HubbardGC | ( | struct BindStruct * | X, |
| int | nstate, | ||
| std::complex< double > ** | tmp_v0 | ||
| ) |
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 29 of file expec_energy_flct.cpp.
References BindStruct::Check, BindStruct::Def, PhysList::doublon, PhysList::doublon2, CheckList::idim_max, myrank, DefineList::Nsite, DefineList::NsiteMPI, nthreads, PhysList::num, PhysList::num2, PhysList::num_down, PhysList::num_up, BindStruct::Phys, pop(), SumMPI_dv(), PhysList::Sz, PhysList::Sz2, and DefineList::Tpow.
Referenced by expec_energy_flct().