findDistIndex Interface

interface
private pure module function findDistIndex(this, xInd, hInd, vInd, allH, locXInd) result(ind)

Arguments

Type IntentOptional Attributes Name
class(Indexing), intent(in) :: this
integer(kind=ik), intent(in) :: xInd
integer(kind=ik), intent(in) :: hInd
integer(kind=ik), intent(in) :: vInd
logical, intent(in) :: allH
integer(kind=ik), intent(in), optional :: locXInd

Return Value integer(kind=ik)

Description

Return linear index of distribution corresponding to xInd,hInd,vInd - if allH is true return indexing assuming all harmonics are indexed locally. If present locXInd is used to identify the processor