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 11521 for NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DOM – NEMO

Ignore:
Timestamp:
2019-09-10T11:49:13+02:00 (5 years ago)
Author:
mathiot
Message:

ENHANCE-02_ISF: fix issue with ice sheet coupling and conservation + other minor changes (ticket #2142)

Location:
NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DOM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DOM/dom_oce.F90

    r11403 r11521  
    3535   REAL(wp), PUBLIC ::   rn_atfp        !: asselin time filter parameter 
    3636   INTEGER , PUBLIC ::   nn_euler       !: =0 start with forward time step or not (=1) 
    37    LOGICAL , PUBLIC ::   ln_iscpl       !: coupling with ice sheet 
    3837   LOGICAL , PUBLIC ::   ln_crs         !: Apply grid coarsening to dynamical model output or online passive tracers 
    3938 
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DOM/domain.F90

    r11395 r11521  
    185185      IF( lk_c1d         )   CALL cor_c1d       ! 1D configuration: Coriolis set at T-point 
    186186      ! 
    187       IF( ln_meshmask .AND. .NOT.ln_iscpl )                        CALL dom_wri     ! Create a domain file 
    188       IF( ln_meshmask .AND.      ln_iscpl .AND. .NOT.ln_rstart )   CALL dom_wri     ! Create a domain file 
    189       IF(                                       .NOT.ln_rstart )   CALL dom_ctl     ! Domain control 
    190       ! 
    191       IF( ln_write_cfg )   CALL cfg_write         ! create the configuration file 
     187      IF( ln_meshmask    )   CALL dom_wri       ! Create a domain file 
     188      IF( .NOT.ln_rstart )   CALL dom_ctl       ! Domain control 
     189      ! 
     190      IF( ln_write_cfg   )   CALL cfg_write     ! create the configuration file 
    192191      ! 
    193192      IF(lwp) THEN 
     
    285284         &             nn_it000, nn_itend , nn_date0    , nn_time0     , nn_leapy  , nn_istate ,     & 
    286285         &             nn_stock, nn_write , ln_mskland  , ln_clobber   , nn_chunksz, nn_euler  ,     & 
    287          &             ln_cfmeta, ln_iscpl, ln_xios_read, nn_wxios 
     286         &             ln_cfmeta, ln_xios_read, nn_wxios 
    288287      NAMELIST/namdom/ ln_linssh, rn_rdt, rn_atfp, ln_crs, ln_meshmask 
    289288#if defined key_netcdf4 
     
    334333         WRITE(numout,*) '      overwrite an existing file      ln_clobber      = ', ln_clobber 
    335334         WRITE(numout,*) '      NetCDF chunksize (bytes)        nn_chunksz      = ', nn_chunksz 
    336          WRITE(numout,*) '      IS coupling at the restart step ln_iscpl        = ', ln_iscpl 
    337335         IF( TRIM(Agrif_CFixed()) == '0' ) THEN 
    338336            WRITE(numout,*) '      READ restart for a single file using XIOS ln_xios_read =', ln_xios_read 
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DOM/domvvl.F90

    r11423 r11521  
    2020   USE oce             ! ocean dynamics and tracers 
    2121   USE isfcpl 
     22   USE isf 
    2223   USE phycst          ! physical constant 
    2324   USE dom_oce         ! ocean space and time domain 
     
    816817            ! 
    817818            ! coupling with an ice sheet model (grounding/calving line migration) 
    818             IF ( ln_iscpl ) THEN 
     819            IF ( ln_isfcpl ) THEN 
    819820               ! 
    820821               ! extrapolate ssh over new water column if needed 
Note: See TracChangeset for help on using the changeset viewer.