29 #ifndef _BLACSGRID_HPP_
30 #define _BLACSGRID_HPP_
44 static bool is_initialized;
57 int mpirank(
int prow,
int pcol)
const;
63 return prow *
npcol + pcol;
Definition: blacsgrid.hpp:39
int mpisize
Definition: blacsgrid.hpp:56
static void exit()
Definition: blacsgrid.cc:142
int myrank
Definition: blacsgrid.hpp:56
BlacsGrid(const MPI_Comm &comm)
Definition: blacsgrid.cc:56
MPI_Comm comm
Definition: blacsgrid.hpp:52
void show() const
Definition: blacsgrid.cc:152
int nprow
Definition: blacsgrid.hpp:54
int mpirank() const
Definition: blacsgrid.hpp:71
int mypcol
Definition: blacsgrid.hpp:55
int myprow
Definition: blacsgrid.hpp:55
int npcol
Definition: blacsgrid.hpp:54
int mypnum
Definition: blacsgrid.hpp:55
int ictxt
Definition: blacsgrid.hpp:53
static void init()
Definition: blacsgrid.cc:111
Definition: complex.hpp:34