void mpi_gather_particlestate(particle_state *ps, particle_state **psgathered, int *ngathered, int ntotal, int mpi_rank, int mpi_size, int mpi_root)
Gather all particle states to the root process.
void mpi_gather_diag(diag_data *data, int ntotal, int mpi_rank, int mpi_size, int mpi_root)
Gather all diagnostics to the root process.
void mpi_my_particles(int *start_index, int *n, int ntotal, int mpi_rank, int mpi_size)
Divide markers to mpi processes.
Header file for particle.c.
General representation of a marker.