DEM_isRemoteCollision_MEM Subroutine

public subroutine DEM_isRemoteCollision_MEM(particleA, particleB, myRank, send, isRemoteCollision, otherRank, otherRankIndex)

Arguments

Type IntentOptional Attributes Name
type(mus_particle_MEM_type), intent(in) :: particleA

First particle to collide

type(mus_particle_MEM_type), intent(in) :: particleB

Second particle to collide

integer, intent(in) :: myRank

This process's rank

type(mus_particles_communication_type), intent(in) :: send

Communication type for sending

logical, intent(out) :: isRemoteCollision

logical indicating if this is a remote collision that needs to be resolved on this process

integer, intent(out) :: otherRank

Other particle's rank as an output

integer, intent(out) :: otherRankIndex

Position of other particle's rank in send%proc