sub_crs_matvec Interface

public interface sub_crs_matvec

Module Procedures

public subroutine sub_crs_matvec_generic(CRS_value, CRS_col, CRS_row_ptr, Old_vector, new_vector, precondition)

x_i = A_ij b_j

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: CRS_value(:)
integer(kind=int32), intent(in) :: CRS_col(:)
integer(kind=int64), intent(in) :: CRS_row_ptr(:)
real(kind=real64), intent(in) :: Old_vector(:)
real(kind=real64), intent(inout), allocatable :: new_vector(:)
type(CRS_), intent(in), optional :: precondition

public subroutine sub_crs_matvec_for_CRStype(CRS, Old_vector, new_vector, precondition)

Arguments

Type IntentOptional Attributes Name
type(CRS_), intent(in) :: CRS
real(kind=real64), intent(in) :: Old_vector(:)
real(kind=real64), intent(inout), allocatable :: new_vector(:)
type(CRS_), intent(in), optional :: precondition