IMPACT T
|
This class construct a logical 2-D Cartesian processor grid. More...
Data Types | |
type | pgrid2d |
Functions/Subroutines | |
subroutine | construct_pgrid2d (this, comm, nrow, ncol) |
set up 2-D Cartisian grid. More... | |
subroutine | getcomm_pgrid2d (this, comm2d, commcol, commrow) |
get 2D, column, and row communicators. More... | |
subroutine | getpost_pgrid2d (this, mypos, mycolpos, myrowpos) |
get my rank position in 2d, column, and row communicators. More... | |
subroutine | getsize_pgrid2d (this, totsize, colsize, rowsize) |
get the total number of PEs, PEs in column and row communicators. More... | |
This class construct a logical 2-D Cartesian processor grid.
type pgrid2dclass::pgrid2d |
subroutine pgrid2dclass::construct_pgrid2d | ( | type (pgrid2d), intent(out) | this, |
integer, intent(in) | comm, | ||
integer, intent(in) | nrow, | ||
integer, intent(in) | ncol | ||
) |
set up 2-D Cartisian grid.
subroutine pgrid2dclass::getcomm_pgrid2d | ( | type (pgrid2d), intent(in) | this, |
integer, intent(out) | comm2d, | ||
integer, intent(out) | commcol, | ||
integer, intent(out) | commrow | ||
) |
get 2D, column, and row communicators.
subroutine pgrid2dclass::getpost_pgrid2d | ( | type (pgrid2d), intent(in) | this, |
integer, intent(out) | mypos, | ||
integer, intent(out) | mycolpos, | ||
integer, intent(out) | myrowpos | ||
) |
get my rank position in 2d, column, and row communicators.
subroutine pgrid2dclass::getsize_pgrid2d | ( | type (pgrid2d), intent(in) | this, |
integer, intent(out) | totsize, | ||
integer, intent(out) | colsize, | ||
integer, intent(out) | rowsize | ||
) |
get the total number of PEs, PEs in column and row communicators.