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 13899 for NEMO/branches/2020/tickets_icb_1900/src/SWE/asminc.F90 – NEMO

Ignore:
Timestamp:
2020-11-27T17:26:33+01:00 (4 years ago)
Author:
mathiot
Message:

ticket #1900: update branch to trunk and add ICB test case

Location:
NEMO/branches/2020/tickets_icb_1900
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/tickets_icb_1900

    • Property svn:externals
      •  

        old new  
        22^/utils/build/makenemo@HEAD   makenemo 
        33^/utils/build/mk@HEAD         mk 
        4 ^/utils/tools/@HEAD           tools 
         4^/utils/tools@HEAD            tools 
        55^/vendors/AGRIF/dev_r12970_AGRIF_CMEMS      ext/AGRIF 
        66^/vendors/FCM@HEAD            ext/FCM 
         
        88 
        99# SETTE 
        10 ^/utils/CI/sette@12931        sette 
         10^/utils/CI/sette@13559        sette 
  • NEMO/branches/2020/tickets_icb_1900/src/SWE/asminc.F90

    r12983 r13899  
    362362 
    363363         IF ( ln_trainc ) THEN    
    364             CALL iom_get( inum, jpdom_autoglo, 'bckint', t_bkginc, 1 ) 
    365             CALL iom_get( inum, jpdom_autoglo, 'bckins', s_bkginc, 1 ) 
     364            CALL iom_get( inum, jpdom_auto, 'bckint', t_bkginc, 1 ) 
     365            CALL iom_get( inum, jpdom_auto, 'bckins', s_bkginc, 1 ) 
    366366            ! Apply the masks 
    367367            t_bkginc(:,:,:) = t_bkginc(:,:,:) * tmask(:,:,:) 
     
    374374 
    375375         IF ( ln_dyninc ) THEN    
    376             CALL iom_get( inum, jpdom_autoglo, 'bckinu', u_bkginc, 1 )               
    377             CALL iom_get( inum, jpdom_autoglo, 'bckinv', v_bkginc, 1 )               
     376            CALL iom_get( inum, jpdom_auto, 'bckinu', u_bkginc, 1 )               
     377            CALL iom_get( inum, jpdom_auto, 'bckinv', v_bkginc, 1 )               
    378378            ! Apply the masks 
    379379            u_bkginc(:,:,:) = u_bkginc(:,:,:) * umask(:,:,:) 
     
    386386         
    387387         IF ( ln_sshinc ) THEN 
    388             CALL iom_get( inum, jpdom_autoglo, 'bckineta', ssh_bkginc, 1 ) 
     388            CALL iom_get( inum, jpdom_auto, 'bckineta', ssh_bkginc, 1 ) 
    389389            ! Apply the masks 
    390390            ssh_bkginc(:,:) = ssh_bkginc(:,:) * tmask(:,:,1) 
     
    395395 
    396396         IF ( ln_seaiceinc ) THEN 
    397             CALL iom_get( inum, jpdom_autoglo, 'bckinseaice', seaice_bkginc, 1 ) 
     397            CALL iom_get( inum, jpdom_auto, 'bckinseaice', seaice_bkginc, 1 ) 
    398398            ! Apply the masks 
    399399            seaice_bkginc(:,:) = seaice_bkginc(:,:) * tmask(:,:,1) 
     
    416416            DO jk = 1, jpkm1           ! zhdiv = e1e1 * div 
    417417               zhdiv(:,:) = 0._wp 
    418                DO_2D_00_00 
     418               DO_2D( 0, 0, 0, 0 ) 
    419419                  zhdiv(ji,jj) = (  e2u(ji  ,jj) * e3u(ji  ,jj,jk,Kmm) * u_bkginc(ji  ,jj,jk)    & 
    420420                     &            - e2u(ji-1,jj) * e3u(ji-1,jj,jk,Kmm) * u_bkginc(ji-1,jj,jk)    & 
     
    425425               CALL lbc_lnk( 'asminc', zhdiv, 'T', 1. )   ! lateral boundary cond. (no sign change) 
    426426               ! 
    427                DO_2D_00_00 
     427               DO_2D( 0, 0, 0, 0 ) 
    428428                  u_bkginc(ji,jj,jk) = u_bkginc(ji,jj,jk)                         & 
    429429                     &               + 0.2_wp * ( zhdiv(ji+1,jj) - zhdiv(ji  ,jj) ) * r1_e1u(ji,jj) * umask(ji,jj,jk) 
     
    469469         ! 
    470470         IF ( ln_trainc ) THEN    
    471             CALL iom_get( inum, jpdom_autoglo, 'tn', t_bkg ) 
    472             CALL iom_get( inum, jpdom_autoglo, 'sn', s_bkg ) 
     471            CALL iom_get( inum, jpdom_auto, 'tn', t_bkg ) 
     472            CALL iom_get( inum, jpdom_auto, 'sn', s_bkg ) 
    473473            t_bkg(:,:,:) = t_bkg(:,:,:) * tmask(:,:,:) 
    474474            s_bkg(:,:,:) = s_bkg(:,:,:) * tmask(:,:,:) 
     
    476476         ! 
    477477         IF ( ln_dyninc ) THEN    
    478             CALL iom_get( inum, jpdom_autoglo, 'un', u_bkg ) 
    479             CALL iom_get( inum, jpdom_autoglo, 'vn', v_bkg ) 
     478            CALL iom_get( inum, jpdom_auto, 'un', u_bkg ) 
     479            CALL iom_get( inum, jpdom_auto, 'vn', v_bkg ) 
    480480            u_bkg(:,:,:) = u_bkg(:,:,:) * umask(:,:,:) 
    481481            v_bkg(:,:,:) = v_bkg(:,:,:) * vmask(:,:,:) 
     
    483483         ! 
    484484         IF ( ln_sshinc ) THEN 
    485             CALL iom_get( inum, jpdom_autoglo, 'sshn', ssh_bkg ) 
     485            CALL iom_get( inum, jpdom_auto, 'sshn', ssh_bkg ) 
    486486            ssh_bkg(:,:) = ssh_bkg(:,:) * tmask(:,:,1) 
    487487         ENDIF 
Note: See TracChangeset for help on using the changeset viewer.