Skip to content

Commit

Permalink
GFNFF: Update ntrans in latPoint structure (grimme-lab#993)
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Gorges <[email protected]>
  • Loading branch information
Thomas3R authored and gorges97 committed Mar 27, 2024
1 parent b544c33 commit d12593d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gfnff/gfnff_ini.f90
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ integer function itabrow6(i)

call init_l(latPoint, env, mol%lattice, mol%boundaryCondition, MaxCutOff)
call latPoint%getLatticepoints(transVec, MaxCutOff)
latPoint%ntrans = size(transVec, dim=2)
allocate(dcndL(3,3,mol%n),source = 0.0d0)
call getCoordinationNumber(mol, latPoint%nTrans, transVec, 40.0_wp, 5, cn, dcn, dcndL, param)
deallocate(dcndL)
Expand Down

0 comments on commit d12593d

Please sign in to comment.