getNumNonzerosOffDiag Module Function

pure module function getNumNonzerosOffDiag(this) result(numNZODiag)

Return number of nonzeros in the off-diagonal part of each row

Arguments

Type IntentOptional Attributes Name
class(PETScPreallocationData), intent(in) :: this

Return Value integer(kind=ik), allocatable, dimension(:)