idxer_gen_all_excits Subroutine

private subroutine idxer_gen_all_excits(this, nI, n_excits, det_list, ic)

Get all excitated determinants from det_I that are allowed under GAS constraints.

Type Bound

GAS_SuperGroupIndexer_t

Arguments

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

Starting determinant

integer, intent(out) :: n_excits

Number of determinants

integer(kind=n_int), intent(out), allocatable :: det_list(:,:)

Allocatable array of determinants in ilut format

integer, intent(in), optional :: ic

Optional input for excitation level (ic=1 => singles, ic=2 => doubles) If ommited generate all.