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.
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.
Source Code
function get_names_from_string(aux_variable_names,nwc)result(names)use mod_global_parameterscharacter(len=*),intent(in)::aux_variable_namesinteger,intent(in)::nwccharacter(len=name_len)::names(1:nwc)integer::space_position,iwcharacter(len=name_len)::wnamecharacter(len=std_len)::scanstring! copied from subroutine getheadernames in calculate_xw!TODO check for errors scanstring=TRIM(adjustl(aux_variable_names))space_position=index(scanstring,' ')do iw=1,nwcdo while(space_position==1)scanstring=scanstring(2:)space_position=index(scanstring,' ')enddowname=scanstring(:space_position-1)scanstring=scanstring(space_position+1:)space_position=index(scanstring,' ')names(iw)=TRIM(adjustl(wname))enddo end function get_names_from_string