swiftest_drift_all Interface

interface
public module module subroutine swiftest_drift_all(mu, x, v, n, param, dt, lmask, iflag)

Arguments

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

Vector of gravitational constants

real(kind=DP), intent(inout), dimension(:,:):: x

Position and velocity vectors

real(kind=DP), intent(inout), dimension(:,:):: v

Position and velocity vectors

integer(kind=I4B), intent(in) :: n

number of bodies

class(swiftest_parameters), intent(in) :: param

Current run configuration parameters

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

Stepsize

logical, intent(in), dimension(:):: lmask

Logical mask of size self%nbody that determines which bodies to drift.

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

Vector of error flags. 0 means no problem