dbcsr_build_row_index Interface

public interface dbcsr_build_row_index

Contents


Module Procedures

private pure subroutine dbcsr_build_row_index_copy(counts, rows, nrows)

Builds row index array from a columns-per-row count.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in), DIMENSION(1:nrows):: counts

count of the number of columns per row

integer, intent(out), DIMENSION(1:nrows + 1):: rows

count of the number of columns per row (input); the row_p index (output)

integer, intent(in) :: nrows

number of rows

private pure subroutine dbcsr_build_row_index_inplace(rows, nrows)

Builds row index array from a columns-per-row count, in-place.

Arguments

TypeIntentOptionalAttributesName
integer, intent(inout), DIMENSION(1:nrows + 1):: rows

count of the number of columns per row (input); the row_p index (output)

integer, intent(in) :: nrows

number of rows