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
pure subroutine rainbow_colormap(map)integer,dimension(:,:),allocatable,intent(out)::mapinteger::levels,last,i! The user can not choose the number of levels:levels=256last=levels-1allocate(map(0:last,1:3))! We add three gaussians (red, green, blue):doconcurrent(i=0:last)map(i,1)=nint(last*exp(-((206-i)/70.0_wp)**2.0_wp))map(i,2)=nint(last*exp(-((156-i)/70.0_wp)**2.0_wp))map(i,3)=nint(last*exp(-((106-i)/70.0_wp)**2.0_wp))end do end subroutine rainbow_colormap