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/ISF/isfcavmlt.F90 – NEMO

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

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

File:
1 edited

Legend:

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

    r11876 r11931  
    33   !!                       ***  MODULE  isfcavmlt  *** 
    44   !! ice shelf module :  update surface ocean boundary condition under ice 
    5    !!                   shelf 
     5   !!                   shelves 
    66   !!====================================================================== 
    77   !! History :  4.0  !  2019-09  (P. Mathiot) Original code 
     
    99 
    1010   !!---------------------------------------------------------------------- 
    11    !!   isfcav_mlt    : update surface ocean boundary condition under ice shelf 
     11   !!   isfcav_mlt    : compute or read ice shelf fwf/heat fluxes in the ice shelf cavity 
    1212   !!---------------------------------------------------------------------- 
    1313 
     
    2323   USE in_out_manager              ! I/O manager 
    2424   USE iom        , ONLY: iom_put  ! I/O library 
    25    USE fldread    , ONLY: fld_read ! 
     25   USE fldread    , ONLY: fld_read, FLD, FLD_N ! 
    2626   USE lib_fortran, ONLY: glob_sum ! 
    2727   USE lib_mpp    , ONLY: ctl_stop ! 
     
    5151      !! ** Purpose    : compute or read ice shelf fwf/heat fluxes in the ice shelf cavity 
    5252      !! 
    53       !!--------------------------------------------------------------------- 
    5453      !!-------------------------- OUT ------------------------------------- 
    5554      REAL(wp), DIMENSION(jpi,jpj), INTENT(  out) :: pqhc, pqoce, pqfwf  ! heat and fwf fluxes 
     
    5857      REAL(wp), DIMENSION(jpi,jpj), INTENT(in   ) :: pgt  , pgs    ! gamma t and gamma s 
    5958      REAL(wp), DIMENSION(jpi,jpj), INTENT(in   ) :: pttbl, pstbl  ! top boundary layer tracer 
    60       !!--------------------------------------------------------------------- 
    6159      !!--------------------------------------------------------------------- 
    6260      ! 
     
    110108      !!-------------------------------------------------------------------- 
    111109      ! 
    112       ! Calculate freezing temperature 
     110      ! Compute freezing temperature 
    113111      CALL eos_fzp( pstbl(:,:), ztfrz(:,:), risfdep(:,:) ) 
    114112      ! 
     
    131129      !!---------------------------------------------------------------------- 
    132130      !! 
    133       !!                          ***  ROUTINE isfcav_mlt_spe  *** 
     131      !!                          ***  ROUTINE isfcav_mlt_2eq  *** 
    134132      !! 
    135133      !! ** Purpose    : Compute ice shelf fwf/heqt fluxes using ISOMIP formulation (Hunter et al., 2006) 
     
    144142      !!                 Tech.  Rep.  June,  Antarctic  Climate  &  Ecosystems  Cooperative  Research  Centre,  available  at:   
    145143      !!                 http://staff.acecrc.org.au/~bkgalton/ISOMIP/test_cavities.pdf (last access: 21 July 2016), 2006. 
    146       !!--------------------------------------------------------------------- 
     144      !! 
    147145      !!-------------------------- OUT ------------------------------------- 
    148146      REAL(wp), DIMENSION(jpi,jpj), INTENT(  out) :: pqhc, pqoce, pqfwf  ! hean content, ocean-ice heat and fwf fluxes 
     
    192190      !!                   MISMIP v. 3 (MISMIP +), ISOMIP v. 2 (ISOMIP +) and MISOMIP v. 1 (MISOMIP1),  
    193191      !!                   Geosci. Model Dev., 9, 2471-2497, https://doi.org/10.5194/gmd-9-2471-2016, 2016.  
    194       !!--------------------------------------------------------------------- 
     192      !! 
    195193      !!-------------------------- OUT ------------------------------------- 
    196194      REAL(wp), DIMENSION(jpi,jpj), INTENT(  out) :: pqhc, pqoce, pqfwf  ! latent heat and fwf fluxes 
     
    308306      ! 
    309307      CALL iom_put('isftfrz_cav', ztfrz * mskisf_cav(:,:) ) 
     308      ! 
    310309   END SUBROUTINE isfcav_mlt_oasis 
    311310 
Note: See TracChangeset for help on using the changeset viewer.