dbcsr_t_put_block Interface

public interface dbcsr_t_put_block

Module Procedures

private subroutine dbcsr_t_put_2d_block_r_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

real(kind=real_8), intent(in), DIMENSION(sizes(1), sizes(2)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_3d_block_r_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

real(kind=real_8), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_4d_block_r_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_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

real(kind=real_8), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_2d_block_r_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

real(kind=real_4), intent(in), DIMENSION(sizes(1), sizes(2)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_3d_block_r_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

real(kind=real_4), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_4d_block_r_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_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

real(kind=real_4), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

real(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_2d_block_c_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

complex(kind=real_8), intent(in), DIMENSION(sizes(1), sizes(2)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_3d_block_c_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

complex(kind=real_8), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_4d_block_c_dp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_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(in), DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_8), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_2d_block_c_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

complex(kind=real_4), intent(in), DIMENSION(sizes(1), sizes(2)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_3d_block_c_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_block.

Arguments

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

block index

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

block size

complex(kind=real_4), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_4d_block_c_sp(tensor, ind, sizes, block, summation, scale)

Template for dbcsr_t_put_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_4), intent(in), DIMENSION(sizes(1), sizes(2), sizes(3), sizes(4)), TARGET :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

complex(kind=real_4), intent(in), optional :: scale

scaling factor

private subroutine dbcsr_t_put_anyd_block(tensor, ind, block, summation, scale)

Generic implementation of dbcsr_t_put_block (arbitrary tensor rank and arbitrary datatype)

Arguments

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

block index

type(block_nd), intent(in) :: block

block to put

logical, intent(in), optional :: summation

whether block should be summed to existing block

type(dbcsr_scalar_type), intent(in), optional :: scale

scaling factor