swiftest_drift_one Interface

interface
public pure elemental module module subroutine swiftest_drift_one(mu, rx, ry, rz, vx, vy, vz, dt, iflag)

Arguments

TypeIntentOptionalAttributesName
real(kind=DP), intent(in) :: mu

G * (Mcb + m), G = gravitational constant, Mcb = mass of central body, m = mass of body to drift

real(kind=DP), intent(inout) :: rx

Position and velocity of body to drift

real(kind=DP), intent(inout) :: ry

Position and velocity of body to drift

real(kind=DP), intent(inout) :: rz

Position and velocity of body to drift

real(kind=DP), intent(inout) :: vx

Position and velocity of body to drift

real(kind=DP), intent(inout) :: vy

Position and velocity of body to drift

real(kind=DP), intent(inout) :: vz

Position and velocity of body to drift

real(kind=DP), intent(in) :: dt

Step size

integer(kind=I4B), intent(out) :: iflag

iflag : error status flag for Danby drift (0 = OK, nonzero = ERROR)