Changeset 14072 for NEMO/trunk/tests/STATION_ASF/MY_SRC/usrdef_hgr.F90
- Timestamp:
- 2020-12-04T08:48:38+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/tests/STATION_ASF/MY_SRC/usrdef_hgr.F90
r13286 r14072 12 12 13 13 !!---------------------------------------------------------------------- 14 !! usr_def_hgr : initialize the horizontal mesh 14 !! usr_def_hgr : initialize the horizontal mesh 15 15 !!---------------------------------------------------------------------- 16 USE dom_oce , ONLY: nimpp, njmpp ! ocean space and time domain 16 17 USE c1d , ONLY: rn_lon1d, rn_lat1d ! ocean lon/lat define by namelist 17 18 USE par_oce ! ocean space and time domain … … 21 22 USE in_out_manager ! I/O manager 22 23 USE lib_mpp ! MPP library 23 24 24 25 IMPLICIT NONE 25 26 PRIVATE … … 29 30 !!---------------------------------------------------------------------- 30 31 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 31 !! $Id: usrdef_hgr.F90 1 2489 2020-02-28 15:55:11Z davestorkey $32 !! $Id: usrdef_hgr.F90 13216 2020-07-02 09:25:49Z rblod $ 32 33 !! Software governed by the CeCILL license (see ./LICENSE) 33 34 !!---------------------------------------------------------------------- … … 48 49 !! 49 50 !! Here STATION_ASF configuration : 50 !! Rectangular 3x3 domain 51 !! Rectangular 3x3 domain 51 52 !! - Located at 150E-50N 52 !! - a constant horizontal resolution 53 !! - a constant horizontal resolution 53 54 !! 54 !! ** Action : - define longitude & latitude of t-, u-, v- and f-points (in degrees) 55 !! ** Action : - define longitude & latitude of t-, u-, v- and f-points (in degrees) 55 56 !! - define coriolis parameter at f-point if the domain in not on the sphere (on beta-plane) 56 57 !! - define i- & j-scale factors at t-, u-, v- and f-points (in meters) … … 63 64 REAL(wp), DIMENSION(:,:), INTENT(out) :: pe1t, pe1u, pe1v, pe1f ! i-scale factors [m] 64 65 REAL(wp), DIMENSION(:,:), INTENT(out) :: pe2t, pe2u, pe2v, pe2f ! j-scale factors [m] 65 INTEGER , INTENT(out) :: ke1e2u_v ! =1 u- & v-surfaces computed here, =0 otherwise 66 INTEGER , INTENT(out) :: ke1e2u_v ! =1 u- & v-surfaces computed here, =0 otherwise 66 67 REAL(wp), DIMENSION(:,:), INTENT(out) :: pe1e2u, pe1e2v ! u- & v-surfaces (if reduction in strait) [m2] 67 68 ! … … 77 78 ! ! longitude 78 79 plamt(:,:) = rn_lon1d 79 plamu(:,:) = rn_lon1d 80 plamu(:,:) = rn_lon1d 80 81 plamv(:,:) = rn_lon1d 81 82 plamf(:,:) = rn_lon1d … … 93 94 pe1f(:,:) = 100. ; pe2f(:,:) = 100. 94 95 ! 95 ! ! NO reduction of grid size in some straits 96 ! ! NO reduction of grid size in some straits 96 97 ke1e2u_v = 0 ! ==>> u_ & v_surfaces will be computed in dom_ghr routine 97 98 pe1e2u(:,:) = 0._wp ! CAUTION: set to zero to avoid error with some compilers that … … 100 101 ! 101 102 ! !== Coriolis parameter ==! 102 zf0 = 2._wp * omega * SIN( rad * rn_lat1d ) 103 zf0 = 2._wp * omega * SIN( rad * rn_lat1d ) 103 104 pff_f(:,:) = zf0 104 pff_t(:,:) = zf0 105 pff_t(:,:) = zf0 105 106 kff = 1 ! indicate to skip computing Coriolis parameter afterward 106 107 !
Note: See TracChangeset
for help on using the changeset viewer.