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.
pure function myfunc_spec(residual)implicit nonereal(xp),intent(in),dimension(:),allocatable::residualreal(xp)::myfunc_specmyfunc_spec=0._xpmyfunc_spec=0.5_xp*sum(residual**2._xp)end function myfunc_spec