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 14072 for NEMO/trunk/src/OCE/SBC/sbc_oce.F90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (3 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbc_oce.F90

    r14007 r14072  
    7373   LOGICAL , PUBLIC ::   ln_charn       !: =T Chranock coefficient from wave model 
    7474   LOGICAL , PUBLIC ::   ln_taw         !: =T wind stress corrected by wave intake 
    75    LOGICAL , PUBLIC ::   ln_phioc       !: =T TKE surface BC from wave model  
     75   LOGICAL , PUBLIC ::   ln_phioc       !: =T TKE surface BC from wave model 
    7676   LOGICAL , PUBLIC ::   ln_bern_srfc   !: Bernoulli head, waves' inuced pressure 
    7777   LOGICAL , PUBLIC ::   ln_breivikFV_2016 !: Breivik 2016 profile 
     
    153153   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   frq_m     !: mean (nn_fsbc time-step) fraction of solar net radiation absorbed in the 1st T level [-] 
    154154 
     155   !!---------------------------------------------------------------------- 
     156   !!                     Surface atmospheric fields 
     157   !!---------------------------------------------------------------------- 
     158   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: q_air_zt       !: specific humidity of air at z=zt [kg/kg]ww 
     159   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: theta_air_zt   !: potential temperature of air at z=zt [K] 
     160 
     161 
    155162   !! * Substitutions 
    156163#  include "do_loop_substitute.h90" 
     
    166173      !!                  ***  FUNCTION sbc_oce_alloc  *** 
    167174      !!--------------------------------------------------------------------- 
    168       INTEGER :: ierr(5) 
     175      INTEGER :: ierr(6) 
    169176      !!--------------------------------------------------------------------- 
    170177      ierr(:) = 0 
     
    188195      ! 
    189196      ALLOCATE( e3t_m(jpi,jpj) , STAT=ierr(5) ) 
     197      ! 
     198      ALLOCATE( q_air_zt(jpi,jpj) , theta_air_zt(jpi,jpj) , STAT=ierr(6) ) !#LB 
    190199      ! 
    191200      sbc_oce_alloc = MAXVAL( ierr ) 
Note: See TracChangeset for help on using the changeset viewer.