setupEntry_1D Subroutine

private subroutine setupEntry_1D(this, iEntry, rank_with_info, arr)

Initialise one sampler of an array @param[in] iEntry index of the entry to initialize @param[in] arr data to be loaded by that entry

Type Bound

AliasSampler_1D_t

Arguments

Type IntentOptional Attributes Name
class(AliasSampler_1D_t), intent(inout) :: this
integer, intent(in) :: iEntry
integer, intent(in) :: rank_with_info
real(kind=dp), intent(in) :: arr(:)

Contents

Source Code


Source Code

    subroutine setupEntry_1D(this, iEntry, rank_with_info, arr)
        class(AliasSampler_1D_t), intent(inout) :: this
        integer, intent(in) :: iEntry, rank_with_info
        real(dp), intent(in) :: arr(:)
        call this%alias_sampler%setup_entry(iEntry, 1, 1, rank_with_info, arr)
    end subroutine setupEntry_1D