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
real(dp)function interpolate_profile_value(x_nodes,y_nodes,x_query)result(y_query)real(dp),intent(in)::x_nodes(:),y_nodes(:),x_queryinteger::ireal(dp)::tif(size(x_nodes)/=size(y_nodes))error stop'Interpolation node size mismatch.'if(x_query<=x_nodes(1))theny_query=y_nodes(1)return end if do i=2,size(x_nodes)if(x_query<=x_nodes(i))thent=(x_query-x_nodes(i-1))/max(x_nodes(i)-x_nodes(i-1),tiny(1.0d0))y_query=(1.0d0-t)*y_nodes(i-1)+t*y_nodes(i)return end if end doy_query=y_nodes(size(y_nodes))end function interpolate_profile_value