AppendToVector Interface

public interface AppendToVector

Contents


Module Procedures

private pure subroutine AppendToVector_r(values_per, indices, values, insert_row, insert_value)

A helper routine to insert a value into a sparse vector.

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: values_per

Values per row.

integer, intent(inout), DIMENSION(:) :: indices

Indices associated with each value.

real(kind=NTREAL), intent(inout), DIMENSION(:) :: values

Values.

integer, intent(in) :: insert_row

Row to insert into.

real(kind=NTREAL), intent(in) :: insert_value

Value to insert.