18 #include "HPhiTrans.h" 20 #include "wrapperMPI.h" 63 for (k = 0; k < cnt_trans; k++) {
102 int isigma1, isigma2;
113 const double dt = time - time_c;
114 const double dt2 = time - (time_c + time_d);
115 const double td = time_c / 3.0;
121 VecPot = Avp * cos(omega * dt) * exp(-dt * dt / (2.0 * time_d * time_d));
122 }
else if (Mode == 1) {
123 VecPot = Avp * sin(omega * dt);
124 }
else if (Mode == 2) {
126 }
else if (Mode == 3) {
127 VecPot = Avp * exp(-time_d * dt);
128 }
else if (Mode == 4) {
131 }
else if (dt < time_d) {
132 VecPot = Avp * cos(omega * dt) * (dt / time_d);
134 VecPot = Avp * cos(omega * dt);
136 }
else if (Mode == 5) {
139 }
else if (time < time_c) {
140 VecPot = Avp * cos(omega * dt) * exp(-dt * dt / (2.0 * td * td));
141 }
else if (time < time_c + time_d) {
142 VecPot = Avp * cos(omega * dt);
144 VecPot = Avp * cos(omega * dt) * exp(-dt2 * dt2 / (2.0 * td * td));
153 if (ri_x - rj_x > 1) {
155 }
else if (ri_x - rj_x < -1) {
158 if (ri_y - rj_y > 1) {
160 }
else if (ri_y - rj_y < -1) {
163 dir = dirX * (ri_x - rj_x) + dirY * (ri_y - rj_y);
191 int isigma1, isigma2;
202 const double dt = time - time_c;
210 }
else if (dt < time_d) {
211 Bessel = j0(Avp * dt / time_d);
222 if (ri_x - rj_x > 1) {
224 }
else if (ri_x - rj_x < -1) {
227 if (ri_y - rj_y > 1) {
229 }
else if (ri_y - rj_y < -1) {
232 dir = dirX * (ri_x - rj_x) + dirY * (ri_y - rj_y);
struct DefineList Def
Definision of system (Hamiltonian) etc.
char * cErrTransfer
Error Message in HPhiTrans.c.
int TransferWithPeierls(struct BindStruct *X, const double time)
Function of getting transfer with peierls.
int childfopenMPI(const char *_cPathChild, const char *_cmode, FILE **_fp)
Only the root process open file in output/ directory.
int ** EDGeneralTransfer
Index of transfer integrals for calculation. malloc in setmem_def(). Data Format [DefineList::NTransf...
char * cErrDoubleCounting
double complex * ParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::N...
double complex * EDParaGeneralTransfer
Value of general transfer integrals by a def file. malloc in setmem_def(). Data Format [DefineList::N...
int TransferForQuench(struct BindStruct *X, const double time)
Function of getting transfer for quench.
unsigned int EDNTransfer
Number of transfer integrals for calculation.
const char * cFileNameWarningOnTransfer
int HPhiTrans(struct BindStruct *X)
Function of checking transfers not to count the same type of operators. .