Changeset 8283
- Timestamp:
- 2017-07-05T15:51:07+02:00 (7 years ago)
- Location:
- branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r8257 r8283 154 154 155 155 IF( TRIM(cdname) == TRIM(cxios_context) ) THEN 156 CALL set_grid( "T", glamt, gphit, ln_mskland)157 CALL set_grid( "U", glamu, gphiu, ln_mskland)158 CALL set_grid( "V", glamv, gphiv, ln_mskland)159 CALL set_grid( "W", glamt, gphit, ln_mskland)156 CALL set_grid( "T", glamt, gphit, .FALSE. ) 157 CALL set_grid( "U", glamu, gphiu, .FALSE. ) 158 CALL set_grid( "V", glamv, gphiv, .FALSE. ) 159 CALL set_grid( "W", glamt, gphit, .FALSE. ) 160 160 CALL set_grid_znl( gphit ) 161 161 ! … … 172 172 ENDIF 173 173 174 IF( lrst_context ) CALL set_grid("N",glamt, gphit, . FALSE.) ! not masked values174 IF( lrst_context ) CALL set_grid("N",glamt, gphit, .TRUE.) ! not masked values 175 175 176 176 IF( TRIM(cdname) == TRIM(cxios_context)//"_crs" ) THEN 177 177 CALL dom_grid_crs ! Save the parent grid information & Switch to coarse grid domain 178 178 ! 179 CALL set_grid( "T", glamt_crs, gphit_crs, ln_mskland)180 CALL set_grid( "U", glamu_crs, gphiu_crs, ln_mskland)181 CALL set_grid( "V", glamv_crs, gphiv_crs, ln_mskland)182 CALL set_grid( "W", glamt_crs, gphit_crs, ln_mskland)179 CALL set_grid( "T", glamt_crs, gphit_crs, .FALSE. ) 180 CALL set_grid( "U", glamu_crs, gphiu_crs, .FALSE. ) 181 CALL set_grid( "V", glamv_crs, gphiv_crs, .FALSE. ) 182 CALL set_grid( "W", glamt_crs, gphit_crs, .FALSE. ) 183 183 CALL set_grid_znl( gphit_crs ) 184 184 ! … … 1907 1907 1908 1908 1909 SUBROUTINE set_grid( cdgrd, plon, plat, l mask)1909 SUBROUTINE set_grid( cdgrd, plon, plat, lrst ) 1910 1910 !!---------------------------------------------------------------------- 1911 1911 !! *** ROUTINE set_grid *** … … 1917 1917 REAL(wp), DIMENSION(jpi,jpj), INTENT(in) :: plon 1918 1918 REAL(wp), DIMENSION(jpi,jpj), INTENT(in) :: plat 1919 LOGICAL , INTENT(in) :: lrst 1919 1920 ! 1920 1921 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zmask 1921 1922 INTEGER :: ni,nj 1922 LOGICAL :: lmask1923 1923 1924 1924 ni=nlei-nldi+1 ; nj=nlej-nldj+1 … … 1931 1931 CALL iom_set_domain_attr("grid_"//cdgrd, data_dim=2, data_ibegin = 1-nldi, data_ni = jpi, data_jbegin = 1-nldj, data_nj = jpj) 1932 1932 1933 CALL iom_set_domain_attr("grid_"//cdgrd, lonvalue = RESHAPE(plon(nldi:nlei,nldj:nlej),(/ ni*nj /)), &1933 IF(.NOT.lrst) CALL iom_set_domain_attr("grid_"//cdgrd, lonvalue = RESHAPE(plon(nldi:nlei,nldj:nlej),(/ ni*nj /)), & 1934 1934 & latvalue = RESHAPE(plat(nldi:nlei, nldj:nlej),(/ ni*nj /))) 1935 IF ( l mask) THEN1935 IF ( ln_mskland ) THEN 1936 1936 ! mask land points, keep values on coast line -> specific mask for U, V and W points 1937 1937 SELECT CASE ( cdgrd ) -
branches/UKMO/test_moci_test_suite/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r7923 r8283 395 395 IF( lk_c1d ) CALL c1d_init ! 1D column configuration 396 396 CALL dom_cfg ! Domain configuration 397 CALL sbc_init ! Forcings : surface module (restart read with XIOS) 397 398 CALL dom_init ! Domain 398 399 … … 404 405 405 406 IF( lk_tide ) CALL tide_init( nit000 ) ! Initialisation of the tidal harmonics 406 407 CALL sbc_init ! Forcings : surface module (clem: moved here for bdy purpose)408 407 409 408 IF( lk_bdy ) CALL bdy_init ! Open boundaries initialisation
Note: See TracChangeset
for help on using the changeset viewer.