mus_particles_vectorbuffer_type Derived Type

type, public :: mus_particles_vectorbuffer_type


Components

Type Visibility Attributes Name Initial
type(mus_particles_pIDvector_type), public, allocatable :: val(:)

explicit buffer for data to be transferred

integer, public :: nParticles

number of particles to exchange, depends on number of particles at the interface of two processes. nParticles can change at every time step!

Buffer can hold data for at most maxParticles This one we keep fixed through the duration of the program to avoid de-allocating, re-allocating memory at every time step.

integer, public :: maxParticles