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 8870 for branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90 – NEMO

Ignore:
Timestamp:
2017-12-01T10:48:12+01:00 (6 years ago)
Author:
deazer
Message:

Changed WAD option names to Iterative and Directional
Removed old Diagnostics
Updated Domain CFG to allow domain generation with ref height for wad cases
Cleaned up TEST_CASES/cfg.txt file (need to not include WAD2 etc)
TEST caaes run ok
SETTE runs OK
AMM15 5 level runs OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/ROMS_WAD_7832/NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90

    r8865 r8870  
    680680      ! 
    681681      INTEGER ::   ji, jj, jk                                       ! dummy loop indices 
    682       REAL(wp) ::  zlnwd                                            ! =1./0. when ln_wd = T/F 
     682      REAL(wp) ::  zlnwd                                            ! =1./0. when ln_wd_il = T/F 
    683683      !!---------------------------------------------------------------------- 
    684684      ! 
    685685      IF( nn_timing == 1 )   CALL timing_start('dom_vvl_interpol') 
    686686      ! 
    687       IF(ln_wd) THEN 
     687      IF(ln_wd_il) THEN 
    688688        zlnwd = 1.0_wp 
    689689      ELSE 
     
    877877            ! 
    878878 
    879 ! MJB ln_rwd edits start here - these are essential  
    880  
    881             IF( (ln_wd .OR. ln_rwd)) THEN  
     879! MJB ln_wd edits start here - these are essential  
     880 
     881            IF( (ln_wd_il .OR. ln_wd_dl)) THEN  
    882882 
    883883              ! Wetting and drying test case 
     
    888888                  un   (:,:,:)   = ub  (:,:,:) 
    889889                  vn   (:,:,:)   = vb  (:,:,:) 
    890                ELSEIF( ln_wd .or. ln_rwd   ) THEN ! if not test case 
     890               ELSEIF( ln_wd_il .or. ln_wd_dl   ) THEN ! if not test case 
    891891                  sshn(:,:) = -rn_ssh_ref 
    892892                  sshb(:,:) = -rn_ssh_ref 
     
    902902                     ENDDO 
    903903                  ENDDO 
    904                ENDIF !If wad elseif ln_wd or ln_rwd 
     904               ENDIF !If wad elseif ln_wd_il or ln_wd_dl 
    905905 
    906906               ! Adjust vertical metrics for all wad 
Note: See TracChangeset for help on using the changeset viewer.