Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
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.
program main!$ use omp_libuse script,only:read_jobuse crest_paramuse data_arch,only:I4,R8implicit none call prg_surfcontains subroutine prg_surf()!================================================================================================!<@note Main function...!! - retrieve script (job) file! - read script! - run specific functions associated to a script keyword!!<@endnote!------------------------------------------------------------------------------------------------implicit nonecharacter(len=128)::arg_prgcharacter(len=512)::job_filecharacter(len=008)::chara_dcharacter(len=010)::chara_tinteger(kind=I4)::var_i! String initialisationarg_prg=repeat(' ',len(arg_prg))JOB_FILE=repeat(' ',len(JOB_FILE))var_i=1call get_command_argument(var_i,arg_prg)! argument one: argument stringif(len_trim(arg_prg)==0)then! if there is no job file, stopwrite(TER,*)'no job file, stop'stop elsejob_file=trim(arg_prg)endif call read_job(job_file)! the program executes 'prg_repeat' timeswrite(TER,*)'Program completed'return endsubroutine prg_surfendprogram main