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 initialize_map(self,num_nodes,elements,algorithm)class(type_map_node_to_element),intent(inout)::selfinteger(int32),intent(in)::num_nodestype(holder_elements),intent(in)::elements(:)character(len=*),intent(in),optional::algorithmcharacter(len=10)::chosen_algorithm! 既存のマップがあれば解放call self%destroy()! アルゴリズムの選択 (指定がなければ 'fast' をデフォルトに)if(present(algorithm))thenchosen_algorithm=trim(adjustl(algorithm))elsechosen_algorithm='fast'end if select case(chosen_algorithm)case('fast')call initialize_fast(self,num_nodes,elements)case('simple')call initialize_simple(self,num_nodes,elements)case default! error handlingend select end subroutine initialize_map