ShiftTripletList Interface

public interface ShiftTripletList

Contents


Module Procedures

private subroutine ShiftTripletList_r(triplet_list, row_shift, column_shift)

Shift the rows and columns of a triplet list by set values. Frequently, we have a triplet list that comes from the global matrix which we would like to shift into a local matrix. In that case, just pass the negative of the starting row and column (plus 1) to this routine.

Arguments

Type IntentOptional AttributesName
type(TripletList_r), intent(inout) :: triplet_list

The triplet list to shift.

integer, intent(in) :: row_shift

The row offset to shift by.

integer, intent(in) :: column_shift

The column offset to shift by.

private subroutine ShiftTripletList_c(triplet_list, row_shift, column_shift)

Shift the rows and columns of a triplet list by set values. Frequently, we have a triplet list that comes from the global matrix which we would like to shift into a local matrix. In that case, just pass the negative of the starting row and column (plus 1) to this routine.

Arguments

Type IntentOptional AttributesName
type(TripletList_c), intent(inout) :: triplet_list

The triplet list to shift.

integer, intent(in) :: row_shift

The row offset to shift by.

integer, intent(in) :: column_shift

The column offset to shift by.