is_occupied Function

public function is_occupied(p, f, n_occ, oi) result(res)

function is_occupied: P: Parameter structure N_occ: occ array oi: orbital index returns TRUE if there might be a statistical chance for occupancy in orbital oi otherwise FALSE

Arguments

Type IntentOptional Attributes Name
type(param), intent(in) :: p
type(wf_data), intent(in) :: f
integer, intent(in) :: n_occ(:)
integer :: oi

Return Value logical