time derivative of each component's spline
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(body_eph_interface), | intent(inout) | :: | me | |||
| real(kind=wp), | intent(in) | :: | et |
ephemeris time (sec) |
d/dt of the position/velocity vector
function get_rv_dot(me,et) result(rvdot) !! time derivative of each component's spline class(body_eph_interface),intent(inout) :: me real(wp),intent(in) :: et !! ephemeris time (sec) real(wp),dimension(6) :: rvdot !! d/dt of the position/velocity vector integer :: iflag, i do i = 1, 6 call db1val(et, 1, me%eph%tx(:,i), me%eph%nx, kx, me%eph%bcoef(:,i), rvdot(i), iflag, & me%inbvx, me%w0, extrap=.false.) if (iflag /= 0) then write(*,*) 'et = ', et write(*,*) 'iflag = ', iflag error stop 'error calling get_rv_dot' end if end do end function get_rv_dot