Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
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 bc_data_init()use mod_global_parametersuse mod_comm_lib,only:mpistopinteger::i,iw,ib,n_files,n_bcdouble precision::xmax(3)type(bc_data_t)::bccall bc_read_params(par_files)allocate(bc_data_ix(nwfluxbc,2*ndim))bc_data_ix(:,:)=-1n_bc=0if(any(typeboundary(1:nwfluxbc,1:2*ndim)==bc_data).or.&any(typeboundary(1:nwfluxbc,1:2*ndim)==bc_icarus))then call read_vtk_structured_points(trim(boundary_data_file_name),bc)xmax=bc%origin+(bc%n_points-1)*bc%dxbc_data_time_varying=(bc%n_points(ndim)>1)endif do ib=1,2*ndimdo iw=1,nwfluxbcif(typeboundary(iw,ib)==bc_data.or.typeboundary(iw,&ib)==bc_icarus)thenn_bc=n_bc+1bc_data_ix(iw,ib)=n_bcif(bc_data_time_varying)thenlt_3d(n_bc)=LT3_create_from_data(bc%origin(1:ndim),&xmax(1:ndim),bc%values(:,:,:,n_bc:n_bc))else! Use first point in timelt_2d(n_bc)=LT2_create_from_data(bc%origin(1:ndim-1),&xmax(1:ndim-1),bc%values(:,:,1:1,n_bc))end if end if end do end do end subroutine bc_data_init