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_matrix(mat,format_type)!! print a matrix in a given formatreal(kind=dp),intent(in)::mat(:,:)! 2D 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_matrix(mat)else call print_matrix_in_format(mat,format_selected)end if end subroutine print_matrix