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.
Source Code
integer function get_snapshot_index(filename)character(len=*),intent(in)::filenameinteger::i! Try to parse index in restart_from_file string (e.g. basename0000.dat)i=len_trim(filename)-7read(filename(i:i+3),'(I4)')get_snapshot_indexend function get_snapshot_index