initSparseRowData Module Subroutine

pure module subroutine initSparseRowData(this, rowIndices, colVectors)

Sparse row data Object initialization routine. If indices are supplied initializes values to 0.

Arguments

Type IntentOptional Attributes Name
class(SparseRowData), intent(inout) :: this
integer(kind=ik), intent(in), optional, dimension(:) :: rowIndices

Row indices of each sparse row vector

type(IntArray), intent(in), optional, dimension(:) :: colVectors

Arrays of column indices for each row