swiftest_obl_acc Interface

interface
public module subroutine swiftest_obl_acc(n, GMcb, j2rp2, j4rp4, rh, lmask, aobl, rot, GMpl, aoblcb)

Arguments

Type IntentOptional Attributes Name
integer(kind=I4B), intent(in) :: n

Number of bodies

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

Central body G*Mass

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

J2 * R**2 for the central body

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

J4 * R**4 for the central body

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

Heliocentric positions of bodies

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

Logical mask of bodies to compute aobl

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

Barycentric acceleration of bodies due to central body oblateness

real(kind=DP), intent(in), dimension(NDIM) :: rot

Central body rotation matrix

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

Masses of input bodies if they are not test particles

real(kind=DP), intent(out), optional, dimension(:) :: aoblcb

Barycentric acceleration of central body (only needed if input bodies are massive)