groundstate_occ Function

public function groundstate_occ(occ, ncore, open_shell, add_electrons) result(gs_occ)

returns ground state occupation numbers

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: occ(:)
integer, optional :: ncore
logical, optional :: open_shell
logical, optional :: add_electrons

Return Value integer, (size(occ))