Changeset 14673
- Timestamp:
- 2021-04-02T15:06:01+02:00 (3 years ago)
- Location:
- NEMO/branches/2021/dev_r14608_AGRIF_domcfg/tests/ICE_AGRIF
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14608_AGRIF_domcfg/tests/ICE_AGRIF/EXPREF/AGRIF_FixedGrids.in
r13286 r14673 1 1 1 2 3 3 62 33 623 3 32 34 63 34 63 3 3 3 3 3 0 -
NEMO/branches/2021/dev_r14608_AGRIF_domcfg/tests/ICE_AGRIF/EXPREF/make_INITICE.py
r10516 r14673 20 20 # Reading coordinates file 21 21 nccoord=netcdf(fcoord,'r') 22 nav_lon=nccoord.variables[' nav_lon']23 nav_lat=nccoord.variables[' nav_lat']22 nav_lon=nccoord.variables['x'] 23 nav_lat=nccoord.variables['y'] 24 24 time_counter=1 25 25 LON1= nav_lon.shape[1] -
NEMO/branches/2021/dev_r14608_AGRIF_domcfg/tests/ICE_AGRIF/MY_SRC/usrdef_hgr.F90
r14223 r14673 79 79 IF( Agrif_Root() ) THEN 80 80 #endif 81 zlam0 = -REAL(Ni0glo , wp) * 0.5 * 1.e-3 * rn_dx82 zphi0 = -REAL(Nj0glo , wp) * 0.5 * 1.e-3 * rn_dy81 zlam0 = -REAL(Ni0glo-1, wp) * 0.5 * 1.e-3 * rn_dx 82 zphi0 = -REAL(Nj0glo-1, wp) * 0.5 * 1.e-3 * rn_dy 83 83 #if defined key_agrif 84 84 ELSE … … 86 86 !clem zlam0 = Agrif_Parent(zlam0) + (Agrif_ix())*Agrif_Parent(rn_dx) * 1.e-5 87 87 !clem zphi0 = Agrif_Parent(zphi0) + (Agrif_iy())*Agrif_Parent(rn_dy) * 1.e-5 88 zlam0 = ( 0.5_wp - REAL( Ni0glo, wp) * 0.5 ) * 1.e-3 * Agrif_irhox() * rn_dx &89 & + ( Agrif_Ix() + nbghostcells - 1 ) * Agrif_irhox() * rn_dx * 1.e-3 - ( 0.5_wp + nbghostcells) * rn_dx * 1.e-390 zphi0 = ( 0.5_wp - REAL( Nj0glo, wp) * 0.5 ) * 1.e-3 * Agrif_irhoy() * rn_dy &91 & + ( Agrif_Iy() + nbghostcells - 1 ) * Agrif_irhoy() * rn_dy * 1.e-3 - ( 0.5_wp + nbghostcells ) * rn_dy * 1.e-388 zlam0 = ( 0.5_wp - REAL(Agrif_Parent(Ni0glo)-1, wp) * 0.5 ) * 1.e-3 * Agrif_irhox() * rn_dx & 89 & + ( Agrif_Ix() + Agrif_Parent(nbghostcells_x ) - 1 ) * Agrif_irhox() * rn_dx * 1.e-3 - ( 0.5_wp + nbghostcells_x ) * rn_dx * 1.e-3 90 zphi0 = ( 0.5_wp - REAL(Agrif_Parent(Nj0glo)-1, wp) * 0.5 ) * 1.e-3 * Agrif_irhoy() * rn_dy & 91 & + ( Agrif_Iy() + Agrif_Parent(nbghostcells_y_s) - 1 ) * Agrif_irhoy() * rn_dy * 1.e-3 - ( 0.5_wp + nbghostcells_y_s ) * rn_dy * 1.e-3 92 92 ENDIF 93 93 #endif 94 94 95 95 DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 96 zti = REAL( mig0(ji) , wp ) - 0.5_wp ! start at i=0.5in the global grid without halos97 ztj = REAL( mjg0(jj) , wp ) - 0.5_wp ! start at j=0.5in the global grid without halos96 zti = REAL( mig0(ji)-1, wp ) ! start at i=0. in the global grid without halos 97 ztj = REAL( mjg0(jj)-1, wp ) ! start at j=0. in the global grid without halos 98 98 99 99 plamt(ji,jj) = zlam0 + rn_dx * 1.e-3 * zti
Note: See TracChangeset
for help on using the changeset viewer.