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 11222 for NEMO/branches/2019/dev_r11219_TOP-01_cethe_PISCES_LBC/src/TOP/trcini.F90 – NEMO

Ignore:
Timestamp:
2019-07-05T16:52:07+02:00 (5 years ago)
Author:
cetlod
Message:

PISCES_LBC : 1st step of dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11219_TOP-01_cethe_PISCES_LBC/src/TOP/trcini.F90

    r10817 r11222  
    2525   USE lib_mpp         ! distribued memory computing library 
    2626   USE trcice          ! tracers in sea ice 
    27    USE trcbc,   only : trc_bc_ini ! generalized Boundary Conditions 
     27   USE trcbc          ! generalized Boundary Conditions 
    2828  
    2929   IMPLICIT NONE 
     
    175175         ln_trc_obc(jn) =       sn_tracer(jn)%llobc 
    176176      END DO 
     177      lltrcbc = ( COUNT(ln_trc_sbc) + COUNT(ln_trc_obc) + COUNT(ln_trc_cbc) ) > 0  
    177178      !     
    178179      IF( ln_pisces      )   CALL trc_ini_pisces     !  PISCES model 
     
    191192         END DO 
    192193      ENDIF 
     194      IF( lwp .AND. lltrcbc ) THEN 
     195         WRITE(numout,*) 
     196         WRITE(numout,*) ' Applying tracer boundary conditions ' 
     197      ENDIF 
     198      
    1931999001  FORMAT(3x,i3,1x,a10,3x,l2,3x,l2,3x,l2,3x,l2) 
    194200      ! 
     
    235241      IF( ln_trcdta )   CALL trc_dta_ini( jptra )      ! set initial tracers values 
    236242      ! 
    237       IF( ln_my_trc )   CALL trc_bc_ini ( jptra )      ! set tracers Boundary Conditions 
     243      IF( lltrcbc   )  THEN  
     244        CALL trc_bc_ini ( jptra  )      ! set tracers Boundary Conditions 
     245        CALL trc_bc     ( nit000 )      ! tracers: surface and lateral Boundary Conditions 
     246      ENDIF 
    238247      ! 
    239248      ! 
Note: See TracChangeset for help on using the changeset viewer.