dbcsr_t_allocate_and_get_2d_block_c_dp Subroutine

private subroutine dbcsr_t_allocate_and_get_2d_block_c_dp(tensor, ind, block, found)

allocate and get block

Arguments

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

block index

complex(kind=real_8), intent(out), DIMENSION(:,:), ALLOCATABLE :: block

block to get

logical, intent(out) :: found

whether block was found