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 14109 – NEMO

Changeset 14109


Ignore:
Timestamp:
2020-12-04T18:21:13+01:00 (3 years ago)
Author:
nicolasmartin
Message:

#2414 Sync merge with trunk

Location:
NEMO/branches/2020/dev_r13787_doc_latex_recovery
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13787_doc_latex_recovery

    • Property svn:externals
      •  

        old new  
        33^/utils/build/mk@HEAD         mk 
        44^/utils/tools@HEAD            tools 
        5 ^/vendors/AGRIF/dev_r12970_AGRIF_CMEMS      ext/AGRIF 
         5^/vendors/AGRIF/dev@HEAD      ext/AGRIF 
        66^/vendors/FCM@HEAD            ext/FCM 
        77^/vendors/IOIPSL@HEAD         ext/IOIPSL 
  • NEMO/branches/2020/dev_r13787_doc_latex_recovery/src/ICE/ice.F90

    r14085 r14109  
    256256   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   divu_i          !: Divergence of the velocity field             [s-1] 
    257257   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   shear_i         !: Shear of the velocity field                  [s-1] 
    258    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   aniso_11, aniso_12   !: structure tensor elements 
    259    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   rdg_conv 
     258   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   aniso_11, aniso_12   !: structure tensor elements 
     259   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   rdg_conv 
    260260   ! 
    261261   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   t_bo            !: Sea-Ice bottom temperature [Kelvin] 
  • NEMO/branches/2020/dev_r13787_doc_latex_recovery/src/ICE/icedyn_adv_pra.F90

    r14085 r14109  
    10791079         ! 
    10801080         !                                                           ! ice thickness 
    1081          CALL iom_rstput( iter, nitrst, numriw, 'sxice' , sxice) 
    1082          CALL iom_rstput( iter, nitrst, numriw, 'syice' , syice) 
    1083          CALL iom_rstput( iter, nitrst, numriw, 'sxxice', sxxice) 
    1084          CALL iom_rstput( iter, nitrst, numriw, 'syyice', syyice) 
    1085          CALL iom_rstput( iter, nitrst, numriw, 'sxyice', sxyice) 
     1081         CALL iom_rstput( iter, nitrst, numriw, 'sxice' , sxice  ) 
     1082         CALL iom_rstput( iter, nitrst, numriw, 'syice' , syice  ) 
     1083         CALL iom_rstput( iter, nitrst, numriw, 'sxxice', sxxice ) 
     1084         CALL iom_rstput( iter, nitrst, numriw, 'syyice', syyice ) 
     1085         CALL iom_rstput( iter, nitrst, numriw, 'sxyice', sxyice ) 
    10861086         !                                                           ! snow thickness 
    1087          CALL iom_rstput( iter, nitrst, numriw, 'sxsn'  , sxsn ) 
    1088          CALL iom_rstput( iter, nitrst, numriw, 'sysn'  , sysn ) 
    1089          CALL iom_rstput( iter, nitrst, numriw, 'sxxsn' , sxxsn ) 
    1090          CALL iom_rstput( iter, nitrst, numriw, 'syysn' , syysn ) 
    1091          CALL iom_rstput( iter, nitrst, numriw, 'sxysn' , sxysn ) 
     1087         CALL iom_rstput( iter, nitrst, numriw, 'sxsn'  , sxsn   ) 
     1088         CALL iom_rstput( iter, nitrst, numriw, 'sysn'  , sysn   ) 
     1089         CALL iom_rstput( iter, nitrst, numriw, 'sxxsn' , sxxsn  ) 
     1090         CALL iom_rstput( iter, nitrst, numriw, 'syysn' , syysn  ) 
     1091         CALL iom_rstput( iter, nitrst, numriw, 'sxysn' , sxysn  ) 
    10921092         !                                                           ! ice concentration 
    1093          CALL iom_rstput( iter, nitrst, numriw, 'sxa'   , sxa  ) 
    1094          CALL iom_rstput( iter, nitrst, numriw, 'sya'   , sya  ) 
    1095          CALL iom_rstput( iter, nitrst, numriw, 'sxxa'  , sxxa  ) 
    1096          CALL iom_rstput( iter, nitrst, numriw, 'syya'  , syya  ) 
    1097          CALL iom_rstput( iter, nitrst, numriw, 'sxya'  , sxya  ) 
     1093         CALL iom_rstput( iter, nitrst, numriw, 'sxa'   , sxa    ) 
     1094         CALL iom_rstput( iter, nitrst, numriw, 'sya'   , sya    ) 
     1095         CALL iom_rstput( iter, nitrst, numriw, 'sxxa'  , sxxa   ) 
     1096         CALL iom_rstput( iter, nitrst, numriw, 'syya'  , syya   ) 
     1097         CALL iom_rstput( iter, nitrst, numriw, 'sxya'  , sxya   ) 
    10981098         !                                                           ! ice salinity 
    1099          CALL iom_rstput( iter, nitrst, numriw, 'sxsal' , sxsal) 
    1100          CALL iom_rstput( iter, nitrst, numriw, 'sysal' , sysal) 
    1101          CALL iom_rstput( iter, nitrst, numriw, 'sxxsal', sxxsal) 
    1102          CALL iom_rstput( iter, nitrst, numriw, 'syysal', syysal) 
    1103          CALL iom_rstput( iter, nitrst, numriw, 'sxysal', sxysal) 
     1099         CALL iom_rstput( iter, nitrst, numriw, 'sxsal' , sxsal  ) 
     1100         CALL iom_rstput( iter, nitrst, numriw, 'sysal' , sysal  ) 
     1101         CALL iom_rstput( iter, nitrst, numriw, 'sxxsal', sxxsal ) 
     1102         CALL iom_rstput( iter, nitrst, numriw, 'syysal', syysal ) 
     1103         CALL iom_rstput( iter, nitrst, numriw, 'sxysal', sxysal ) 
    11041104         !                                                           ! ice age 
    1105          CALL iom_rstput( iter, nitrst, numriw, 'sxage' , sxage) 
    1106          CALL iom_rstput( iter, nitrst, numriw, 'syage' , syage) 
    1107          CALL iom_rstput( iter, nitrst, numriw, 'sxxage', sxxage) 
    1108          CALL iom_rstput( iter, nitrst, numriw, 'syyage', syyage) 
    1109          CALL iom_rstput( iter, nitrst, numriw, 'sxyage', sxyage) 
     1105         CALL iom_rstput( iter, nitrst, numriw, 'sxage' , sxage  ) 
     1106         CALL iom_rstput( iter, nitrst, numriw, 'syage' , syage  ) 
     1107         CALL iom_rstput( iter, nitrst, numriw, 'sxxage', sxxage ) 
     1108         CALL iom_rstput( iter, nitrst, numriw, 'syyage', syyage ) 
     1109         CALL iom_rstput( iter, nitrst, numriw, 'sxyage', sxyage ) 
    11101110         !                                                           ! snow layers heat content 
    11111111         DO jk = 1, nlay_s 
    11121112            WRITE(zchar1,'(I2.2)') jk 
    11131113            znam = 'sxc0'//'_l'//zchar1  ;   z3d(:,:,:) = sxc0 (:,:,jk,:) 
    1114             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1114            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11151115            znam = 'syc0'//'_l'//zchar1  ;   z3d(:,:,:) = syc0 (:,:,jk,:) 
    1116             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1116            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11171117            znam = 'sxxc0'//'_l'//zchar1 ;   z3d(:,:,:) = sxxc0(:,:,jk,:) 
    1118             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1118            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11191119            znam = 'syyc0'//'_l'//zchar1 ;   z3d(:,:,:) = syyc0(:,:,jk,:) 
    1120             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1120            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11211121            znam = 'sxyc0'//'_l'//zchar1 ;   z3d(:,:,:) = sxyc0(:,:,jk,:) 
    1122             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1122            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11231123         END DO 
    11241124         !                                                           ! ice layers heat content 
     
    11261126            WRITE(zchar1,'(I2.2)') jk 
    11271127            znam = 'sxe'//'_l'//zchar1   ;   z3d(:,:,:) = sxe (:,:,jk,:) 
    1128             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1128            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11291129            znam = 'sye'//'_l'//zchar1   ;   z3d(:,:,:) = sye (:,:,jk,:) 
    1130             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1130            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11311131            znam = 'sxxe'//'_l'//zchar1  ;   z3d(:,:,:) = sxxe(:,:,jk,:) 
    1132             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1132            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11331133            znam = 'syye'//'_l'//zchar1  ;   z3d(:,:,:) = syye(:,:,jk,:) 
    1134             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1134            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11351135            znam = 'sxye'//'_l'//zchar1  ;   z3d(:,:,:) = sxye(:,:,jk,:) 
    1136             CALL iom_rstput( iter, nitrst, numriw, znam , z3d) 
     1136            CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 
    11371137         END DO 
    11381138         ! 
  • NEMO/branches/2020/dev_r13787_doc_latex_recovery/src/OCE/SBC/sbccpl.F90

    r14085 r14109  
    17651765      CASE( 'none'      )       ! Not available as for now: needs additional coding below when computing zevap_oce 
    17661766      !                         ! since fields received are not defined with none option 
    1767          CALL ctl_stop( 'STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_emp value in namelist namsbc_cpl' ) 
     1767         CALL ctl_stop('STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_emp value in namelist namsbc_cpl') 
    17681768      END SELECT 
    17691769 
     
    20372037#endif 
    20382038      ! outputs 
    2039       IF( srcv(jpr_cal)%laction       ) CALL iom_put('hflx_cal_cea'    , - frcv(jpr_cal)%z3(:,:,1) * rLfus )                      ! latent heat from calving 
    2040       IF( srcv(jpr_icb)%laction       ) CALL iom_put('hflx_icb_cea'    , - frcv(jpr_icb)%z3(:,:,1) * rLfus )                      ! latent heat from icebergs melting 
    2041       IF( iom_use('hflx_rain_cea')    ) CALL iom_put('hflx_rain_cea'   , ( tprecip(:,:) - sprecip(:,:) ) * zcptrain(:,:) )        ! heat flux from rain (cell average) 
    2042       IF( iom_use('hflx_evap_cea')    ) CALL iom_put('hflx_evap_cea'   , ( frcv(jpr_tevp)%z3(:,:,1) - frcv(jpr_ievp)%z3(:,:,1) & 
    2043            &                                                              * picefr(:,:) ) * zcptn(:,:) * tmask(:,:,1) )            ! heat flux from evap (cell average) 
    2044       IF( iom_use('hflx_prec_cea')    ) CALL iom_put('hflx_prec_cea'   ,  sprecip(:,:) * ( zcptsnw(:,:) - rLfus ) +  &                    ! heat flux from all precip (cell avg) 
    2045          &                                                               ( tprecip(:,:) - sprecip(:,:) ) * zcptrain(:,:) ) 
    2046       IF( iom_use('hflx_snow_cea')    ) CALL iom_put('hflx_snow_cea'   , sprecip(:,:) * ( zcptsnw(:,:) - rLfus )  )               ! heat flux from snow (cell average) 
    2047       IF( iom_use('hflx_snow_ao_cea') ) CALL iom_put('hflx_snow_ao_cea', sprecip(:,:) * ( zcptsnw(:,:) - rLfus ) & 
    2048            &                                                              * ( 1._wp - zsnw(:,:) )                  )               ! heat flux from snow (over ocean) 
    2049       IF( iom_use('hflx_snow_ai_cea') ) CALL iom_put('hflx_snow_ai_cea', sprecip(:,:) * ( zcptsnw(:,:) - rLfus ) & 
    2050            &                                                              *           zsnw(:,:)                    )               ! heat flux from snow (over ice) 
     2039      IF ( srcv(jpr_cal)%laction ) CALL iom_put('hflx_cal_cea' , - frcv(jpr_cal)%z3(:,:,1) * rLfus ) ! latent heat from calving 
     2040      IF ( srcv(jpr_icb)%laction ) CALL iom_put('hflx_icb_cea' , - frcv(jpr_icb)%z3(:,:,1) * rLfus ) ! latent heat from icebergs melting 
     2041      IF (        iom_use('hflx_rain_cea') )    &                                                    ! heat flux from rain (cell average) 
     2042         &   CALL iom_put('hflx_rain_cea' , ( tprecip(:,:) - sprecip(:,:) ) * zcptrain(:,:) ) 
     2043      IF (        iom_use('hflx_evap_cea') )    &                                                    ! heat flux from evap (cell average) 
     2044         &   CALL iom_put('hflx_evap_cea' , ( frcv(jpr_tevp)%z3(:,:,1) - zevap_ice_total(:,:) * picefr(:,:) )  & 
     2045         &                                  * zcptn(:,:) * tmask(:,:,1) ) 
     2046      IF (        iom_use('hflx_prec_cea') )    &                                                    ! heat flux from all precip (cell avg) 
     2047         &   CALL iom_put('hflx_prec_cea' ,    sprecip(:,:) * ( zcptsnw(:,:) - rLfus )  & 
     2048         &                                 + ( tprecip(:,:) - sprecip(:,:) ) * zcptrain(:,:) ) 
     2049      IF (        iom_use('hflx_snow_cea') )    &                                                    ! heat flux from snow (cell average) 
     2050         &   CALL iom_put('hflx_snow_cea'   , sprecip(:,:) * ( zcptsnw(:,:) - rLfus )  ) 
     2051      IF (        iom_use('hflx_snow_ao_cea') ) &                                                    ! heat flux from snow (over ocean) 
     2052         &   CALL iom_put('hflx_snow_ao_cea', sprecip(:,:) * ( zcptsnw(:,:) - rLfus ) * ( 1._wp - zsnw(:,:) ) ) 
     2053      IF (        iom_use('hflx_snow_ai_cea') ) &                                                    ! heat flux from snow (over ice) 
     2054         &   CALL iom_put('hflx_snow_ai_cea', sprecip(:,:) * ( zcptsnw(:,:) - rLfus ) *  zsnw(:,:) ) 
    20512055      ! note: hflx for runoff and iceshelf are done in sbcrnf and sbcisf resp. 
    20522056      ! 
     
    21022106      CASE( 'none'      )       ! Not available as for now: needs additional coding 
    21032107      !                         ! since fields received, here zqsr_tot,  are not defined with none option 
    2104          CALL ctl_stop( 'STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_qsr value in namelist namsbc_cpl' ) 
     2108         CALL ctl_stop('STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_qsr value in namelist namsbc_cpl') 
    21052109      END SELECT 
    21062110      IF( ln_dm2dc .AND. ln_cpl ) THEN   ! modify qsr to include the diurnal cycle 
Note: See TracChangeset for help on using the changeset viewer.