adding of Czybyshev part 1
[unres.git] / source / unres / src_MD-M / intcartderiv.F
index f78cadd..562ea78 100644 (file)
@@ -163,6 +163,11 @@ c           endif
         endif                                                                                           
       enddo
 Calculate 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
@@ -751,6 +756,7 @@ c        c(j,1)=c(j,1)
           c(j,i+nres)=c(j,i)+dc(j,i+nres)
         enddo
       enddo
+C      print *,'tutu'
 c      write (iout,*) "CHAINBUILD_CART"
 c      call cartprint
       call int_from_cart1(.false.)