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
5
extern
int
mpi_rank
,
mpi_nprocs
,
mpi_init_tag
;
6
extern
bool
mpi_isroot
;
7
extern
int
*
mpi_range_array
;
8
9
// extern MPI_Request* mpi_requests;
10
11
int
mpi_range
(
const
int
& idx1,
const
int
& idx2,
const
int
& nprocs,
const
int
& irank,
int
& ista,
int
& iend);
12
13
int
mpi_utils_init
();
14
15
int
mpi_utils_final
();
16
17
#endif
// MPI_UTILS_H
mpi_utils_init
int mpi_utils_init()
mpi_utils_final
int mpi_utils_final()
mpi_range
int mpi_range(const int &idx1, const int &idx2, const int &nprocs, const int &irank, int &ista, int &iend)
mpi_range_array
int * mpi_range_array
mpi_isroot
bool mpi_isroot
mpi_nprocs
int mpi_nprocs
Definition
core/include/kids/utils/mpi_utils.h:5
mpi_init_tag
int mpi_init_tag
Definition
core/include/kids/utils/mpi_utils.h:5
mpi_rank
int mpi_rank
home
shin
share
KIDS
src
core
include
kids
utils
mpi_utils.h
Generated on Mon May 27 2024 11:36:31 for KIDS by
1.10.0