encounter_check_one Interface

interface
public elemental module subroutine encounter_check_one(xr, yr, zr, vxr, vyr, vzr, renc, dt, lencounter, lvdotr)

Arguments

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

Relative distance vector components

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

Relative distance vector components

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

Relative distance vector components

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

Relative velocity vector components

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

Relative velocity vector components

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

Relative velocity vector components

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

Critical encounter distance

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

Step size

logical, intent(out) :: lencounter

Flag indicating that an encounter has occurred

logical, intent(out) :: lvdotr

Logical flag indicating the direction of the v .dot. r vector