20#if defined AVERAGES || \
21 (defined ad_averages && defined adjoint) || \
22 (defined rp_averages && defined tl_ioms) || \
23 (defined tl_averages && defined tangent)
46 & deallocate_extract, &
52#if defined FOUR_DVAR || defined VERIFICATION
76#if defined SEDIMENT || defined BBL_MODEL
83#if defined SSH_TIDES || defined UV_TIDES
93#if defined PIO_LIB && defined DISTRIBUTE
103#if defined AD_SENSITIVITY || defined I4DVAR_ANA_SENSITIVITY || \
104 defined opt_observations || defined sensitivity_4dvar || \
123 logical,
intent(in) :: allocate_vars
127 integer :: ng, thread, tile
128 integer :: imins, imaxs, jmins, jmaxs
129 integer :: lbi, ubi, lbj, ubj, lbij, ubij
131 character (len=*),
parameter :: myfile = &
132 & __FILE__//
", ROMS_allocate_arrays"
141 DO thread=thread_range
152 IF (allocate_vars)
then
166#if defined AVERAGES || \
167 (defined ad_averages && defined adjoint) || \
168 (defined rp_averages && defined tl_ioms) || \
169 (defined tl_averages && defined tangent)
187 & xtr_bounds(ng)%LBi(tile), &
188 & xtr_bounds(ng)%UBi(tile), &
189 & xtr_bounds(ng)%LBj(tile), &
190 & xtr_bounds(ng)%UBj(tile))
194 & lbi, ubi, lbj, ubj, lbij, ubij)
200#if defined SEDIMENT || defined BBL_MODEL
203#if defined SSH_TIDES || defined UV_TIDES
225#if defined PIO_LIB && defined DISTRIBUTE
247 DO thread=thread_range
271 character (len=*),
parameter :: myfile = &
272 & __FILE__//
", ROMS_deallocate_arrays"
280#if defined AVERAGES || \
281 (defined ad_averages && defined adjoint) || \
282 (defined rp_averages && defined tl_ioms) || \
283 (defined tl_averages && defined tangent)
300 CALL deallocate_extract (ng)
309#if defined SEDIMENT || defined BBL_MODEL
312#if defined SSH_TIDES || defined UV_TIDES
332#if defined FOUR_DVAR || defined VERIFICATION
361 integer :: ng, thread, tile
363 integer,
parameter :: model = 0
365 character (len=*),
parameter :: myfile = &
366 & __FILE__//
", ROMS_initialize_arrays"
375 DO thread=thread_range
376 CALL wclock_on (ng, inlm, 1, __line__, myfile)
393#if defined AVERAGES || \
394 (defined ad_averages && defined adjoint) || \
395 (defined rp_averages && defined tl_ioms) || \
396 (defined tl_averages && defined tangent)
414 CALL initialize_extract (ng, tile, model)
423#if defined SEDIMENT || defined BBL_MODEL
426#if defined SSH_TIDES || defined UV_TIDES
433#if defined FOUR_DVAR || defined VERIFICATION
449 DO thread=thread_range
450 CALL wclock_off (ng, inlm, 1, __line__, myfile)
subroutine, public roms_initialize_arrays
subroutine, public roms_allocate_arrays(allocate_vars)
subroutine, public roms_deallocate_arrays
subroutine, public deallocate_average(ng)
subroutine, public initialize_average(ng, tile)
subroutine, public allocate_average(ng, lbi, ubi, lbj, ubj)
subroutine, public allocate_bbl(ng, lbi, ubi, lbj, ubj)
subroutine, public initialize_bbl(ng, tile)
subroutine, public deallocate_bbl(ng)
subroutine, public initialize_boundary(ng, tile, model)
subroutine, public deallocate_boundary(ng)
subroutine, public allocate_boundary(ng)
subroutine, public allocate_clima(ng, lbi, ubi, lbj, ubj)
subroutine, public deallocate_clima(ng)
subroutine, public initialize_clima(ng, tile)
subroutine, public deallocate_coupling(ng)
subroutine, public initialize_coupling(ng, tile, model)
subroutine, public allocate_coupling(ng, lbi, ubi, lbj, ubj)
subroutine, public initialize_diags(ng, tile)
subroutine, public allocate_diags(ng, lbi, ubi, lbj, ubj)
subroutine, public deallocate_diags(ng)
subroutine, public initialize_forces(ng, tile, model)
subroutine, public deallocate_forces(ng)
subroutine, public allocate_forces(ng, lbi, ubi, lbj, ubj)
subroutine, public deallocate_fourdvar
subroutine, public initialize_fourdvar
subroutine, public initialize_grid(ng, tile, model)
subroutine, public allocate_grid(ng, extract_flag, lbi, ubi, lbj, ubj, lbij, ubij)
subroutine, public deallocate_grid(ng)
subroutine, public deallocate_ice(ng)
subroutine, public initialize_ice(ng, tile, model)
subroutine, public allocate_ice(ng, lbi, ubi, lbj, ubj, ice_kernel)
subroutine, public deallocate_iounits
subroutine, public initialize_mixing(ng, tile, model)
subroutine, public deallocate_mixing(ng)
subroutine, public allocate_mixing(ng, lbi, ubi, lbj, ubj)
subroutine, public deallocate_nesting
subroutine, public initialize_nesting
subroutine, public allocate_nesting
subroutine, public deallocate_ocean(ng)
subroutine, public initialize_ocean(ng, tile, model)
subroutine, public allocate_ocean(ng, lbi, ubi, lbj, ubj)
integer, dimension(:), allocatable first_tile
integer, dimension(:), allocatable last_tile
type(t_bounds), dimension(:), allocatable bounds
subroutine, public deallocate_param
logical, dimension(:), allocatable luvsrc
logical, dimension(:,:), allocatable ltracersrc
logical, dimension(:), allocatable lwsrc
integer, dimension(:), allocatable extractflag
logical, dimension(:), allocatable lclimatology
subroutine, public deallocate_sedbed(ng)
subroutine, public initialize_sedbed(ng, tile, model)
subroutine, public allocate_sedbed(ng, lbi, ubi, lbj, ubj)
subroutine, public allocate_sources(ng)
subroutine, public deallocate_sources(ng)
subroutine, public deallocate_tides(ng)
subroutine, public initialize_tides(ng, tile)
subroutine, public allocate_tides(ng, lbi, ubi, lbj, ubj)
subroutine, public set_iodecomp
recursive subroutine wclock_off(ng, model, region, line, routine)
recursive subroutine wclock_on(ng, model, region, line, routine)