setupEntry_3D Subroutine

private subroutine setupEntry_3D(this, i, j, k, rank_with_info, arr)

@brief Initialise one sampler of an array

@param[in] i Index of the entry to initialize @param[in] j Index of the entry to initialize @param[in] k Index of the entry to initialize @param[in] arr data to be loaded by that entry

Type Bound

AliasSampler_3D_t

Arguments

Type IntentOptional Attributes Name
class(AliasSampler_3D_t), intent(inout) :: this
integer, intent(in) :: i
integer, intent(in) :: j
integer, intent(in) :: k
integer, intent(in) :: rank_with_info

The intra-node rank that contains the weights to be used all other arr of all other ranks are ignored (and can be allocated with size 0).

real(kind=dp), intent(in) :: arr(:)

Contents