link all FABM configured external dependencies - and call model%start() to assure proper configuration
subroutine fabm_link_data() !! link all FABM configured external dependencies - and call !! model%start() to assure proper configuration integer :: n ! link to time in-dependent data that do require transformation call link_grid() ! link to time dependent data that do NOT require transformation call model%link_interior_data( & fabm_standard_variables%temperature,t(:,:,:,itemp,0)) ! link to time dependent data that do require transformation ! initialize and update time changing environmental variables call link_wind() call link_mole_fraction_of_carbon_dioxide_in_air() ckb call link_surface_downwelling_photosynthetic_radiative_flux() call link_surface_swr_flux() call link_bottom_stress() ckb call link_downwelling_photosynthetic_radiative_flux() call link_salinity() call link_density() ! link to FABMs surface state variables do n = 1,nsurface ! call model%link_surface_state_data(n, sed(:,:,n)) end do ! link to FABMs interior state variables do n = 1, size(model%interior_state_variables) call model%link_interior_state_data(n, t(:,:,:,2+n,0)) itrc(n+2) = n+2 !KBmapst(2+n) = 's'//trim(mapt(2+n)) end do ! link to FABMs bottom state variables do n = 1,nbottom call model%link_bottom_state_data(n, sed(:,:,n)) end do call model%start() end subroutine fabm_link_data