Changeset 14223 for NEMO/trunk/tests/CANAL/MY_SRC/usrdef_hgr.F90
- Timestamp:
- 2020-12-19T11:22:45+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/tests/CANAL/MY_SRC/usrdef_hgr.F90
r13295 r14223 77 77 ! Position coordinates (in kilometers) 78 78 ! ========== 79 zlam0 = -REAL(N INT(Ni0glo*rn_0xratio)-1, wp)* rn_dx80 zphi0 = -REAL(N INT(Nj0glo*rn_0yratio)-1, wp) * rn_dy79 zlam0 = -REAL(Ni0glo, wp) * rn_0xratio * rn_dx 80 zphi0 = -REAL(Nj0glo, wp) * rn_0yratio * rn_dy 81 81 82 82 #if defined key_agrif … … 90 90 #endif 91 91 92 DO_2D( 1, 1, 1, 1)93 zti = REAL( mig0 _oldcmp(ji) - 1, wp ) ! start at i=0in the global grid without halos94 ztj = REAL( mjg0 _oldcmp(jj) - 1, wp ) ! start at j=0in the global grid without halos92 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 93 zti = REAL( mig0(ji), wp ) - 0.5_wp ! start at i=0.5 in the global grid without halos 94 ztj = REAL( mjg0(jj), wp ) - 0.5_wp ! start at j=0.5 in the global grid without halos 95 95 96 96 plamt(ji,jj) = zlam0 + rn_dx * zti
Note: See TracChangeset
for help on using the changeset viewer.