- Timestamp:
- 2020-06-30T18:05:17+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/NST/agrif_user.F90
r13162 r13182 239 239 240 240 IF( agrif_oce_alloc() > 0 ) CALL ctl_warn('agrif agrif_oce_alloc: allocation of arrays failed') 241 242 lk_west = .NOT. ( Agrif_Ix() == 1 )243 lk_east = .NOT. ( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(jpiglo) -1 )244 lk_south = .NOT. ( Agrif_Iy() == 1 )245 lk_north = .NOT. ( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(jpjglo) -1 )246 241 247 242 ! Build consistent parent bathymetry and number of levels … … 877 872 WRITE(numout,*) ' check bathymetry ln_chk_bathy = ', ln_chk_bathy 878 873 ENDIF 874 875 lk_west = .NOT. ( Agrif_Ix() == 1 ) 876 lk_east = .NOT. ( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(jpiglo) -1 ) 877 lk_south = .NOT. ( Agrif_Iy() == 1 ) 878 lk_north = .NOT. ( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(jpjglo) -1 ) 879 879 880 ! 880 881 ! Set the number of ghost cells according to periodicity … … 885 886 IF ( jperio == 1 ) nbghostcells_x = 0 886 887 IF ( .NOT. lk_south ) nbghostcells_y_s = 0 888 889 write(*,*) lk_south, nbghostcells_y_s, nbghostcells_y_n 887 890 888 891 ! Some checks
Note: See TracChangeset
for help on using the changeset viewer.