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_polar_data(data_file_name,n,x,y,ierror)implicit none!integer n!character(len=*)data_file_nameinteger file_unitinteger iinteger ierrorinteger iosreal x(n)real y(n)!ierror=0call get_unit(file_unit)if(file_unit==0)thenierror=1write(*,'(a)')' 'write(*,'(a)')'WRITE_POLAR_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_POLAR_DATA - Fatal error!'write(*,'(a)')' Could not open the output file.'return end if do i=1,nwrite(file_unit,*)x(i),y(i)end do close(unit=file_unit)write(*,'(a)')' 'write(*,'(a)')'WRITE_POLAR_DATA:'write(*,'(a)')' Wrote the GNUPLOT POLAR data file "'//&trim(data_file_name)//'"'returnendsubroutine write_polar_data