IMPACT T
Data Types | Modules | Functions/Subroutines
Pgrid.f90 File Reference

Data Types

type  pgrid2dclass::pgrid2d
 

Modules

module  pgrid2dclass
 This class construct a logical 2-D Cartesian processor grid.
 

Functions/Subroutines

subroutine pgrid2dclass::construct_pgrid2d (this, comm, nrow, ncol)
 set up 2-D Cartisian grid. More...
 
subroutine pgrid2dclass::getcomm_pgrid2d (this, comm2d, commcol, commrow)
 get 2D, column, and row communicators. More...
 
subroutine pgrid2dclass::getpost_pgrid2d (this, mypos, mycolpos, myrowpos)
 get my rank position in 2d, column, and row communicators. More...
 
subroutine pgrid2dclass::getsize_pgrid2d (this, totsize, colsize, rowsize)
 get the total number of PEs, PEs in column and row communicators. More...
 

Data Type Documentation

◆ pgrid2dclass::pgrid2d

type pgrid2dclass::pgrid2d
Data Fields
integer col_comm comunicator for my col
integer comm_2d comunicator for entire grid
integer my_col my column number
integer my_row my row number
integer myrank my rank in the grid comm
integer np total number of processors
integer npcol number of processors in my col
integer nprow number of processors in my row
integer row_comm comunicator for my row