dfa wham and cluster corrections
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Thu, 5 May 2016 18:43:38 +0000 (20:43 +0200)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Thu, 5 May 2016 18:43:38 +0000 (20:43 +0200)
source/cluster/wham/src/initialize_p.F
source/wham/src/wham_calc1.F

index 38ecbf3..3fe87fc 100644 (file)
@@ -348,7 +348,7 @@ cd      write (iout,*) 'i=',i,' scheck=',scheck,' jj=',jj
           nint_gr(i)=1
           istart(i,1)=i+1
           iend(i,1)=nct
-          ind_scint=int_scint+nct-i
+          ind_scint=ind_scint+nct-i
 #endif
         endif
 #ifdef MPL
index ee340a7..41f42bc 100644 (file)
@@ -1086,6 +1086,8 @@ c            write (iout,*) "ftbis",ftbis
      &      +ft(5)*wturn6*eturn6+ft(2)*wel_loc*eel_loc
      &      +edihcnstr+ft(2)*wtor_d*etors_d+ft(1)*wsccor*esccor
      &      +wbond*estr+ehomology_constr
+     &      +wdfa_dist*edfadis
+     &      +wdfa_tor*edfator+wdfa_nei*edfanei+wdfa_beta*edfabet
             eprim=ftprim(6)*evdw_t+ftprim(1)*welec*ees
      &            +ftprim(1)*wtor*etors+
      &            ftprim(3)*wcorr*ecorr+ftprim(4)*wcorr5*ecorr5+
@@ -1109,6 +1111,8 @@ c            write (iout,*) "ftbis",ftbis
      &      +ft(5)*wturn6*eturn6+ft(2)*wel_loc*eel_loc+edihcnstr
      &      +ft(2)*wtor_d*etors_d+ft(1)*wsccor*esccor
      &      +wbond*estr+ehomology_constr
+     &      +wdfa_dist*edfadis
+     &      +wdfa_tor*edfator+wdfa_nei*edfanei+wdfa_beta*edfabet
             eprim=ftprim(6)*evdw_t+ftprim(1)*welec*(ees+evdw1)
      &           +ftprim(1)*wtor*etors+
      &            ftprim(3)*wcorr*ecorr+ftprim(4)*wcorr5*ecorr5+