You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/module_pw/pw_basis.h
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ class PW_Basis
58
58
int *nst_per;// nst on each core
59
59
// on all proc.
60
60
int *ig2isz; // map ig to (is, iz).
61
-
int *istot2ixy; //istot2ixy[is]: ix + iy * nx of is^th stick among all sticks.
61
+
int *istot2bigixy; //istot2bigixy[is]: iy + ix * bigny of is^th stick among all sticks.
62
62
int *ixy2istot; // ixy2istot[ix + iy * nx]: is of stick on (ix, iy) among all sticks.
63
63
int *is2ixy; // is2ixy[is]: ix + iy * bignx of is^th stick among sticks on current proc.
64
64
int *ixy2ip; // ixy2ip[ix + iy * nx]: ip of proc which contains stick on (ix, iy).
@@ -144,14 +144,12 @@ class PW_Basis
144
144
int* st_length, // the stick on (x, y) consists of st_length[x*ny+y] planewaves.
145
145
int* npw_per // number of planewaves on each core.
146
146
);
147
-
voidget_istot2ixy(
147
+
voidget_istot2bigixy(
148
148
int* st_i, // x or x + nx (if x < 0) of stick.
149
149
int* st_j // y or y + ny (if y < 0) of stick.
150
150
);
151
151
// for distributeg_method2
152
-
voiddivide_sticks2(
153
-
int* nst_per // number of sticks on each core.
154
-
);
152
+
voiddivide_sticks2();
155
153
voidcreate_maps(
156
154
int* st_length2D, // the number of planewaves that belong to the stick located on (x, y), stored in 2d x-y plane.
157
155
int* npw_per // number of planewaves on each core.
@@ -196,8 +194,8 @@ class PW_Basis
196
194
197
195
voidgatherp_scatters(std::complex<double> *in, std::complex<double> *out); //gather planes and scatter sticks of all processors
198
196
voidgathers_scatterp(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors
199
-
voidgathers_scatterp2(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors
200
-
voidgatherp_scatters2(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors
197
+
//void gathers_scatterp2(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors
198
+
//void gatherp_scatters2(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors
201
199
voidgatherp_scatters_gamma(std::complex<double> *in, std::complex<double> *out); //gather planes and scatter sticks of all processors, used when gamma_only
202
200
voidgathers_scatterp_gamma(std::complex<double> *in, std::complex<double> *out); //gather sticks of and scatter planes of all processors, used when gamma only
0 commit comments