occ_to_index Subroutine

public subroutine occ_to_index(occ, i)

maps index to occupation pattern

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: occ(:)
integer, intent(out) :: i