We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e85bd commit d6d8006Copy full SHA for d6d8006
source/source_lcao/module_gint/temp_gint/gint_common.cpp
@@ -250,7 +250,11 @@ void transfer_dm_2d_to_gint(
250
int iat2 = ap.get_atom_j();
251
for (int ir = 0; ir < ap.get_R_size(); ++ir) {
252
const ModuleBase::Vector3<int> r_index = ap.get_R_index(ir);
253
+#ifdef __MPI
254
T* matrix_out = dm2d_tmp.find_matrix(iat1, iat2, r_index)->get_pointer();
255
+#else
256
+ T* matrix_out = dm2d_tmp->find_matrix(iat1, iat2, r_index)->get_pointer();
257
+#endif
258
T* matrix_in = ap.get_pointer(ir);
259
for (int irow = 0; irow < ap.get_row_size()/2; irow ++) {
260
for (int icol = 0; icol < ap.get_col_size()/2; icol ++) {
0 commit comments