bug fix in SCcorr gradient release
authorAdam Sieradzan <adasko@piasek4.chem.univ.gda.pl>
Fri, 17 Jul 2015 12:16:20 +0000 (14:16 +0200)
committerAdam Sieradzan <adasko@piasek4.chem.univ.gda.pl>
Fri, 17 Jul 2015 12:16:20 +0000 (14:16 +0200)
source/unres/energy.f90

index ba167a1..59b09b7 100644 (file)
@@ -14089,6 +14089,11 @@ write(iout,*) "jestesmy sobie w check eint!!"
         endif                                                                                           
       enddo
 !alculate derivative of Tauangle
+      do i=1,nres-1
+       do j=1,3
+        dc_norm2(j,i+nres)=-dc_norm(j,i+nres)
+       enddo
+      enddo
 #ifdef PARINTDER
       do i=itau_start,itau_end
 #else