mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Fix initialization for GRB ATOM with n=0 (#1216)
* xTB pairpotential (A. Hehn) * Adjust regtest * Adjust regtests * ATOM GRB code: Initialize variable for n=0 case
This commit is contained in:
parent
8458bfe169
commit
8c64c6ea2a
1 changed files with 1 additions and 1 deletions
|
|
@ -422,11 +422,11 @@ CONTAINS
|
|||
! generate polarization sets
|
||||
maxl = atom%state%maxl_occ
|
||||
CALL section_vals_val_get(grb_section, "NUM_GTO_POLARIZATION", i_val=num_gto)
|
||||
num_pol = num_gto
|
||||
IF (num_gto > 0) THEN
|
||||
IF (iw > 0) THEN
|
||||
WRITE (iw, '(/,A)') " Polarization basis set "
|
||||
END IF
|
||||
num_pol = num_gto
|
||||
ALLOCATE (pbasis(num_gto, num_gto, 0:7), alp(num_gto))
|
||||
pbasis = 0.0_dp
|
||||
! optimize exponents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue