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 | Intent | Optional | 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(:) |
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