findIndex Module Function

pure module function findIndex(this, name, xInd, hInd, vInd, local) result(ind)

Return index of degree of freedom associated with variable with given name and with coordinates given by xInd,hInd,vInd If local is true return index in the local implicit vector

Arguments

Type IntentOptional Attributes Name
class(Indexing), intent(in) :: this
character(len=*), intent(in) :: name
integer(kind=ik), intent(in) :: xInd
integer(kind=ik), intent(in), optional :: hInd
integer(kind=ik), intent(in), optional :: vInd
logical, intent(in), optional :: local

Return Value integer(kind=ik)