swiftest_gr_kick_getacch Interface

interface
public pure module subroutine swiftest_gr_kick_getacch(mu, x, lmask, n, inv_c2, agr)

Arguments

Type IntentOptional Attributes Name
real(kind=DP), intent(in), dimension(:) :: mu

Gravitational constant

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

Position vectors

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

Logical mask indicating which bodies to compute

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

Total number of bodies

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

Inverse speed of light squared: 1 / c**2

real(kind=DP), intent(out), dimension(:,:) :: agr

Accelerations