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 8586 for branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/DOM – NEMO

Ignore:
Timestamp:
2017-10-04T09:19:23+02:00 (7 years ago)
Author:
gm
Message:

#1911 (ENHANCE-09): PART I.3 - phasing with branch dev_r8183_ICEMODEL revision 8575

Location:
branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/DOM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90

    r7646 r8586  
    124124   REAL(wp), PUBLIC, ALLOCATABLE, SAVE        , DIMENSION(:,:) ::   e1e2f , r1_e1e2f                !: associated metrics at f-point 
    125125   ! 
    126    REAL(wp), PUBLIC, ALLOCATABLE, SAVE        , DIMENSION(:,:) ::   ff_f, ff_t                      !: coriolis factor at f- and t-point         [1/s] 
     126   REAL(wp), PUBLIC, ALLOCATABLE, SAVE        , DIMENSION(:,:) ::   ff_f  , ff_t                    !: Coriolis factor at f- & t-points  [1/s] 
    127127   !!---------------------------------------------------------------------- 
    128128   !! vertical coordinate and scale factors 
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/DOM/iscplhsb.F90

    r8568 r8586  
    180180      END DO 
    181181 
    182       CALL lbc_sum(pvol_flx(:,:,:       ),'T',1.) 
    183       CALL lbc_sum(pts_flx (:,:,:,jp_sal),'T',1.) 
    184       CALL lbc_sum(pts_flx (:,:,:,jp_tem),'T',1.) 
    185  
     182!!gm  ERROR !!!! 
     183!!    juste use tmask_i  or in case of ISF smask_i (to be created to compute the sum without halos) 
     184! 
     185!      CALL lbc_sum(pvol_flx(:,:,:       ),'T',1.) 
     186!      CALL lbc_sum(pts_flx (:,:,:,jp_sal),'T',1.) 
     187!      CALL lbc_sum(pts_flx (:,:,:,jp_tem),'T',1.) 
     188      STOP ' iscpl_cons:   please modify this module !' 
     189!!gm end 
    186190      ! if no neighbour wet cell in case of 2close a cell", need to find the nearest wet point  
    187191      ! allocation and initialisation of the list of problematic point 
     
    279283      pts_flx (:,:,:,jp_tem) = pts_flx (:,:,:,jp_tem) * tmask(:,:,:) 
    280284 
    281       ! compute sum over the halo and set it to 0. 
    282       CALL lbc_sum(pvol_flx(:,:,:       ),'T',1._wp) 
    283       CALL lbc_sum(pts_flx (:,:,:,jp_sal),'T',1._wp) 
    284       CALL lbc_sum(pts_flx (:,:,:,jp_tem),'T',1._wp) 
     285!!gm  ERROR !!!! 
     286!!    juste use tmask_i  or in case of ISF smask_i (to be created to compute the sum without halos) 
     287! 
     288!      ! compute sum over the halo and set it to 0. 
     289!      CALL lbc_sum(pvol_flx(:,:,:       ),'T',1._wp) 
     290!      CALL lbc_sum(pts_flx (:,:,:,jp_sal),'T',1._wp) 
     291!      CALL lbc_sum(pts_flx (:,:,:,jp_tem),'T',1._wp) 
     292!!gm end 
     293 
    285294      ! 
    286295   END SUBROUTINE iscpl_cons 
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/DOM/phycst.F90

    r7813 r8586  
    5454 
    5555   REAL(wp), PUBLIC ::   rhosn    =  330._wp         !: volumic mass of snow          [kg/m3] 
     56   REAL(wp), PUBLIC ::   rhofw    = 1000._wp         !: volumic mass of freshwater in melt ponds [kg/m3] 
    5657   REAL(wp), PUBLIC ::   emic     =    0.97_wp       !: emissivity of snow or ice 
    5758   REAL(wp), PUBLIC ::   sice     =    6.0_wp        !: salinity of ice               [psu] 
     
    8889   REAL(wp), PUBLIC ::   r1_rhoic                    !: 1 / rhoic 
    8990   REAL(wp), PUBLIC ::   r1_rhosn                    !: 1 / rhosn 
     91   REAL(wp), PUBLIC ::   r1_cpic                     !: 1 / cpic 
    9092#endif 
    9193   !!---------------------------------------------------------------------- 
     
    156158      r1_rhoic = 1._wp / rhoic 
    157159      r1_rhosn = 1._wp / rhosn 
     160      r1_cpic  = 1._wp / cpic 
    158161#endif 
    159162      IF(lwp) THEN 
     
    176179         WRITE(numout,*) '          density of sea ice                        = ', rhoic   , ' kg/m^3' 
    177180         WRITE(numout,*) '          density of snow                           = ', rhosn   , ' kg/m^3' 
     181         WRITE(numout,*) '          density of freshwater (in melt ponds)     = ', rhofw   , ' kg/m^3' 
    178182         WRITE(numout,*) '          emissivity of snow or ice                 = ', emic   
    179183         WRITE(numout,*) '          salinity of ice                           = ', sice    , ' psu' 
Note: See TracChangeset for help on using the changeset viewer.