getNumNonzerosDiag Module Function

pure module function getNumNonzerosDiag(this) result(numNZDiag)

Return number of nonzeros in the diagonal part of each row

Arguments

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

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