count_index Subroutine

private subroutine count_index(this, index)

Log the occurence of this index in the set of indices to be stored Does not add it, only updates the offsets @param[in] index index value to be logged

Type Bound

index_rhash_t

Arguments

Type IntentOptional Attributes Name
class(index_rhash_t), intent(inout) :: this
integer(kind=int64), intent(in) :: index

Contents

Source Code


Source Code

    subroutine count_index(this, index)
        class(index_rhash_t), intent(inout) :: this
        integer(int64), intent(in) :: index

        integer(int64) :: hval

        hval = this%hash_function(index)
        call this%shared_ht%count_value(hval)
    end subroutine count_index