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.
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.
Source Code
subroutine junction_init_part2(me,krn,cfg)type(junction_t),intent(inout)::metype(krn_t),target,intent(inout)::krnclass(input_t),pointer,intent(in)::cfgtype(input_t),allocatable::branches(:)integer::i,jcall all_junction_allocation(me)branches=cfg%dict1d('link')do i=1,me%NbTotBrme%br(i)%p=>krn%FF_flux_ports(krn%FF_flux_list%find(branches(i)%str('id'),&convert2int_port(branches(i)%str('node'))))if(me%br(i)%p%connected)then print*,'Port ',branches(i)%str('node'),' belonging to ',branches(i)%str('id'),' already connected to a link'stop endifme%br(i)%p%connected=.true.me%br(i)%angle=branches(i)%dbl('angle',0.0_dp)enddome%kappa=branches(1)%dbl('kappa',1.0_dp)do j=1,me%NbTotBrdo i=1,me%NbTotBrif(j/=i)then call krn%coo_add_link(me%br(j)%p,me%br(i)%p,idx_4x4_col,&idx_4x4_row,to_ptr_arr(me%Matrix(:,:,i,j)))endif enddo enddoend subroutine junction_init_part2