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.
Variables
Type
Visibility
Attributes
Name
Initial
character(len=128),
private
::
ferr
integer,
private
::
ios
integer,
private
::
n
character(len=1),
private
::
unit
integer,
private
::
val
Source Code
pure subroutine parse_cadence_attr(s,secs,ok)!! Parse a cadence attribute `<int><unit>` (unit s/m/h/d) to seconds.!! `ok=.false.` if `s` is not a well-formed positive cadence.character(len=*),intent(in)::sreal(wp),intent(out)::secslogical,intent(out)::okinteger::n,ios,valcharacter::unitcharacter(len=128)::ferrsecs=-1.0_wpok=.false.n=len_trim(s)if(n<2)returnunit=s(n:n)read(s(1:n-1),*,iostat=ios,iomsg=ferr)valif(ios/=0.or.val<=0)return select case(unit)case("s")secs=real(val,wp)case("m")secs=real(val,wp)*60.0_wpcase("h")secs=real(val,wp)*3600.0_wpcase("d")secs=real(val,wp)*86400.0_wpcase defaultreturn end selectok=.true.end subroutine parse_cadence_attr