oracle_partial Subroutine

public subroutine oracle_partial(keys, nrows, count, proc, perm)

Relay onto p_partial; see oracle_argsort for why these exist.

Arguments

Type IntentOptional Attributes Name
type(sort_key_buf), intent(in), target :: keys(:)

the keys, primary first.

integer(kind=int64), intent(in) :: nrows

rows each key describes.

integer(kind=int64), intent(in) :: count

leading rows to order.

character(len=*), intent(in) :: proc

calling procedure, for messages.

integer(kind=int64), intent(inout) :: perm(:)

the permutation to fill.


Source Code

    subroutine oracle_partial(keys, nrows, count, proc, perm)
        type(sort_key_buf), intent(in), target :: keys(:)  !! the keys, primary first.
        integer(int64), intent(in) :: nrows                !! rows each key describes.
        integer(int64), intent(in) :: count                !! leading rows to order.
        character(len=*), intent(in) :: proc               !! calling procedure, for messages.
        integer(int64), intent(inout) :: perm(:)           !! the permutation to fill.
        !
        call check_oracle(associated(p_partial), proc)
        call p_partial(keys, nrows, count, proc, perm)
    end subroutine oracle_partial