active_space_occs Subroutine

public subroutine active_space_occs(n_occ, active_space_mo, occs)

returns a list of occupations, constructed from N_occ by redistributing electrons wihtin the orbitals given in active_space_MO

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n_occ(:)
integer, intent(in) :: active_space_mo(:)
integer, intent(out), allocatable :: occs(:,:)