Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Resolve group leader rank and group id for the given node leader rank.
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
subroutine get_group_leader_rank(ctx,node_rank,group_leader_rank,group_id)!! Resolve group leader rank and group id for the given node leader rank.use mqc_many_body_expansion,only:many_body_expansion_tclass(many_body_expansion_t),intent(in)::ctxinteger,intent(in)::node_rankinteger,intent(out)::group_leader_rankinteger,intent(out)::group_idinteger::igroup_leader_rank=0group_id=1if(.not.allocated(ctx%node_leader_ranks))return if(.not.allocated(ctx%group_leader_ranks))return if(.not.allocated(ctx%group_ids))return do i=1,size(ctx%node_leader_ranks)if(ctx%node_leader_ranks(i)==node_rank)thengroup_leader_rank=ctx%group_leader_ranks(i)group_id=ctx%group_ids(i)return end if end do end subroutine get_group_leader_rank