Skip to content

Commit b13bc06

Browse files
committed
save
1 parent 9f9863f commit b13bc06

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

source/module_rdmft/rdmft.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,13 @@ void RDMFT<TK, TR>::init(Gint_Gamma& GG_in, Gint_k& GK_in, Parallel_Orbitals& Pa
125125
H_wfc_exx_XC.resize(nk_total, ParaV->ncol_bands, ParaV->nrow);
126126
H_wfc_dft_XC.resize(nk_total, ParaV->ncol_bands, ParaV->nrow);
127127

128-
//
129-
// HK_TV.resize( ParaV->get_row_size()*ParaV->get_col_size() );
130-
// HK_hartree.resize( ParaV->get_row_size()*ParaV->get_col_size() );
131-
// HK_exx_XC.resize( ParaV->get_row_size()*ParaV->get_col_size() );
132-
// HK_dft_XC.resize( ParaV->get_row_size()*ParaV->get_col_size() );
133128
//
134129
hsk_TV = new hamilt::HS_Matrix_K<TK>(ParaV, true);
135130
hsk_hartree = new hamilt::HS_Matrix_K<TK>(ParaV, true);
136131
hsk_dft_XC = new hamilt::HS_Matrix_K<TK>(ParaV, true);
137132
hsk_exx_XC = new hamilt::HS_Matrix_K<TK>(ParaV, true);
138133

139134
HK_XC.resize( ParaV->get_row_size()*ParaV->get_col_size() );
140-
HK_local.resize( ParaV->get_row_size()*ParaV->get_col_size() );
141135
// HK_RDMFT_pass.resize(nk_total, ParaV->get_row_size(), ParaV->get_col_size());
142136
// HK_XC_pass.resize(nk_total, ParaV->get_row_size(), ParaV->get_col_size());
143137

source/module_rdmft/rdmft.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,12 @@ class RDMFT
133133
hamilt::HContainer<TR>* HR_exx_XC = nullptr;
134134
// hamilt::HContainer<TR>* HR_local = nullptr;
135135

136-
std::vector<TK> HK_TV;
137-
std::vector<TK> HK_hartree;
138-
std::vector<TK> HK_exx_XC;
139-
std::vector<TK> HK_dft_XC;
140-
141136
hamilt::HS_Matrix_K<TK>* hsk_TV;
142137
hamilt::HS_Matrix_K<TK>* hsk_hartree;
143138
hamilt::HS_Matrix_K<TK>* hsk_dft_XC;
144139
hamilt::HS_Matrix_K<TK>* hsk_exx_XC;
145140

146141
std::vector<TK> HK_XC;
147-
std::vector<TK> HK_local;
148142
std::vector< std::vector<TK> > DM_XC_pass;
149143
// ModuleDirectMin::ProdStiefelVariable HK_RDMFT_pass;
150144
// ModuleDirectMin::ProdStiefelVariable HK_XC_pass;

0 commit comments

Comments
 (0)