Draw_t Interface

interface
private subroutine Draw_t(this, nI, ilutI, csf_I, i_sg, srcs, p)

Arguments

Type IntentOptional Attributes Name
class(ParticleSelector_t), intent(in) :: this
integer, intent(in) :: nI(nEl)

The determinant in nI-format and the prop_vec index

integer(kind=n_int), intent(in) :: ilutI(0:nIfD)

The determinant in bitmask format

type(CSF_Info_t), intent(in) :: csf_I
integer, intent(in) :: i_sg

The prop_vec index

integer, intent(out) :: srcs(2)

The chosen particles and their index in nI. It is guaranteed that scrs(1) < srcs(2).

real(kind=dp), intent(out) :: p

The probability of drawing . This is the probability of drawing two particles from a given determinant regardless of order.