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.
Source Code
function partition(array,left,right,pindex)integer,pointer::array(:)integer,intent(in)::left,right,pindexinteger::partitioninteger::pvalue,tmp,sindex,ipvalue=array(pindex)tmp=array(right)array(right)=pvaluearray(pindex)=tmpsindex=leftdo i=left,right-1if(array(i).le.pvalue)thentmp=array(i)array(i)=array(sindex)array(sindex)=tmpsindex=sindex+1endif end dotmp=array(sindex)array(sindex)=array(right)array(right)=tmppartition=sindexend function partition