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
function pfio_get_att_string(ncid,varid,name,string)result(status)integer::statusinteger(kind=C_INT),intent(in)::ncidinteger(kind=C_INT),intent(in)::varidcharacter(*),intent(in)::namecharacter(:),allocatable,intent(out)::stringinteger::name_leninteger(kind=C_INT),target::attlencharacter(kind=C_CHAR,len=:),target,allocatable::c_namecharacter(len=512)::tmp_str! C requires null terminationname_len=len_trim(name)allocate(character(kind=C_CHAR,len=name_len+1)::c_name)c_name(1:name_len)=name(1:name_len)c_name(name_len+1:name_len+1)=C_NULL_CHARtmp_str=''! This c-call would fill tmp_str with the global attributestatus=c_f_pfio_get_att_string(ncid,varid,c_name,tmp_str,attlen)allocate(character(len=attlen)::string)string=trim(tmp_str)deallocate(c_name)end function pfio_get_att_string