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 zhao_residuals_type_c(p,x,f)type(zhao_params_type),intent(in)::preal(dp),intent(in)::x(:)real(dp),intent(out)::f(:)real(dp)::phi0_v,n_swe_inf_m3,a_swe,a_phe,ion_termphi0_v=x(1)n_swe_inf_m3=x(2)if(phi0_v>=0.0d0.or.n_swe_inf_m3<=0.0d0)thenf=1.0d6return end ifa_swe=sqrt(max(0.0d0,-phi0_v/p%t_swe_ev))-p%ua_phe=sqrt(max(0.0d0,-phi0_v/p%t_phe_ev))ion_term=p%n_swi_inf_m3*sqrt(2.0d0*pi*p%t_swe_ev/p%t_phe_ev*p%m_e_kg/p%m_i_kg)*p%machf(1)=0.5d0*n_swe_inf_m3*(1.0d0+2.0d0*erf(p%u)+erf(a_swe))+&0.5d0*p%n_phe0_m3*exp(-phi0_v/p%t_phe_ev)*erfc(a_phe)-p%n_swi_inf_m3f(2)=p%n_phe0_m3-swe_free_current_term(p,n_swe_inf_m3,a_swe)+ion_termend subroutine zhao_residuals_type_c