setupEntry_2D Subroutine

private subroutine setupEntry_2D(this, i, j, 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_2D_t

Arguments

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

Contents

Source Code


Source Code

    subroutine setupEntry_2D(this, i, j, rank_with_info, arr)
        class(AliasSampler_2D_t), intent(inout) :: this
        integer, intent(in) :: i, j, rank_with_info
        real(dp), intent(in) :: arr(:)
        call this%alias_sampler%setup_entry(i, j, 1, rank_with_info, arr)
    end subroutine setupEntry_2D