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.
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=20),
private
::
format_selected
Source Code
subroutine print_vector(vec,format_type)!! print a vectorreal(kind=dp),intent(in)::vec(:)! 1D arraycharacter(len=*),intent(in),optional::format_typecharacter(len=20)::format_selected! Determine the format: default to "PLAIN" if not specifiedif(present(format_type))thenformat_selected=trim(adjustl(format_type))elseformat_selected="PLAIN"end if! Handle plain format separately or delegate to print routine based on the formatif(format_selected=="PLAIN")then call print_plain_vector(vec)else call print_vector_in_format(vec,format_selected)end if end subroutine print_vector