swiftest_gr_vel2pseudovel Interface

interface
public pure module subroutine swiftest_gr_vel2pseudovel(param, mu, rh, vh, pv)

Arguments

Type IntentOptional Attributes Name
class(swiftest_parameters), intent(in) :: param

Current run configuration parameters

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

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

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

Swiftestcentric position vector

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

Swiftestcentric velocity vector

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

Pseudovelocity vector - see Saha & Tremain (1994), eq. (32)