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 11541 for NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isftbl.F90 – NEMO

Ignore:
Timestamp:
2019-09-12T18:41:17+02:00 (5 years ago)
Author:
mathiot
Message:

ENHANCE-02_ISF: simplify use of ln_isf, add extra comments + minor changes (ticket #2142)

File:
1 edited

Legend:

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

    r11521 r11541  
    2121   PRIVATE 
    2222 
    23    PUBLIC isf_tbl, isf_tbl_avg, isf_tbl_lvl, isftbl_ktop, isftbl_kbot 
     23   PUBLIC isf_tbl, isf_tbl_avg, isf_tbl_lvl, isf_tbl_ktop, isf_tbl_kbot 
    2424 
    2525CONTAINS 
     
    3030      !! 
    3131      !! ** Purpose : compute mean T/S/U/V in the boundary layer at T- point 
     32      !! 
     33      !! ** Method : Average properties over a specific thickness 
     34      !! 
     35      !! ** Reference : inspired from : Losch, Modeling ice shelf cavities in a z coordinate ocean general circulation model 
     36      !!                https://doi.org/10.1029/2007JC004368 , 2008 
    3237      !! 
    3338      !!-------------------------------------------------------------------- 
     
    103108   SUBROUTINE isf_tbl_avg( ktop, kbot, phtbl, pfrac, pe3, pvarin, pvarout ) 
    104109      !!-------------------------------------------------------------------- 
    105       !!                  ***  ROUTINE isf_tbl_lvl  *** 
     110      !!                  ***  ROUTINE isf_tbl_avg  *** 
    106111      !! 
    107112      !! ** Purpose : compute mean property in the boundary layer 
     
    145150      !!                  ***  ROUTINE isf_tbl_lvl  *** 
    146151      !! 
    147       !! ** Purpose : - compute bottom level fully included in the top boundary layer 
     152      !! ** Purpose : - compute bottom level off the top boundary layer 
    148153      !!              - thickness of the top boundary layer 
     154      !!              - fraction of the bottom level affected by the tbl 
    149155      !! 
    150156      !!--------------------------------------------------------------------- 
     
    180186      ! 
    181187      ! get ktbl 
    182       CALL isftbl_kbot(ktop, phtbl, pe3, kbot) 
     188      CALL isf_tbl_kbot(ktop, phtbl, pe3, kbot) 
    183189      ! 
    184190      ! get pfrac 
     
    197203   END SUBROUTINE isf_tbl_lvl 
    198204   ! 
    199    SUBROUTINE isftbl_kbot(ktop, phtbl, pe3, kbot) 
    200       !!-------------------------------------------------------------------- 
    201       !!                  ***  ROUTINE isf_tbl_lvl  *** 
     205   SUBROUTINE isf_tbl_kbot(ktop, phtbl, pe3, kbot) 
     206      !!-------------------------------------------------------------------- 
     207      !!                  ***  ROUTINE isf_tbl_bot  *** 
    202208      !! 
    203209      !! ** Purpose : compute bottom level of the isf top boundary layer 
     
    232238      END DO 
    233239      ! 
    234    END SUBROUTINE isftbl_kbot 
    235       ! 
    236    SUBROUTINE isftbl_ktop(pdep, ktop) 
    237       !!-------------------------------------------------------------------- 
    238       !!                  ***  ROUTINE isf_tbl_lvl  *** 
     240   END SUBROUTINE isf_tbl_kbot 
     241      ! 
     242   SUBROUTINE isf_tbl_ktop(pdep, ktop) 
     243      !!-------------------------------------------------------------------- 
     244      !!                  ***  ROUTINE isf_tbl_top  *** 
    239245      !! 
    240246      !! ** Purpose : compute top level of the isf top boundary layer in case of an ice shelf parametrisation 
     
    263269      END DO 
    264270      ! 
    265    END SUBROUTINE isftbl_ktop 
     271   END SUBROUTINE isf_tbl_ktop 
    266272 
    267273END MODULE isftbl 
Note: See TracChangeset for help on using the changeset viewer.