addPattern Interface

interface
private pure module subroutine addPattern(this, pattern, rowOffset, colOffset)

Arguments

Type IntentOptional Attributes Name
class(COOSparsityPattern), intent(inout) :: this
type(COOSparsityPattern), intent(in) :: pattern

Pattern to add to this pattern

integer(kind=ik), intent(in), dimension(:) :: rowOffset

Array by which to offset pattern row indices before adding

integer(kind=ik), intent(in), dimension(:) :: colOffset

Array by which to offset pattern column indices before adding

Description

Add entries from existing pattern that are not already present