swiftest_kick_getacch_int_all Interface

public interface swiftest_kick_getacch_int_all

Contents


Subroutines

public module subroutine swiftest_kick_getacch_int_all_flat_norad_pl(npl, nplpl, k_plpl, r, Gmass, acc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in) :: npl

Number of massive bodies

integer(kind=I8B), intent(in) :: nplpl

Number of massive body interactions to compute

integer(kind=I4B), intent(in), dimension(:,:):: k_plpl

Array of interaction pair indices (flattened upper triangular matrix)

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

Position vector array

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

Array of massive body G*mass

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

Acceleration vector array

public module subroutine swiftest_kick_getacch_int_all_flat_rad_pl(npl, nplpl, k_plpl, r, Gmass, radius, acc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in) :: npl

Number of massive bodies

integer(kind=I8B), intent(in) :: nplpl

Number of massive body interactions to compute

integer(kind=I4B), intent(in), dimension(:,:):: k_plpl

Array of interaction pair indices (flattened upper triangular matrix)

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

Position vector array

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

Array of massive body G*mass

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

Array of massive body radii

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

Acceleration vector array

public module subroutine swiftest_kick_getacch_int_all_tp(ntp, npl, rtp, rpl, GMpl, lmask, acc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in) :: ntp

Number of test particles

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

Number of massive bodies

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

Test particle position vector array

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

Massive body particle position vector array

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

Array of massive body G*mass

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

Logical mask indicating which test particles should be computed

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

Acceleration vector array

public module subroutine swiftest_kick_getacch_int_all_tri_norad_pl(npl, nplm, r, Gmass, acc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in) :: npl

Total number of massive bodies

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

Number of fully interacting massive bodies

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

Position vector array

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

Array of massive body G*mass

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

Acceleration vector array

public module subroutine swiftest_kick_getacch_int_all_tri_rad_pl(npl, nplm, r, Gmass, radius, acc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in) :: npl

Total number of massive bodies

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

Number of fully interacting massive bodies

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

Position vector array

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

Array of massive body G*mass

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

Array of massive body radii

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

Acceleration vector array