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 write_xy2_data(data_file_name,n,x,y,y2,ierror)!!*******************************************************************************implicit none!integer n!character(len=*)data_file_nameinteger file_unitinteger iinteger ierrorinteger iosreal x(n)real y(n)real y2(n)!ierror=0call get_unit(file_unit)if(file_unit==0)thenierror=1write(*,'(a)')' 'write(*,'(a)')'WRITE_XY_DATA - Fatal error!'write(*,'(a)')' Could not get a free FORTRAN unit.'return end if open(unit=file_unit,file=data_file_name,status='replace',&iostat=ios)if(ios/=0)thenierror=2write(*,'(a)')' 'write(*,'(a)')'WRITE_XY_DATA - Fatal error!'write(*,'(a)')' Could not open the output file.'return end if do i=1,nwrite(file_unit,*)x(i),y(i),y2(i)end do close(unit=file_unit)returnendsubroutine write_xy2_data