dbcsr_t_remap Subroutine

private subroutine dbcsr_t_remap(tensor_in, map1_2d, map2_2d, tensor_out, comm_2d, dist1, dist2, mp_dims_1, mp_dims_2, name, nodata, move_data)

Copy tensor to tensor with modified index mapping

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor_in
integer, intent(in), DIMENSION(:) :: map1_2d

new index mapping new index mapping

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

new index mapping new index mapping

type(dbcsr_t_type), intent(out) :: tensor_out
type(mp_comm_type), intent(in), optional :: comm_2d
type(array_list), intent(in), optional :: dist1
type(array_list), intent(in), optional :: dist2
integer, optional, DIMENSION(SIZE(map1_2d)) :: mp_dims_1
integer, optional, DIMENSION(SIZE(map2_2d)) :: mp_dims_2
character(len=*), intent(in), optional :: name
logical, intent(in), optional :: nodata
logical, intent(in), optional :: move_data