Skip to content

Commit

Permalink
Too many empty lines before the Hessian
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Lavigne committed Oct 4, 2020
1 parent 482072b commit 18f768c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/io/writer/gaussian.f90
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,9 @@ subroutine writeResultsGaussianExternal(mol, unit, energy, dipole, gradient, hes
! First, we fake the polarizability and the dipole derivatives, which the
! Gaussian Manual says should be of this form,
!
! Polar(I), I=1,6 3D20.12
do i=1,6
write(unit, '(3D20.12)') (/ 0.0, 0.0, 0.0 /)
enddo

! DDip(I), I=1,9*NAtoms 3D20.12
do i=1,9 * mol%n
! Polar(I), I=1,6 3D20.12 2 rows of 3 x 0.0
! DDip(I), I=1,9*NAtoms 3D20.12 9 x Natoms or 3 natoms rows of 3 x .0.0
do i=1,3*mol%n + 2
write(unit, '(3D20.12)') (/ 0.0, 0.0, 0.0 /)
enddo

Expand Down

0 comments on commit 18f768c

Please sign in to comment.