Skip to content

Commit 5d97dd8

Browse files
authored
Refactor: decrease memory cost of get_s (deepmodeling#5979)
1 parent f1bfe91 commit 5d97dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_hamilt_lcao/hamilt_lcaodft/hamilt_lcao.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ HamiltLCAO<TK, TR>::HamiltLCAO(const UnitCell& ucell,
5656
this->kv = &kv_in;
5757

5858
// Real space Hamiltonian is inited with template TR
59-
this->hR = new HContainer<TR>(paraV);
59+
// this->hR = new HContainer<TR>(paraV);
6060
this->sR = new HContainer<TR>(paraV);
61-
this->hsk = new HS_Matrix_K<TK>(paraV);
61+
// this->hsk = new HS_Matrix_K<TK>(paraV);
6262

6363
this->getOperator() = new OverlapNew<OperatorLCAO<TK, TR>>(this->hsk,
6464
this->kv->kvec_d,

0 commit comments

Comments
 (0)