dbcsr_data_set Interface

public interface dbcsr_data_set

Module Procedures

private subroutine dbcsr_data_copy_aa(dst, lb, data_size, src, source_lb, scale, lb2, data_size2, source_lb2)

Copy data from one data area to another. There are no checks done for correctness!

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(inout) :: dst

destination data area

integer, intent(in) :: lb

lower bound for destination (and source if not given explicitly) number of elements to copy

integer, intent(in) :: data_size

lower bound for destination (and source if not given explicitly) number of elements to copy

type(dbcsr_data_obj), intent(in) :: src

source data area

integer, intent(in), optional :: source_lb

lower bound of source

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

scale by this factor

integer, intent(in), optional :: lb2

2nd dimension lower bound 2nd dimension data size 2nd dimension lower bound for source

integer, intent(in), optional :: data_size2

2nd dimension lower bound 2nd dimension data size 2nd dimension lower bound for source

integer, intent(in), optional :: source_lb2

2nd dimension lower bound 2nd dimension data size 2nd dimension lower bound for source

private subroutine dbcsr_data_set_as(dst, lb, data_size, src, source_lb)

Copy data from a double real array to a data area There are no checks done for correctness!

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(inout) :: dst

destination data area

integer, intent(in) :: lb

lower bound for destination (and source if not given explicitly) number of elements to copy

integer, intent(in) :: data_size

lower bound for destination (and source if not given explicitly) number of elements to copy

real(kind=real_4), intent(in), DIMENSION(:), CONTIGUOUS :: src

source data array

integer, intent(in), optional :: source_lb

lower bound of source

private subroutine dbcsr_data_set_ad(dst, lb, data_size, src, source_lb)

Copy data from a double real array to a data area There are no checks done for correctness!

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(inout) :: dst

destination data area

integer, intent(in) :: lb

lower bound for destination (and source if not given explicitly) number of elements to copy

integer, intent(in) :: data_size

lower bound for destination (and source if not given explicitly) number of elements to copy

real(kind=real_8), intent(in), DIMENSION(:), CONTIGUOUS :: src

source data array

integer, intent(in), optional :: source_lb

lower bound of source

private subroutine dbcsr_data_set_ac(dst, lb, data_size, src, source_lb)

Copy data from a double real array to a data area There are no checks done for correctness!

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(inout) :: dst

destination data area

integer, intent(in) :: lb

lower bound for destination (and source if not given explicitly) number of elements to copy

integer, intent(in) :: data_size

lower bound for destination (and source if not given explicitly) number of elements to copy

complex(kind=real_4), intent(in), DIMENSION(:), CONTIGUOUS :: src

source data array

integer, intent(in), optional :: source_lb

lower bound of source

private subroutine dbcsr_data_set_az(dst, lb, data_size, src, source_lb)

Copy data from a double real array to a data area There are no checks done for correctness!

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(inout) :: dst

destination data area

integer, intent(in) :: lb

lower bound for destination (and source if not given explicitly) number of elements to copy

integer, intent(in) :: data_size

lower bound for destination (and source if not given explicitly) number of elements to copy

complex(kind=real_8), intent(in), DIMENSION(:), CONTIGUOUS :: src

source data array

integer, intent(in), optional :: source_lb

lower bound of source