Skip to content

Commit

Permalink
Fix initialization when reading GFN-FF parameters (#220)
Browse files Browse the repository at this point in the history
Fix setup of covalent radii when reading gfnff parameter file
  • Loading branch information
awvwgk committed May 20, 2020
1 parent 38d61b9 commit 8440ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gfnff/gfnff_param.f90
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ end subroutine loadGFNFFAngewChem2020

subroutine gfnff_read_param(iunit, param)
use xtb_mctc_accuracy, only : wp
use xtb_param_covalentRadD3, only : covalentRadD3
implicit none
! Dummy
integer,intent(in) :: iunit
Expand All @@ -515,6 +516,7 @@ subroutine gfnff_read_param(iunit, param)

param%en(:) = en
param%rad(:) = rad
param%rcov(:) = covalentRadD3(1:86)
param%metal(:) = metal
param%group(:) = group
param%normcn(:) = normcn
Expand Down

0 comments on commit 8440ffa

Please sign in to comment.