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_1D_t), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | iEntry | |||
integer, | intent(in) | :: | rank_with_info | |||
real(kind=dp), | intent(in) | :: | arr(:) |
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