File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
source/module_hamilt_lcao/module_gint Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments