explicit_mapmaking
 All Classes Files Pages
Public Member Functions | List of all members
mapmaking::Grid Class Reference

Public Member Functions

 Grid (const MPI_Comm comm)
 
 Grid (int n_row, int n_col, std::vector< int > id_proc_involved, const MPI_Comm comm)
 
int context () const
 
int my_row () const
 
int my_col () const
 
std::pair< int, int > my_coor () const
 
int my_rank () const
 
int n_row () const
 
int n_col () const
 
int n_proc_grid () const
 
int n_proc_comm () const
 
const MPI_Comm & comm () const
 
bool i_am_in () const
 
const std::vector< int > & row_indexes () const
 
const std::vector< int > & col_indexes () const
 
const std::vector< std::pair
< int, int > > & 
coordinates () const
 
std::pair< int, int > rank2coor (int rank) const
 
int coor2rank (std::pair< int, int > coor) const
 

The documentation for this class was generated from the following files: