Skip to content

Commit 8f49425

Browse files
committed
add some anotation for out_mat_hs used along with deepks_out_base
1 parent 0322068 commit 8f49425

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/source_esolver/esolver_double_xc.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ void ESolver_DoubleXC<TK, TR>::iter_finish(UnitCell& ucell, const int istep, int
225225
// GlobalV::ofs_running << std::setprecision(15) << " in deepks etot: etot of target functional (Ry) " << this->pelec->f_en.etot << std::endl;
226226

227227
// update p_hamilt using output charge density
228+
// Note!!!
229+
// This will change the result of out_mat_hs
230+
// The original result of out_mat_hs is H of input density, but this change H to that of output density
231+
// When converged, these two should be close
228232
if (PARAM.inp.deepks_v_delta > 0 && PARAM.inp.vl_in_h)
229233
{
230234
// update real space Hamiltonian

0 commit comments

Comments
 (0)