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 7588 for branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM – NEMO

Ignore:
Timestamp:
2017-01-20T16:24:07+01:00 (7 years ago)
Author:
acc
Message:

Branch dev_merge_2016. Wetting and drying enhancements. Added the reading of bathymetry with land elevations (negative depths) from domain configuration files (if ln_wd is .true.). Also added better detection of convergence in the limiter iterations (wet_dry.F90)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90

    r7421 r7588  
    3030   USE usrdef_zgr     ! user defined vertical coordinate system 
    3131   USE depth_e3       ! depth <=> e3 
     32   USE wet_dry, ONLY: ln_wd, ht_wd 
    3233   ! 
    3334   USE in_out_manager ! I/O manager 
     
    256257      CALL iom_get( inum, jpdom_data, 'bottom_level' , z2d  , lrowattr=ln_use_jattr )   ! last wet T-points 
    257258      k_bot(:,:) = INT( z2d(:,:) ) 
     259      ! 
     260      ! bathymetry with orography (wetting and drying only) 
     261      IF( ln_wd )  CALL iom_get( inum, jpdom_data, 'ht_wd' , ht_wd  , lrowattr=ln_use_jattr ) 
    258262      ! 
    259263      CALL iom_close( inum ) 
Note: See TracChangeset for help on using the changeset viewer.