aGetProb_3D Function

private elemental function aGetProb_3D(this, i, j, k, tgt) result(prob)

Returns the probability to draw tgt from the sampler with index iEntry

Type Bound

AliasSampler_3D_t

Arguments

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

Index of the sampler to use

integer, intent(in) :: j

Index of the sampler to use Index of the sampler to use

integer, intent(in) :: k

Index of the sampler to use Index of the sampler to use Index of the sampler to use

integer, intent(in) :: tgt

the number for which we request the probability of sampling

Return Value real(kind=dp)