New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14901 for NEMO/branches/2021 – NEMO

Changeset 14901 for NEMO/branches/2021


Ignore:
Timestamp:
2021-05-25T23:02:44+02:00 (3 years ago)
Author:
smueller
Message:

Supplement to changeset [14900] that accomplishes the enabling of the tiling option in the OSMOSIS boundary-layer scheme implementation (ticket #2353)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14122_HPC-08_Mueller_OSMOSIS_streamlining/src/OCE/ZDF/zdfosm.F90

    r14900 r14901  
    655655      jk_ext(:,:) = nbld(A2D((nn_hls-1))) - nmld(A2D((nn_hls-1))) + jk_ext(:,:) + 1   ! ag 19/03 
    656656      CALL zdf_osm_vertical_average( Kbb,                       Kmm,                         & 
    657          &                           nmld - 1,                  av_t_ml(A2D((nn_hls-1))),    & 
     657         &                           nmld(A2D((nn_hls-1))) - 1, av_t_ml(A2D((nn_hls-1))),    & 
    658658         &                           av_s_ml(A2D((nn_hls-1))),  av_b_ml(A2D((nn_hls-1))),    & 
    659659         &                           av_u_ml(A2D((nn_hls-1))),  av_v_ml(A2D((nn_hls-1))),    & 
     
    950950            CALL zdf_osm_iomput( "wmp_NP", ( 2.0_wp * rpi * 1.026_wp / ( 0.877_wp * grav ) ) *   &   ! Wave mean period from NP 
    951951               &                           wndm(A2D(0)) * tmask(A2D(0),1) )                          !    spectrum 
    952             CALL zdf_osm_iomput( "hsw_NP", ( 0.22_wp / grav ) * wndm**2 * tmask(A2D(0),1) )          ! Significant wave height from 
     952            CALL zdf_osm_iomput( "hsw_NP", ( 0.22_wp / grav ) * wndm(A2D(0))**2 * tmask(A2D(0),1) )  ! Significant wave height from 
    953953            !                                                                                        !    NP spectrum 
    954954            CALL zdf_osm_iomput( "wndm",   wndm(A2D(0)) * tmask(A2D(0),1) )                          ! U_10 
     
    23702370      ! 
    23712371      IF ( ln_dia_osm ) THEN 
    2372          CALL iom_put( "zwth_ent", tmask(A2D(0),1) * zwth_ent(A2D(0)) )   ! Upward turb. temperature entrainment flux 
    2373          CALL iom_put( "zws_ent",  tmask(A2D(0),1) * zws_ent(A2D(0))  )   ! Upward turb. salinity entrainment flux 
     2372         CALL zdf_osm_iomput( "zwth_ent", tmask(A2D(0),1) * zwth_ent(A2D(0)) )   ! Upward turb. temperature entrainment flux 
     2373         CALL zdf_osm_iomput( "zws_ent",  tmask(A2D(0),1) * zws_ent(A2D(0))  )   ! Upward turb. salinity entrainment flux 
    23742374      END IF 
    23752375      ! 
     
    24322432      ! 
    24332433      IF ( ln_dia_osm ) THEN 
    2434          CALL iom_put( "ghamu_0",    wmask(A2D(0),:) * ghamu(A2D(0),:)  ) 
    2435          CALL iom_put( "zsc_uw_1_0", tmask(A2D(0),1) * zsc_uw_1(A2D(0)) ) 
     2434         CALL zdf_osm_iomput( "ghamu_0",    wmask(A2D(0),:) * ghamu(A2D(0),:)  ) 
     2435         CALL zdf_osm_iomput( "zsc_uw_1_0", tmask(A2D(0),1) * zsc_uw_1(A2D(0)) ) 
    24362436      END IF 
    24372437      ! 
Note: See TracChangeset for help on using the changeset viewer.