allocateProcessMasks_MEM Subroutine

private subroutine allocateProcessMasks_MEM(particle, nProcs)

Routine for allocating the existsOnProc, addToProc and removeFromProc masks used to determine when particles should be sent over to new processes or which processes need to receive position, velocity updates etc.

Arguments

Type IntentOptional Attributes Name
type(mus_particle_MEM_type), intent(inout) :: particle

Particle to initialize

integer :: nProcs

Number of processes to communicate particle data with