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 calc_moments_1D(tab,mx,nb_mom,lg)implicit noneinteger(kind=I4),intent(in)::lginteger(kind=I4),intent(in)::nb_momreal(kind=R8),intent(in),dimension(1:lg)::tabtype(moment_stat),intent(out)::mxinteger(kind=I4)::ireal(kind=R8)::tmpmx%mu=0mx%si=0mx%va=0mx%Sk=0mx%Ku=0do i=1,lgmx%mu=mx%mu+tab(i)/lgenddo if(nb_mom==1)return do i=1,lgmx%va=mx%va+((tab(i)-mx%mu)**2)/lgenddomx%si=sqrt(mx%va)if(nb_mom==2)return if(mx%si<1.e-15_R8)thenmx%Sk=0mx%Ku=0else do i=1,lgtmp=(tab(i)-mx%mu)/mx%simx%Sk=mx%Sk+(tmp**3)/lgmx%Ku=mx%Ku+(tmp**4)/lgenddo endif return endsubroutine calc_moments_1D