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 10419 for NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE – NEMO

Ignore:
Timestamp:
2018-12-19T20:46:30+01:00 (5 years ago)
Author:
smasson
Message:

dev_r10164_HPC09_ESIWACE_PREP_MERGE: merge with trunk@10418, see #2133

Location:
NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/SBC/cpl_oasis3.F90

    r10386 r10419  
    142142      INTEGER :: id_part 
    143143      INTEGER :: paral(5)       ! OASIS3 box partition 
    144       INTEGER :: ishape(2,2)    ! shape of arrays passed to PSMILe 
     144      INTEGER :: ishape(4)    ! shape of arrays passed to PSMILe 
    145145      INTEGER :: ji,jc,jm       ! local loop indicees 
    146146      CHARACTER(LEN=64) :: zclname 
     
    181181      !     nl* is set to the global values 1 and jp*glo. 
    182182      ! 
    183       ishape(:,1) = (/ 1, nlei-nldi+1 /) 
    184       ishape(:,2) = (/ 1, nlej-nldj+1 /) 
     183      ishape(1) = 1 
     184      ishape(2) = nlei-nldi+1 
     185      ishape(3) = 1 
     186      ishape(4) = nlej-nldj+1 
    185187      ! 
    186188      ! ... Allocate memory for data exchange 
     
    242244#endif 
    243245                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_Out 
    244                   CALL oasis_def_var (ssnd(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 0 /),   & 
     246                  CALL oasis_def_var (ssnd(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 1 /),   & 
    245247                     &                OASIS_Out          , ishape , OASIS_REAL, nerror ) 
    246248                  IF ( nerror /= OASIS_Ok ) THEN 
     
    287289#endif 
    288290                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_In 
    289                   CALL oasis_def_var (srcv(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 0 /),   & 
     291                  CALL oasis_def_var (srcv(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 1 /),   & 
    290292                     &                OASIS_In           , ishape , OASIS_REAL, nerror ) 
    291293                  IF ( nerror /= OASIS_Ok ) THEN 
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/SBC/sbccpl.F90

    r10402 r10419  
    16671667         zsprecip(:,:) = frcv(jpr_ievp)%z3(:,:,1) - frcv(jpr_semp)%z3(:,:,1) 
    16681668         ztprecip(:,:) = frcv(jpr_semp)%z3(:,:,1) - frcv(jpr_sbpr)%z3(:,:,1) + zsprecip(:,:) 
     1669      CASE( 'none'      )       ! Not available as for now: needs additional coding below when computing zevap_oce  
     1670      !                         ! since fields received are not defined with none option 
     1671         CALL ctl_stop( 'STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_emp value in namelist namsbc_cpl' ) 
    16691672      END SELECT 
    16701673 
     
    19431946            &            / (  1.- ( alb_oce_mix(:,:  ) * ziceld(:,:)       & 
    19441947            &                     + palbi      (:,:,1) * picefr(:,:) ) ) 
     1948      CASE( 'none'      )       ! Not available as for now: needs additional coding   
     1949      !                         ! since fields received, here zqsr_tot,  are not defined with none option 
     1950         CALL ctl_stop( 'STOP', 'sbccpl/sbc_cpl_ice_flx: some fields are not defined. Change sn_rcv_qsr value in namelist namsbc_cpl' ) 
    19451951      END SELECT 
    19461952      IF( ln_dm2dc .AND. ln_cpl ) THEN   ! modify qsr to include the diurnal cycle 
  • NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/OCE/stpctl.F90

    r10417 r10419  
    143143      !                                   !==  error handling  ==! 
    144144      IF( ( ln_ctl .OR. lsomeoce ) .AND. (   &             ! have use mpp_max (because ln_ctl=.T.) or contains some ocean points 
    145          &  zmax(1) >   15._wp .OR.   &                    ! too large sea surface height ( > 15 m ) 
     145         &  zmax(1) >   20._wp .OR.   &                    ! too large sea surface height ( > 20 m ) 
    146146         &  zmax(2) >   10._wp .OR.   &                    ! too large velocity ( > 10 m/s) 
    147147         &  zmax(3) >=   0._wp .OR.   &                    ! negative or zero sea surface salinity 
     
    161161         ENDIF 
    162162          
    163          WRITE(ctmp1,*) ' stp_ctl: |ssh| > 10 m  or  |U| > 10 m/s  or  S <= 0  or  S >= 100  or  NaN encounter in the tests' 
     163         WRITE(ctmp1,*) ' stp_ctl: |ssh| > 20 m  or  |U| > 10 m/s  or  S <= 0  or  S >= 100  or  NaN encounter in the tests' 
    164164         WRITE(ctmp2,9100) kt,   zmax(1), ih(1) , ih(2) 
    165165         WRITE(ctmp3,9200) kt,   zmax(2), iu(1) , iu(2) , iu(3) 
Note: See TracChangeset for help on using the changeset viewer.