mus_particles_statebuffer_type Derived Type

type, public :: mus_particles_statebuffer_type


Components

Type Visibility Attributes Name Initial
type(mus_particles_state_type), public, allocatable :: val(:)
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