ROMS
Loading...
Searching...
No Matches
rp_post_initial_mod Module Reference

Functions/Subroutines

subroutine, public rp_post_initial (ng, model)
 

Function/Subroutine Documentation

◆ rp_post_initial()

subroutine, public rp_post_initial_mod::rp_post_initial ( integer, intent(in) ng,
integer, intent(in) model )

Definition at line 39 of file rp_post_initial.F.

40!***********************************************************************
41!
42! Imported variable declarations.
43!
44 integer, intent(in) :: ng, model
45!
46! Local variable declarations.
47!
48 integer :: tile
49!
50!-----------------------------------------------------------------------
51! Initialize free-surface and compute initial level thicknesses and
52! depths.
53!-----------------------------------------------------------------------
54!
55 DO tile=first_tile(ng),last_tile(ng),+1
56 CALL rp_ini_zeta (ng, tile, model)
57 CALL rp_set_depth (ng, tile, model)
58 END DO
59!$OMP BARRIER
60!
61!-----------------------------------------------------------------------
62! Initialize other state variables.
63!-----------------------------------------------------------------------
64!
65 DO tile=last_tile(ng),first_tile(ng),-1
66 CALL rp_ini_fields (ng, tile, model)
67 END DO
68!$OMP BARRIER
69
70# ifdef NESTING
71!
72!-----------------------------------------------------------------------
73! Extract donor grid initial data at contact points and store it in
74! REFINED structure so it can be used for the space-time interpolation.
75!-----------------------------------------------------------------------
76!
77 IF (refinedgrid(ng)) THEN
78 CALL rp_nesting (ng, model, ngetd)
79 END IF
80# endif
81!
82 RETURN

References mod_parallel::first_tile, mod_parallel::last_tile, mod_scalars::refinedgrid, rp_ini_fields_mod::rp_ini_fields(), rp_ini_fields_mod::rp_ini_zeta(), and rp_set_depth_mod::rp_set_depth().

Referenced by rp_main3d().

Here is the call graph for this function:
Here is the caller graph for this function: