include 'COMMON.VAR'
include 'COMMON.LOCAL'
include 'COMMON.CONTROL'
-
+#ifndef DFA
+ edfadis=0.0d0
+ edfator=0.0d0
+ edfanei=0.0d0
+ edfabet=0.0d0
+#endif
c write(iout,'(a,i2)')'Calling etotal_short ipot=',ipot
c call flush(iout)
if (modecalc.eq.12.or.modecalc.eq.14) then
C Calculate electrostatic (H-bonding) energy of the main chain.
C
107 continue
-
+#ifdef DFA
C BARTEK for dfa test!
if (wdfa_dist.gt.0) then
call edfad(edfadis)
edfabet=0.0
endif
c print*, 'edfab is finished!', edfabet
+#endif
c
c Calculate the short-range part of Evdwpp
c