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
subroutine instant_validate_slice_inputs(slice_enabled,n_slice,slice_array,slice_name)! Validate slice arrays: check count and non-zero entriesimplicit nonelogical,intent(in)::slice_enabledinteger,intent(in)::n_sliceinteger,intent(in)::slice_array(:)character(len=*),intent(in)::slice_nameif(slice_enabled)then if(n_slice<=0)then write(0,*)'ERROR: l',trim(slice_name),'dump=.true. but n',trim(slice_name),'=',n_slice,' (must be > 0)'stop 1end if if(count(slice_array(1:n_slice)>0)/=n_slice)then write(0,*)'ERROR: n',trim(slice_name),'=',n_slice,' but only',count(slice_array(1:n_slice)>0),&' valid (>0) entries found in ',trim(slice_name),' array'write(0,*)'Check that ',trim(slice_name),' has exactly n',trim(slice_name),' positive values'stop 1end if end if end subroutine instant_validate_slice_inputs