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_n(vec,n_elements,format_type)!! print a vector from start up to n_elementsreal(dp),intent(in)::vec(:)character(len=*),intent(in),optional::format_typecharacter(len=20)::format_selectedinteger(kind=default_int),intent(in)::n_elements! 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,n_elements)else call print_vector_in_format(vec,format_selected,n_elements)end if end subroutine print_vector_n