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 function get_file_basename(filename)result(basename)! Function that returns the basename of a string filename! where filename is "basename.extension"character(len=*),intent(in)::filenamecharacter(len=:),allocatable::basenameinteger::dot_indexdot_index=find_extension_index(trim(filename))! If the filename has no extension, return the filenameif(dot_index>0)thenbasename=trim(filename(1:dot_index-1))elsebasename=trim(filename)end if end function get_file_basename