Skip to content

Commit 8614c82

Browse files
committed
small change
1 parent 2ad4e7a commit 8614c82

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

source/module_hamilt_lcao/module_gint/gint_k_pvdpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void Gint_k::allocate_pvdpR(void)
3333
pvdpRz_reduced[is].allocate(nullptr, true);
3434
}
3535

36-
ModuleBase::Memory::record("pvdpR_reduced", 3 * sizeof(double) * this->pvdpRx_reduced[0].get_nnr() * nspin);
36+
ModuleBase::Memory::record("pvdpR_reduced", 3 * sizeof(double) * this->gridt->nnrg * nspin);
3737
return;
3838
}
3939

source/module_hamilt_lcao/module_gint/grid_technique.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,6 @@ class Grid_Technique : public Grid_MeshBall {
6767
// use: GridT.in_this_processor
6868
//---------------------------------------
6969
int nnrg = 0;
70-
// bool allocate_find_R2;
71-
// std::vector<int> nlocdimg;
72-
// std::vector<int> nlocstartg;
73-
// std::vector<int> nad; // number of adjacent atoms for each atom.
74-
// std::vector<std::vector<int>> find_R2;
75-
// std::vector<std::vector<int>> find_R2_sorted_index;
76-
// std::vector<std::vector<int>> find_R2st;
77-
78-
// int binary_search_find_R2_offset(int val, int iat) const;
7970

8071
// UnitCell and LCAO_Obrbitals
8172
const UnitCell* ucell;

0 commit comments

Comments
 (0)