Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiatj authored and dev-zero committed Feb 24, 2020
1 parent a041acb commit 3a04bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qs_moments.F
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ SUBROUTINE qs_moment_locop(qs_env, magnetic, nmoments, reference, ref_point, uni
rmom_vel(4) = -2*qupole_der(1) - rmom(1, 1)
rmom_vel(5) = -qupole_der(2) - qupole_der(4)
rmom_vel(6) = -qupole_der(3) - qupole_der(7)
rmom_vel(7) = -2*(qupole_der(5)) - rmom(1, 1)
rmom_vel(7) = -2*qupole_der(5) - rmom(1, 1)
rmom_vel(8) = -qupole_der(6) - qupole_der(8)
rmom_vel(9) = -2*qupole_der(9) - rmom(1, 1)
Expand Down Expand Up @@ -2287,7 +2287,7 @@ SUBROUTINE print_moments_nl(unit_number, nmom, rlab, mmom, rmom_vel)
IF (PRESENT(mmom)) THEN
IF (nmom >= 1) THEN
dd = SQRT(SUM(mmom(1:3)**2))
WRITE (unit_number, "(T3,A)") "Magnetic Dipole Moment (only orbital contrib.) [a.u.] incl. com_nl"
WRITE (unit_number, "(T3,A)") "Orbital angular momentum [a.u.] incl. com_nl"
WRITE (unit_number, "(T5,3(A,A,F14.8,1X),T60,A,T67,F14.8)") &
(TRIM(rlab(i + 1)), "=", mmom(i), i=1, 3), "Total=", dd
END IF
Expand Down

0 comments on commit 3a04bf1

Please sign in to comment.