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 9019 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcini.F90 – NEMO

Ignore:
Timestamp:
2017-12-13T15:58:53+01:00 (6 years ago)
Author:
timgraham
Message:

Merge of dev_CNRS_2017 into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r8542 r9019  
    197197      USE trcadv , ONLY:  trc_adv_ini 
    198198      USE trcldf , ONLY:  trc_ldf_ini 
    199       USE trczdf , ONLY:  trc_zdf_ini 
    200199      USE trcrad , ONLY:  trc_rad_ini 
    201200      ! 
     
    206205                       CALL  trc_adv_ini          ! advection 
    207206                       CALL  trc_ldf_ini          ! lateral diffusion 
    208                        CALL  trc_zdf_ini          ! vertical diffusion 
     207                       !                          ! vertical diffusion: always implicit time stepping scheme 
    209208                       CALL  trc_rad_ini          ! positivity of passive tracers  
    210209      ! 
     
    224223      !!---------------------------------------------------------------------- 
    225224      ! 
    226       ! Initialisation of tracers Initial Conditions 
    227       IF( ln_trcdta )      CALL trc_dta_ini(jptra) 
    228  
    229       ! Initialisation of tracers Boundary Conditions 
    230       IF( ln_my_trc )     CALL trc_bc_ini(jptra) 
    231  
    232       IF( ln_rsttr ) THEN 
     225 
     226      IF( ln_trcdta )   CALL trc_dta_ini( jptra )      ! set initial tracers values 
     227 
     228      IF( ln_my_trc )   CALL trc_bc_ini ( jptra )      ! set tracers Boundary Conditions 
     229 
     230 
     231      IF( ln_rsttr ) THEN              ! restart from a file 
    233232        ! 
    234         CALL trc_rst_read              ! restart from a file 
     233        CALL trc_rst_read 
    235234        ! 
    236       ELSE 
    237         ! Initialisation of tracer from a file that may also be used for damping 
     235      ELSE                             ! Initialisation of tracer from a file that may also be used for damping 
     236!!gm BUG ?   if damping and restart, what's happening ? 
    238237        IF( ln_trcdta .AND. nb_trcdta > 0 ) THEN 
    239238            ! update passive tracers arrays with input data read from file 
     
    251250                  ENDIF 
    252251               ENDIF 
    253             ENDDO 
     252            END DO 
    254253            ! 
    255254        ENDIF 
     
    263262   END SUBROUTINE trc_ini_state 
    264263 
     264 
    265265   SUBROUTINE top_alloc 
    266266      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.