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 12583 for NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/OCE/DOM/domqe.F90 – NEMO

Ignore:
Timestamp:
2020-03-21T15:40:52+01:00 (4 years ago)
Author:
techene
Message:

OCE/DOM/domqe.F90: add gdep at time level Kbb in dom_qe_sf_update, OCE/DOM/domzgr_substitute.h90: create the substitute module, OCE/DYN/dynatfLF.F90, OCE/TRA/traatfLF.F90: move boundary condition management and agrif management from atf modules to OCE/steplf.F90, OCE/SBC/sbcice_cice.F90, ICE/iceistate.F90 : remove dom_vvl_interpol and replace by dom_vvl_zgr ?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/OCE/DOM/domqe.F90

    r12581 r12583  
    1313 
    1414   !!---------------------------------------------------------------------- 
    15    !!   dom_vvl_init     : define initial vertical scale factors, depths and column thickness 
    16    !!   dom_vvl_sf_nxt   : Compute next vertical scale factors 
    17    !!   dom_vvl_sf_update   : Swap vertical scale factors and update the vertical grid 
    18    !!   dom_vvl_interpol : Interpolate vertical scale factors from one grid point to another 
    19    !!   dom_vvl_r3c      : Compute ssh/h_0 ratioat t-, u-, v-, and optionally f-points 
    20    !!   dom_vvl_rst      : read/write restart file 
    21    !!   dom_vvl_ctl      : Check the vvl options 
     15   !!   dom_qe_init     : define initial vertical scale factors, depths and column thickness 
     16   !!   dom_qe_sf_nxt   : Compute next vertical scale factors 
     17   !!   dom_qe_sf_update   : Swap vertical scale factors and update the vertical grid 
     18   !!   dom_qe_interpol : Interpolate vertical scale factors from one grid point to another 
     19   !!   dom_qe_r3c      : Compute ssh/h_0 ratioat t-, u-, v-, and optionally f-points 
     20   !!   dom_qe_rst      : read/write restart file 
     21   !!   dom_qe_ctl      : Check the vvl options 
    2222   !!---------------------------------------------------------------------- 
    2323   USE oce             ! ocean dynamics and tracers 
     
    374374                              + MAX(   0._wp    , gdepw_0(:,:,jk)-risfdep(:,:) ) * ( 1._wp + r3t(:,:,Kmm) ) 
    375375            gde3w(:,:,jk)     = gdept(:,:,jk,Kmm) - ssh(:,:,Kmm) 
     376            gdept(:,:,jk,Kbb) = MIN( risfdep(:,:) , gdept_0(:,:,jk) )            & 
     377                              + MAX(   0._wp    , gdept_0(:,:,jk)-risfdep(:,:) ) * ( 1._wp + r3t(:,:,Kbb) ) 
     378            gdepw(:,:,jk,Kbb) = MIN( risfdep(:,:) , gdepw_0(:,:,jk) )    & 
     379                              + MAX(   0._wp    , gdepw_0(:,:,jk)-risfdep(:,:) ) * ( 1._wp + r3t(:,:,Kbb) ) 
    376380         END DO 
    377381         ! 
     
    383387            gdepw(:,:,jk,Kmm) = gdepw_0(:,:,jk) * ( 1._wp + r3t(:,:,Kmm) ) 
    384388            gde3w(:,:,jk)     = gdept  (:,:,jk,Kmm)       - ssh(:,:,Kmm) 
     389            gdept(:,:,jk,Kbb) = gdept_0(:,:,jk) * ( 1._wp + r3t(:,:,Kbb) ) 
     390            gdepw(:,:,jk,Kbb) = gdepw_0(:,:,jk) * ( 1._wp + r3t(:,:,Kbb) ) 
    385391         END DO 
    386392         ! 
Note: See TracChangeset for help on using the changeset viewer.