Skip to content

Commit bde6f50

Browse files
authored
Merge branch 'LTS' into LTS-3
2 parents 9c44600 + f2fb9af commit bde6f50

File tree

1 file changed

+1
-4
lines changed
  • source/module_hamilt_lcao/module_gint

1 file changed

+1
-4
lines changed

source/module_hamilt_lcao/module_gint/gint.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ void Gint::initialize_pvpR(const UnitCell& ucell_in, const Grid_Driver* gd, cons
194194
this->DMRGint[0]->get_memory_size()
195195
* this->DMRGint.size());
196196
} else {
197-
// this->hRGintCd->insert_ijrs(this->gridt->get_ijr_info(), ucell_in, npol);
198-
// this->hRGintCd->allocate(nullptr, true);
199-
// ModuleBase::Memory::record("Gint::hRGintCd",
200-
// this->hRGintCd->get_memory_size());
201197
for(int is = 0; is < nspin; is++) {
202198
this->hRGint_tmp[is]->insert_ijrs(this->gridt->get_ijr_info(), ucell_in);
203199
this->DMRGint[is]->insert_ijrs(this->gridt->get_ijr_info(), ucell_in);
@@ -259,6 +255,7 @@ void Gint::transfer_DM2DtoGrid(std::vector<hamilt::HContainer<double>*> DM2D) {
259255
int ng = DM2D[0]->get_paraV()->get_global_col_size()/2;
260256
int nb = DM2D[0]->get_paraV()->get_block_size()/2;
261257
int blacs_ctxt = DM2D[0]->get_paraV()->blacs_ctxt;
258+
262259
std::vector<int> iat2iwt(ucell->nat);
263260
for (int iat = 0; iat < ucell->nat; iat++) {
264261
iat2iwt[iat] = ucell->get_iat2iwt()[iat]/2;

0 commit comments

Comments
 (0)