mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Reset atomic state after response basis calculation. (#4515)
This commit is contained in:
parent
5f3bc36082
commit
0b11ff4cc6
1 changed files with 2 additions and 0 deletions
|
|
@ -575,6 +575,8 @@ CONTAINS
|
|||
wfn(:, :, :, ider) = atom%orbitals%wfn
|
||||
state%occupation(lhomo, nhomo) = fhomo
|
||||
END DO
|
||||
! reset
|
||||
CALL calculate_atom(atom, iw=0, noguess=.TRUE.)
|
||||
|
||||
DO l = 0, state%maxl_occ
|
||||
! occupied states
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue