dbcsr_t_change_pgrid Subroutine

private subroutine dbcsr_t_change_pgrid(tensor, pgrid, batch_range_1, batch_range_2, batch_range_3, batch_range_4, nodata, pgrid_changed, unit_nr)

change the process grid of a tensor

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor
type(dbcsr_t_pgrid_type), intent(in) :: pgrid
integer, intent(in), optional, DIMENSION(:) :: batch_range_1

For internal load balancing optimizations, optionally specify the index ranges of batched contraction. batch_range_i refers to the ith tensor dimension and contains all block indices starting a new range. The size should be the number of ranges plus one, the last element being the block index plus one of the last block in the last range.

integer, intent(in), optional, DIMENSION(:) :: batch_range_2

For internal load balancing optimizations, optionally specify the index ranges of batched contraction. batch_range_i refers to the ith tensor dimension and contains all block indices starting a new range. The size should be the number of ranges plus one, the last element being the block index plus one of the last block in the last range.

integer, intent(in), optional, DIMENSION(:) :: batch_range_3

For internal load balancing optimizations, optionally specify the index ranges of batched contraction. batch_range_i refers to the ith tensor dimension and contains all block indices starting a new range. The size should be the number of ranges plus one, the last element being the block index plus one of the last block in the last range.

integer, intent(in), optional, DIMENSION(:) :: batch_range_4

For internal load balancing optimizations, optionally specify the index ranges of batched contraction. batch_range_i refers to the ith tensor dimension and contains all block indices starting a new range. The size should be the number of ranges plus one, the last element being the block index plus one of the last block in the last range.

logical, intent(in), optional :: nodata

optionally don't copy the tensor data (then tensor is empty on returned)

logical, intent(out), optional :: pgrid_changed
integer, intent(in), optional :: unit_nr