#ifdef MPL
c endif
#endif
-#define DEBUG
+C#define DEBUG
#ifdef DEBUG
call enerprint(energia,fact)
#endif
-#undef DEBUG
+C#undef DEBUG
if (calc_grad) then
C
C Sum up the components of the Cartesian gradient.
& +bb_aq(itypi,itypj)*(2.0d0-sslipi-sslipj)/2.0d0
C if (aa.ne.aa_aq(itypi,itypj)) then
- write(iout,*) "tu,", i,j,aa_aq(itypi,itypj)-aa,
- & bb_aq(itypi,itypj)-bb,
- & sslipi,sslipj
+C write(iout,*) "tu,", i,j,aa_aq(itypi,itypj)-aa,
+C & bb_aq(itypi,itypj)-bb,
+C & sslipi,sslipj
C endif
C write(iout,*),aa,aa_lip(itypi,itypj),aa_aq(itypi,itypj)
c if (lprn) then
sigm=dabs(aa/bb)**(1.0D0/6.0D0)
epsi=bb**2/aa
-#define DEBUG
+C#define DEBUG
#ifdef DEBUG
write (iout,'(2(a3,i3,2x),17(0pf7.3))')
& restyp(itypi),i,restyp(itypj),j,
& evdwij
write (iout,*) "partial sum", evdw, evdw_t
#endif
-#undef DEBUG
+C#undef DEBUG
c endif
if (calc_grad) then
C Calculate gradient components.
C 12/26/95 - for the evaluation of multi-body H-bonding interactions
ees0ij=4.0D0+fac*fac-3.0D0*(cosb*cosb+cosg*cosg)
if (shield_mode.gt.0) then
+C#define DEBUG
+#ifdef DEBUG
+ write(iout,*) "ees_compon",i,j,el1,el2,
+ & fac_shield(i),fac_shield(j)
+#endif
+C#undef DEBUG
C fac_shield(i)=0.4
C fac_shield(j)=0.6
el1=el1*fac_shield(i)**2*fac_shield(j)**2