api/aspherix_particle_list.h

This is the header file used to get a list of several particles. The member functions are:


ParticleList

Constructor

begin

Get the start of the particle list.

end

Get the end of the particle list.

operator[]

Get a particle by id (only returns non-null if the particle is on that processor).

getByIndex

Get a particle by index. Note, id stays constant throughout the simulation but index can change with load balancing for example.