DISPATCH
particle_list_mod Module Reference

Particle list, extending a doubly-linked list. Each particle maintains arrays with previous positions, velocities, and times, which are brought along if/when it changes owner patch or rank. The memory footprint of a particle is 12 words for position, 12 words for velocity, and 8 words for time, all together 32 words = 128 bytes (plus a few words for id and weight). This could be reduced to half, by keeping only two previous positions and velocities in the data type. More...

Data Types

type  particle_list_t
 

Functions/Subroutines

subroutine init (self, name)
 Initialize a particle list.
 

Detailed Description

Particle list, extending a doubly-linked list. Each particle maintains arrays with previous positions, velocities, and times, which are brought along if/when it changes owner patch or rank. The memory footprint of a particle is 12 words for position, 12 words for velocity, and 8 words for time, all together 32 words = 128 bytes (plus a few words for id and weight). This could be reduced to half, by keeping only two previous positions and velocities in the data type.