Skip to content

Commit

Permalink
fix isotope hessian by shifting initialization with physical values t…
Browse files Browse the repository at this point in the history
…o beginning

Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
marcelmbn authored and marvinfriede committed Feb 7, 2025
1 parent 12fcd37 commit 431b24d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prog/main.F90
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ subroutine xtbMain(env, argParser)
else
call init_metadyn(mol%n, metaset%maxsave)
end if
!> Initialize the atomic masses with the physical constants
atmass = atomic_mass(mol%at) * autoamu ! from splitparam.f90
call load_rmsdbias(rmsdset, mol%n, mol%at, mol%xyz)
! ------------------------------------------------------------------------
!> CONSTRAINTS & SCANS
Expand All @@ -428,7 +430,6 @@ subroutine xtbMain(env, argParser)
! ------------------------------------------------------------------------
!> get some memory
allocate (cn(mol%n), sat(mol%n), g(3, mol%n), source=0.0_wp)
atmass = atomic_mass(mol%at) * autoamu ! from splitparam.f90
set%periodic = mol%npbc > 0
if (mol%npbc == 0) then
if (set%do_cma_trafo) then
Expand Down

0 comments on commit 431b24d

Please sign in to comment.