addRow Interface

interface
private pure module subroutine addRow(this, rowIndex, columnIndices, values)

Arguments

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

Row index of added vector

integer(kind=ik), intent(in), dimension(:) :: columnIndices

Column indices of nonzeros in row

real(kind=rk), intent(in), optional, dimension(:) :: values

Values of nonzeros in row

Description

Add sparse row vector to data Object and initialize its values to 0, unless value vector is supplied