dbcsr_data_get_sizes Interface

public interface dbcsr_data_get_sizes

Module Procedures

private subroutine dbcsr_data_get_sizes_any(area, sizes, valid)

Returns the allocated data size

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(in) :: area

data area to query for size

integer, intent(out), DIMENSION(:) :: sizes

array with the data sizes

logical, intent(out) :: valid

whether the data is actually allocated

private subroutine dbcsr_data_get_sizes_1(area, total_size, valid)

Returns the allocated data size

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(in) :: area

data area to query for size

integer, intent(out) :: total_size

size of array

logical, intent(out) :: valid

whether the data is actually allocated

private subroutine dbcsr_data_get_sizes_2(area, row_size, col_size, valid)

Returns the allocated data size

Arguments

Type IntentOptional Attributes Name
type(dbcsr_data_obj), intent(in) :: area

data area to query for size, should be 2-D

integer, intent(out) :: row_size

row size column size

integer, intent(out) :: col_size

row size column size

logical, intent(out) :: valid

whether the data is actually allocated