mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
Fix #2411
This commit is contained in:
parent
87cd5d34ed
commit
d6dd56c2d4
1 changed files with 8 additions and 2 deletions
|
|
@ -462,8 +462,14 @@ CONTAINS
|
|||
qs_env%run_rtp = .TRUE.
|
||||
ALLOCATE (qs_env%rtp)
|
||||
CALL get_qs_env(qs_env, matrix_s=matrix_s)
|
||||
CALL rt_prop_create(qs_env%rtp, qs_env%mos, qs_env%mpools, dft_control, matrix_s(1)%matrix, &
|
||||
rtp_control%linear_scaling)
|
||||
IF (dft_control%do_admm) THEN
|
||||
CPASSERT(ASSOCIATED(qs_env%admm_env))
|
||||
CALL rt_prop_create(qs_env%rtp, qs_env%mos, qs_env%mpools, dft_control, matrix_s(1)%matrix, &
|
||||
rtp_control%linear_scaling, qs_env%admm_env%mos_aux_fit)
|
||||
ELSE
|
||||
CALL rt_prop_create(qs_env%rtp, qs_env%mos, qs_env%mpools, dft_control, matrix_s(1)%matrix, &
|
||||
rtp_control%linear_scaling)
|
||||
END IF
|
||||
|
||||
CASE (use_restart_wfn, use_rt_restart)
|
||||
CALL qs_energies_init(qs_env, .FALSE.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue