dbcsr_build_row_index Interface

public interface dbcsr_build_row_index

Module Procedures

private pure subroutine dbcsr_build_row_index_copy(counts, rows, nrows)

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

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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