1 c-----------------------------------------------------------------
2 subroutine sddir_precalc
3 c Applying velocity Verlet algorithm - step 1 to coordinates
4 implicit real*8 (a-h,o-z)
9 include 'COMMON.CONTROL'
13 include 'COMMON.LANGEVIN'
15 include 'COMMON.LANGEVIN.lang0'
17 include 'COMMON.CHAIN'
18 include 'COMMON.DERIV'
20 include 'COMMON.LOCAL'
21 include 'COMMON.INTERACT'
22 include 'COMMON.IOUNITS'
23 include 'COMMON.NAMES'
24 include 'COMMON.TIME1'
25 double precision stochforcvec(MAXRES6)
26 common /stochcalc/ stochforcvec
28 c Compute friction and stochastic forces
32 time_fric=time_fric+MPI_Wtime()-time00
34 call stochastic_force(stochforcvec)
35 time_stoch=time_stoch+MPI_Wtime()-time00
37 c Compute the acceleration due to friction forces (d_af_work) and stochastic
40 call ginv_mult(fric_work, d_af_work)
41 call ginv_mult(stochforcvec, d_as_work)