next_supergroup Function

public pure function next_supergroup(GAS_spec, comp_idx_last, previous) result(res)

Return the next supergoup


Type IntentOptional Attributes Name
class(GASSpec_t), intent(in) :: GAS_spec
integer(kind=int64), intent(in) :: comp_idx_last

The composition index of the last supergroup that can be generated. “Last” as defined by lexicographically decreasing order.

integer, intent(in) :: previous(:)

The previous supergroup.

Return Value integer, (size(previous))