dbcsr_data_copy Interface

public interface dbcsr_data_copy

Module Procedures

private subroutine dbcsr_data_copy_aa2(dst, dst_lb, dst_sizes, src, src_lb, src_sizes)

Copy data from one data area to another, the most basic form. 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), DIMENSION(:) :: dst_lb

lower bounds for destination sizes for destination

integer, intent(in), DIMENSION(:) :: dst_sizes

lower bounds for destination sizes for destination

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

source data area

integer, intent(in), DIMENSION(:) :: src_lb

lower bounds for source sizes for source

integer, intent(in), DIMENSION(:) :: src_sizes

lower bounds for source sizes 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