dbcsr_t_permute_index Subroutine

private subroutine dbcsr_t_permute_index(tensor_in, tensor_out, order)

Create new tensor by reordering index, data is copied exactly (shallow copy)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor_in
type(dbcsr_t_type), intent(out) :: tensor_out
integer, intent(in), DIMENSION(ndims_tensor(tensor_in)) :: order