Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
Source Code
pure subroutine get_next_combination(indices,k,n,has_next)!! Generate next combination (updates indices in place)!! has_next = .true. if there's a next combinationinteger,intent(inout)::indices(:)integer,intent(in)::k,nlogical,intent(out)::has_nextinteger::ihas_next=.true.i=kdo while(i>=1)if(indices(i)<n-k+i)thenindices(i)=indices(i)+1do while(i<k)i=i+1indices(i)=indices(i-1)+1end do return end ifi=i-1end dohas_next=.false.end subroutine get_next_combination