ENERGY_DEC printout works for ebend in E0LL2Y forcefield
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Mon, 26 Oct 2015 11:45:46 +0000 (12:45 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Mon, 26 Oct 2015 11:45:46 +0000 (12:45 +0100)
source/unres/src_MD-M/energy_p_new_barrier.F
source/unres/src_MD/energy_p_new_barrier.F

index 34de14e..91353c1 100644 (file)
@@ -5822,6 +5822,8 @@ c        lprn1=.true.
      &   phii1*rad2deg,ethetai
 c        lprn1=.false.
         etheta=etheta+ethetai
+        if (energy_dec) write (iout,'(a6,i5,0pf7.3)')
+     &      'ebend',i,ethetai
         if (i.gt.3) gloc(i-3,icg)=gloc(i-3,icg)+wang*dephii
         if (i.lt.nres) gloc(i-2,icg)=gloc(i-2,icg)+wang*dephii1
         gloc(nphi+i-2,icg)=wang*dethetai+gloc(nphi+i-2,icg)
index e594976..8943347 100644 (file)
@@ -5041,6 +5041,8 @@ c        lprn1=.true.
      &   phii1*rad2deg,ethetai
 c        lprn1=.false.
         etheta=etheta+ethetai
+        if (energy_dec) write (iout,'(a6,i5,0pf7.3)')
+     &      'ebend',i,ethetai
         if (i.gt.3) gloc(i-3,icg)=gloc(i-3,icg)+wang*dephii
         if (i.lt.nres) gloc(i-2,icg)=gloc(i-2,icg)+wang*dephii1
         gloc(nphi+i-2,icg)=gloc(nphi+i-2,icg)+wang*dethetai