KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
core/include/kids/utils/mpi_utils.h
Go to the documentation of this file.
1#ifndef MPI_UTILS_H
2#define MPI_UTILS_H
3#include "mpi.h"
4
6extern bool mpi_isroot;
7extern int* mpi_range_array;
8
9// extern MPI_Request* mpi_requests;
10
11int mpi_range(const int& idx1, const int& idx2, const int& nprocs, const int& irank, int& ista, int& iend);
12
14
16
17#endif // MPI_UTILS_H
int mpi_utils_init()
int mpi_utils_final()
int mpi_range(const int &idx1, const int &idx2, const int &nprocs, const int &irank, int &ista, int &iend)
int * mpi_range_array
bool mpi_isroot
int mpi_rank