Go to the documentation of this file.
8 subroutine intpos(sec1,pos1,vel1,sec2,pos2,vel2,sec,pos,vel)
13 real*4 pos1(3),pos2(3),pos(3)
14 real*4 vel1(3),vel2(3),vel(3)
15 real*4 a0(3),a1(3),a2(3),a3(3)
24 a2(j) = 3.d0*pos2(j) - 3.d0*pos1(j)
25 . - 2.d0*vel1(j)*dt - vel2(j)*dt
26 a3(j) = 2.d0*pos1(j) - 2.d0*pos2(j)
27 . + vel1(j)*dt + vel2(j)*dt
35 pos(j) = a0(j) + a1(j)*x + a2(j)*x2 + a3(j)*x3
36 vel(j) = (a1(j) + 2.*a2(j)*x + 3.*a3(j)*x2)/dt
subroutine intpos(sec1, pos1, vel1, sec2, pos2, vel2, sec, pos, vel)