KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
mpi_utils.h File Reference
#include "mpi.h"
Include dependency graph for core/include/kids/utils/mpi_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int mpi_range (const int &idx1, const int &idx2, const int &nprocs, const int &irank, int &ista, int &iend)
 
int mpi_utils_init ()
 
int mpi_utils_final ()
 

Variables

int mpi_rank
 
int mpi_nprocs
 
int mpi_init_tag
 
bool mpi_isroot
 
int * mpi_range_array
 

Function Documentation

◆ mpi_range()

int mpi_range ( const int & idx1,
const int & idx2,
const int & nprocs,
const int & irank,
int & ista,
int & iend )

◆ mpi_utils_final()

int mpi_utils_final ( )

◆ mpi_utils_init()

int mpi_utils_init ( )

Variable Documentation

◆ mpi_init_tag

int mpi_init_tag

Definition at line 5 of file core/include/kids/utils/mpi_utils.h.

◆ mpi_isroot

bool mpi_isroot
extern

◆ mpi_nprocs

int mpi_nprocs

Definition at line 5 of file core/include/kids/utils/mpi_utils.h.

Referenced by hdump(), and hload().

◆ mpi_range_array

int* mpi_range_array
extern

◆ mpi_rank

int mpi_rank
extern

Referenced by hdump(), and hload().