! else
! not_done=.false.
! endif
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
!el---------------------
endif
#endif
call var_to_geom_restr(n,x)
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
!
! Evaluate the derivatives of virtual bond lengths and SC vectors in variables.
icg=mod(nf,2)+1
call var_to_geom_restr(n,x)
call zerograd
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
!d write (iout,*) 'ETOTAL called from FUNC'
call etotal(energia)
cur_omeg(i)=omeg(i)
endif
enddo
-
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
call egb1(evdw)
call esc(escloc)
wang=orig_w(11)
wtor=orig_w(13)
wtor_d=orig_w(14)
-
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
call etotal(energy_)
etot=energy_(0)
call var_to_geom_restr(n,x)
call zerograd
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
!d write (iout,*) 'ETOTAL called from FUNC'
call egb1(evdw)
if (nf.eq.0) return
goto 40
30 call var_to_geom_restr(n,x)
+ write(iout,*) 'Warning calling chainbuild'
call chainbuild
!
! Evaluate the derivatives of virtual bond lengths and SC vectors in variables.