Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ OBJS_LCAO=evolve_elec.o\
LCAO_set_fs.o\
LCAO_set_st.o\
LCAO_nl_mu.o\
LCAO_nnr.o\
LCAO_set_zero.o\
LCAO_allocate.o\
LCAO_set_mat2d.o\
Expand Down
10 changes: 2 additions & 8 deletions source/module_esolver/set_matrix_grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void ESolver_KS_LCAO<TK, TR>::set_matrix_grid(Record_adj& ra)
this->pw_rho->nplane,
this->pw_rho->startz_current,
GlobalC::ucell,
GlobalC::GridD,
dr_uniform,
rcuts,
psi_u,
Expand All @@ -85,14 +86,7 @@ void ESolver_KS_LCAO<TK, TR>::set_matrix_grid(Record_adj& ra)
// and allocate the space for H(R) and S(R).
// If k point is used here, allocate HlocR after atom_arrange.
ra.for_2d(this->pv, PARAM.globalv.gamma_only_local, orb_.cutoffs());

if (!PARAM.globalv.gamma_only_local)
{
// need to first calculae lgd.
// using GridT.init.
this->GridT.cal_nnrg(&this->pv, orb_.cutoffs());
}


ModuleBase::timer::tick("ESolver_KS_LCAO", "set_matrix_grid");
return;
}
Expand Down
1 change: 0 additions & 1 deletion source/module_hamilt_lcao/hamilt_lcaodft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ if(ENABLE_LCAO)
spar_hsr.cpp
spar_st.cpp
spar_u.cpp
LCAO_nnr.cpp
LCAO_set_fs.cpp
LCAO_set_st.cpp
LCAO_nl_mu.cpp
Expand Down
293 changes: 0 additions & 293 deletions source/module_hamilt_lcao/hamilt_lcaodft/LCAO_nnr.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions source/module_hamilt_lcao/hamilt_lcaodft/hamilt_lcao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ HamiltLCAO<TK, TR>::HamiltLCAO(Gint_Gamma* GG_in,
// reset spin index and real space Hamiltonian matrix
int start_spin = -1;
GK_in->reset_spin(start_spin);
GK_in->destroy_pvpR();
GK_in->allocate_pvpR();
}
}

Expand Down
Loading
Loading