XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
my_mpi.hpp File Reference
#include <mpi.h>
#include <vector>
#include <cstdio>
Include dependency graph for my_mpi.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MyMPI
 

Functions

void create_comm_world (int color)
 
void destroy_comm_world ()
 
template<typename F >
void execute_in_rank_order (const MPI_Comm &comm, F func)
 
template<typename T >
MPI_Datatype get_mpi_type ()
 
template<typename ViewType >
MPI_Datatype get_mpi_type (const ViewType &view)
 

Variables

MPI_Comm SML_COMM_WORLD
 
int SML_COMM_RANK
 
int SML_COMM_SIZE
 

Function Documentation

void create_comm_world ( int  color)

Here is the caller graph for this function:

void destroy_comm_world ( )

Here is the caller graph for this function:

template<typename F >
void execute_in_rank_order ( const MPI_Comm &  comm,
func 
)
template<typename T >
MPI_Datatype get_mpi_type ( )

Here is the caller graph for this function:

template<typename ViewType >
MPI_Datatype get_mpi_type ( const ViewType &  view)

Variable Documentation

int SML_COMM_RANK
int SML_COMM_SIZE
MPI_Comm SML_COMM_WORLD