Sort a triplet list assuming that the matrix it corresponds to is nearly dense.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(TripletList_c), | intent(in) | :: | input_list | The list to sort. |
||
| integer, | intent(in) | :: | matrix_columns | Number of columns for the corresponding matrix. |
||
| integer, | intent(in) | :: | matrix_rows | Number of rows for the corresponding matrix. |
||
| type(TripletList_c), | intent(out) | :: | sorted_list | Sorted and ready to use for building matrices. |