setupEntry_3D Subroutine

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

@brief Initialise one sampler of an array

Type Bound

AliasSampler_3D_t

Arguments

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

Index of the entry to initialize

integer, intent(in) :: j

Index of the entry to initialize Index of the entry to initialize

integer, intent(in) :: k

Index of the entry to initialize Index of the entry to initialize Index of the entry to initialize

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