getAllIndicesOfVar Module Function

pure module function getAllIndicesOfVar(this, varInd, procRank) result(ind)

Returns all local indices corresponding to variable with a given index on given processor, accounting for dual grid variables

Arguments

Type IntentOptional Attributes Name
class(Indexing), intent(in) :: this
integer(kind=ik), intent(in) :: varInd
integer(kind=ik), intent(in) :: procRank

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