mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
Initialize energy array (#3461)
This commit is contained in:
parent
4261cd5b25
commit
417e363ffe
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ CONTAINS
|
|||
.NOT. dft_control%qs_control%dftb) THEN
|
||||
CALL get_qs_env(qs_env=qs_env, natom=natom)
|
||||
ALLOCATE (atcore(natom))
|
||||
atcore = 0.0_dp
|
||||
ALLOCATE (core_mat(1))
|
||||
ALLOCATE (core_mat(1)%matrix)
|
||||
CALL dbcsr_create(core_mat(1)%matrix, template=matrix_h(1)%matrix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue