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 13265 for NEMO/branches/2020/tickets_2494_2375/src/OCE/ICB/icbthm.F90 – NEMO

Ignore:
Timestamp:
2020-07-08T13:34:28+02:00 (4 years ago)
Author:
mathiot
Message:

ticket #2494 and #2375: ticket #2494 changes and part of ticket #2375 (lbc_icb_lnk on extended variable at T point removed), ff_e initialisation and lbc_lnk move in the icbini.F90; tests on possible useless lbc_lnk in icbclv not yet done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/tickets_2494_2375/src/OCE/ICB/icbthm.F90

    r13226 r13265  
    8383         pt => this%current_point 
    8484         nknberg = this%number(1) 
    85          CALL icb_utl_interp( pt%xi, pt%e1, pt%uo, pt%ui, pt%ua, pt%ssh_x,   & 
    86             &                 pt%yj, pt%e2, pt%vo, pt%vi, pt%va, pt%ssh_y,   & 
    87             &                 pt%sst, pt%cn, pt%hi, zff ) 
     85         IF ( nn_sample_rate > 0 .AND. MOD(kt-1,nn_sample_rate) == 0 ) THEN 
     86            CALL icb_utl_interp( pt%xi, pt%yj, pe1=pt%e1, pe2=pt%e2,                 & 
     87               &                 puo=pt%uo, pui=pt%ui, pua=pt%ua, pssh_i=pt%ssh_x,   & 
     88               &                 pvo=pt%vo, pvi=pt%vi, pva=pt%va, pssh_j=pt%ssh_y,   & 
     89               &                 psst=pt%sst, pcn=pt%cn, phi=pt%hi,                  & 
     90               &                 plat=pt%lat, plon=pt%lon                            ) 
     91         ELSE 
     92            CALL icb_utl_interp( pt%xi, pt%yj,           &   ! position 
     93               &                 puo=pt%uo, pua=pt%ua,   &   ! oce/atm velocities 
     94               &                 pvo=pt%vo, pva=pt%va,   &   ! oce/atm velocities 
     95               &                 psst=pt%sst, pcn=pt%cn )    ! sst and ice concentration 
     96               ! preparation Nacho add t3d and uo, vo, to basal 
     97         END IF 
    8898         ! 
    8999         zSST = pt%sst 
Note: See TracChangeset for help on using the changeset viewer.