mirror of https://gitlab.com/QEF/q-e.git
Fixed a bug in constrained dynamics.
C.S. git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1225 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
c1790428d9
commit
7976b25ce8
|
@ -976,7 +976,7 @@ SUBROUTINE iosys()
|
|||
!
|
||||
DO ia = 1, nconstr
|
||||
!
|
||||
target(ia) = norm( tau(:,constr(1,ia)) - tau(:,constr(2,ia)) )
|
||||
target(ia) = norm( tau(:,constr(1,ia)) - tau(:,constr(2,ia)) ) * alat
|
||||
!
|
||||
ltest = if_pos(1,constr(1,ia)) == 0 .OR. &
|
||||
if_pos(1,constr(2,ia)) == 0 .OR. &
|
||||
|
|
Loading…
Reference in New Issue