crs_matmul Interface

public interface crs_matmul

Module Procedures

public function crs_matmul_generic(CRS_value, CRS_col, CRS_row_ptr, Old_vectors) result(new_vectors)

x_i = A_ij b_j $OMP parallel do default(shared) private(CRS_id,col) $OMP atomic $OMP end parallel do

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_vectors(:,:)

Return Value real(kind=real64), allocatable, (:,:)

public function crs_matmul_for_CRStype(CRS, Old_vectors) result(new_vectors)

Arguments

Type IntentOptional Attributes Name
type(CRS_), intent(in) :: CRS
real(kind=real64), intent(in) :: Old_vectors(:,:)

Return Value real(kind=real64), allocatable, (:,:)