dbcsr_t_pgrid_remap Subroutine

private subroutine dbcsr_t_pgrid_remap(pgrid_in, map1_2d, map2_2d, pgrid_out)

remap a process grid (needed when mapping between tensor and matrix index is changed)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_pgrid_type), intent(in) :: pgrid_in
integer, intent(in), DIMENSION(:) :: map1_2d

new mapping new mapping

integer, intent(in), DIMENSION(:) :: map2_2d

new mapping new mapping

type(dbcsr_t_pgrid_type), intent(out) :: pgrid_out