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

Ignore:
Timestamp:
2019-11-19T18:30:57+01:00 (5 years ago)
Author:
mathiot
Message:

ENHANCE-02_ISF_nemo: add comments, improve memory usage of ln_isfcpl_cons option, fix issue in ISOMIP+ configuration

Location:
NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DYN
Files:
2 edited

Legend:

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

    r11541 r11931  
    2626   !!------------------------------------------------------------------------- 
    2727   USE oce            ! ocean dynamics and tracers 
    28    USE isf 
    2928   USE dom_oce        ! ocean space and time domain 
    3029   USE sbc_oce        ! Surface boundary condition: ocean fields 
    3130   USE sbcrnf         ! river runoffs 
    32    USE isfnxt 
    3331   USE phycst         ! physical constants 
    3432   USE dynadv         ! dynamics: vector invariant versus flux form 
     
    4240   USE trddyn         ! trend manager: dynamics 
    4341   USE trdken         ! trend manager: kinetic energy 
     42   USE isf       , ONLY: ln_isf     ! ice shelf 
     43   USE isfdynnxt , ONLY: isf_dynnxt ! ice shelf  
    4444   ! 
    4545   USE in_out_manager ! I/O manager 
     
    243243            END IF 
    244244            ! 
    245             ! ice shelf melting 
     245            ! ice shelf melting (deal separatly as it can be in depth) 
     246            ! PM: we could probably define a generic subroutine to do the in depth correction 
     247            !     to manage rnf, isf and possibly in the futur icb, tide water glacier (...) 
    246248            IF ( ln_isf ) CALL isf_dynnxt( kt, atfp * rdt ) 
    247249            ! 
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/DYN/sshwzv.F90

    r11541 r11931  
    260260               &                             + fwfisf_cav_b(:,:) - fwfisf_cav(:,:)   & 
    261261               &                             + fwfisf_par_b(:,:) - fwfisf_par(:,:)   ) * ssmask(:,:) 
     262 
     263            ! ice sheet coupling 
     264            IF ( ln_isf .AND. ln_isfcpl .AND. kt == nit000+1) sshb(:,:) = sshb(:,:) - atfp * rdt * ( risfcpl_ssh(:,:) - 0.0 ) * ssmask(:,:) 
     265 
    262266         ENDIF 
    263  
    264          ! ice sheet coupling 
    265          IF ( ln_isf .AND. ln_isfcpl .AND. kt == nit000+1) sshb(:,:) = sshb(:,:) - atfp * rdt * ( risfcpl_ssh(:,:) - 0.0 ) * ssmask(:,:) 
    266267 
    267268         sshn(:,:) = ssha(:,:)                              ! now <-- after 
Note: See TracChangeset for help on using the changeset viewer.