mat_mult Abstract Interface

abstract interface
public function mat_mult(v, xcur, rhs, rpar, ipar, success)

Arguments

Type IntentOptional AttributesName
real(kind=r8), intent(in), dimension(:):: v

The vector to be multiplied

real(kind=r8), intent(in), dimension(:):: xcur

Array containing the current estimate of the independent variables in the linear system. This may not be needed, but is provided just in case.

real(kind=r8), intent(in), dimension(:):: rhs

Array containing the right hand side of the linear system. This may not be needed, but is provided just in case.

real(kind=r8), intent(inout), dimension(*):: rpar

Parameter/work array

integer, intent(inout), dimension(*):: ipar

Parameter/work array

logical, intent(out) :: success

Indicates whether operation was completed succesfully

Return Value real(kind=r8), dimension(size(xcur))

Result of the operation

Description

Interface for operations representing the multiplication of a vector by a matrix, such as that for a linear operator or a preconditioner.