dbcsr_t_get_4d_block_c_dp Subroutine

private subroutine dbcsr_t_get_4d_block_c_dp(tensor, ind, sizes, block, found)

Template for dbcsr_t_get_block.

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(inout) :: tensor
integer, intent(in), DIMENSION(4) :: ind

block index

integer, intent(in), DIMENSION(4) :: sizes

block size

complex(kind=real_8), intent(out), DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)) :: block

block to get

logical, intent(out) :: found

whether block was found