15#define mpi_type_integer MPI_LONG
17#define mpi_type_real MPI_DOUBLE
19#define mpi_type_a5err MPI_UNSIGNED_LONG_LONG
28 int* ngathered,
int ntotal,
int mpi_rank,
29 int mpi_size,
int mpi_root);
32 int mpi_rank,
int mpi_size,
int mpi_root);
34 int mpi_rank,
int mpi_size,
int mpi_root);
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_offload_data *data, real *offload_array, 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.
void mpi_interface_finalize()
Finalize MPI.
void mpi_interface_init(int argc, char **argv, int *mpi_rank, int *mpi_size, int *mpi_root)
Initialize MPI.
void mpi_interface_barrier()
Wait until all processes have reached this routine.
Header file for particle.c.
Diagnostics offload data struct.
General representation of a marker.