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_type_coo(self,num_nodes,row,col)implicit none class(type_coo),intent(inout)::selfinteger(int32),intent(in)::num_nodesinteger(int32),intent(in),optional::row(:)integer(int32),intent(in),optional::col(:)integer(int32)::iif(.not.present(row).or..not.present(col))then print*,"Error: row and col must be provided for COO initialization."stop end ifself%nnz=size(row)call allocate_array(self%row,self%nnz)do i=1,self%nnzself%row(i)=row(i)end do call allocate_array(self%col,self%nnz)call allocate_array(self%val,self%nnz)do i=1,self%nnzself%col(i)=col(i)self%val(i)=0.0d0end do end subroutine initialize_type_coo