|
HΦ
3.2.0
|
File for giving multiplying functions to the wave vectors for TPQ and TE method. More...
#include "Common.h"#include "diagonalcalc.h"#include "Multiply.h"#include "wrapperMPI.h"#include "mltply.h"
Include dependency graph for Multiply.c:Go to the source code of this file.
Functions | |
| int | Multiply (struct BindStruct *X) |
| Function of calculating the i-th step norm as \[ N^{(i)} = |L v_1^{(i)}-v_0^{(i)}/N_s | \] and update the i+1-th wave vector as \[ v_0^{(i+1)} = \frac{L v_1^{(i)}-v_0^{(i)}/N_s}{N^{(i)}} \] for TPQ calculation. More... | |
| int | MultiplyForTEM (struct BindStruct *X) |
| Function of multiplying Hamiltonian for Time Evolution. More... | |
File for giving multiplying functions to the wave vectors for TPQ and TE method.
Definition in file Multiply.c.
| int Multiply | ( | struct BindStruct * | X | ) |
Function of calculating the i-th step norm as
\[ N^{(i)} = |L v_1^{(i)}-v_0^{(i)}/N_s | \]
and update the i+1-th wave vector as
\[ v_0^{(i+1)} = \frac{L v_1^{(i)}-v_0^{(i)}/N_s}{N^{(i)}} \]
for TPQ calculation.
| X | [in] data list for calculation (idim_max and NsiteMPI) |
| 0 | normally finished |
| -1 | unnormally finished |
Definition at line 43 of file Multiply.c.
References BindStruct::Check, BindStruct::Def, global_norm, CheckList::idim_max, LargeValue, MultiplyForTEM(), DefineList::NsiteMPI, SumMPI_dc(), v0, and v1.
Referenced by CalcByTPQ().
Here is the call graph for this function:
Here is the caller graph for this function:| int MultiplyForTEM | ( | struct BindStruct * | X | ) |
Function of multiplying Hamiltonian for Time Evolution.
Make \( |v_0 \rangle = |\psi(t+dt) \rangle \) from \( |v_1 \rangle = | \psi(t) \rangle \) and \( |v_0 \rangle = H |\psi(t) \rangle \).
| X | [in] data list for calculation (idim_max and TimeSlice) |
| 0 | normally finished |
| -1 | unnormally finished |
Definition at line 80 of file Multiply.c.
References BindStruct::Check, BindStruct::Def, ParamList::ExpandCoef, global_norm, CheckList::idim_max, mltply(), DefineList::Param, SumMPI_dc(), ParamList::TimeSlice, v0, v1, and v2.
Referenced by CalcByTEM(), and Multiply().
Here is the call graph for this function:
Here is the caller graph for this function: