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.
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 inout_project_path_initialize()implicit nonecharacter(64),parameter::dName="ProjectPath.dir"integer(int32)::access,status,len_path,unit_numinteger(int32)::istatus=access(dName,"r")if(status/=0)call error_message(901,c_opt=dName)open(newunit=unit_num,file=dName,iostat=status,status="old")if(status/=0)call error_message(902,c_opt=dName)read(unit_num,'(a)')ProjectPathclose(unit_num)len_path=len_trim(ProjectPath)ProjectPath=trim(adjustl(ProjectPath))! For windows, replace "\\" with "/"i=index(ProjectPath,"\\")do while(i>0)ProjectPath(i:i+1)="/"if(i+2<=len_path)thenProjectPath(i+1:)=ProjectPath(i+2:)//" "end iflen_path=len_path-1i=index(ProjectPath,"\\")end do! For UNIX, replace "\" with "/"i=index(ProjectPath,"\") do while (i > 0) ProjectPath(i:i) = "/" len_path = len_trim(ProjectPath) i = index(ProjectPath, "\") end do ! Add "/" to end to path if (len_path > 0 .and. ProjectPath(len_path:len_path) /= "/") then ProjectPath = trim(adjustl(ProjectPath))//"/"end ifis_initialize_project_path=.true.end subroutine inout_project_path_initialize