collision_util_velocity_torque Interface

interface
public module module subroutine collision_util_velocity_torque(dL, mass, r, v)

Arguments

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

Change in angular momentum to apply

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

Mass of body

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

Position of body wrt system center of mass

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

Velocity of body wrt system center of mass