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 439 for trunk/NEMO/TOP_SRC – NEMO

Changeset 439 for trunk/NEMO/TOP_SRC


Ignore:
Timestamp:
2006-04-11T15:52:28+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_045 : CT : modifications to be able to run 1D on-line & off-line passive tracers configurations

Location:
trunk/NEMO/TOP_SRC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/TRP/trcbbl.F90

    r433 r439  
    55   !!                                  layer scheme 
    66   !!============================================================================== 
    7 #if  defined key_passivetrc && ( defined key_trcbbl_dif   ||   defined key_trcbbl_adv ) 
     7#if  defined key_passivetrc && ( defined key_trcbbl_dif   ||   defined key_trcbbl_adv ) && ! defined key_cfg_1d 
    88   !!---------------------------------------------------------------------- 
    99   !!   'key_trcbbl_dif'   or            diffusive bottom boundary layer 
  • trunk/NEMO/TOP_SRC/TRP/trcstp.F90

    r433 r439  
    1212   USE trc              ! ocean passive tracers variables  
    1313   USE trctrp           ! passive tracers transport 
    14    USE trctrp1d         ! passive tracers transport 1D configuration 
    1514   USE trcsms           ! passive tracers sources and sinks 
    1615   USE prtctl_trc       ! Print control for debbuging 
     
    1817   USE trcdit 
    1918   USE trcrst 
    20    USE ini1d 
    2119 
    2220   IMPLICIT NONE 
     
    7068 
    7169      ! transport of passive tracers 
    72       IF( lk_cfg_1d  )  THEN 
    73          CALL trc_trp_1d( kt )    
    74       ELSE 
    75          CALL trc_trp( kt ) 
    76       ENDIF 
    77  
     70      CALL trc_trp( kt ) 
    7871 
    7972      IF(ln_ctl)   THEN  ! print mean trends (used for debugging) 
  • trunk/NEMO/TOP_SRC/TRP/trctrp.F90

    r433 r439  
    128128      !                                                       
    129129 
    130        IF( lk_zps           )   CALL zps_hde_trc( kt, trb, gtru, gtrv )  ! Partial steps: now horizontal gradient 
     130      IF( lk_zps .AND. .NOT. lk_trccfg_1d ) & 
     131         &                     CALL zps_hde_trc( kt, trb, gtru, gtrv )  ! Partial steps: now horizontal gradient 
    131132      !                                                                 ! of passive tracers at the bottom ocean level 
    132133 
  • trunk/NEMO/TOP_SRC/TRP/trctrp_ctl.F90

    r349 r439  
    125125         IF(lwp) WRITE(numout,*) '     cross-land advection only with 2nd order advection scheme' 
    126126         nstop = nstop + 1 
     127      ENDIF 
     128 
     129      IF( lk_trccfg_1d ) THEN 
     130         ln_trcadv_cen2   = .FALSE.    ;  ln_trcadv_tvd    = .FALSE. ; ln_trcadv_muscl  = .FALSE. 
     131         ln_trcadv_muscl2 = .FALSE.    ;  ln_trcadv_smolar = .FALSE. 
     132         IF(lwp) WRITE(numout,*) ' *******  1D configuration : No advection on passive tracers *******' 
     133         IF(lwp) WRITE(numout,*) ' *******                                                     *******' 
    127134      ENDIF 
    128135 
     
    236243      ENDIF 
    237244 
    238       IF( .NOT. ln_trcldf_diff ) THEN 
     245      IF( .NOT. ln_trcldf_diff .OR. lk_trccfg_1d ) THEN 
    239246         l_trcldf_lap = .FALSE.   ;   l_trcldf_bilap   = .FALSE.   ;   l_trcldf_bilapg  = .FALSE. 
    240247         l_trcldf_iso = .FALSE.   ;   l_trcldf_iso_zps = .FALSE. 
    241248         l_trczdf_iso = .FALSE.   ;   l_trczdf_iso_vo  = .FALSE. 
    242          IF(lwp ) WRITE(numout,*) '          No lateral physics on passive tracers' 
     249         IF(lwp ) WRITE(numout,*) '************* No lateral physics on passive tracers *****************' 
     250         IF(lwp ) WRITE(numout,*) '*************                                       *****************' 
    243251      ELSE 
    244252         ! ... Space variation of eddy coefficients 
  • trunk/NEMO/TOP_SRC/trc.F90

    r433 r439  
    198198#endif 
    199199 
     200  !!  1D configuration 
     201  !! -------------------------------------------------- 
     202#if defined key_cfg_1d 
     203      LOGICAL, PARAMETER ::   lk_trccfg_1d   = .TRUE.   !: 1D pass. tracer configuration flag 
     204#else    
     205      LOGICAL, PARAMETER ::   lk_trccfg_1d   = .FALSE.  !: 1D pass. tracer configuration flag 
     206#endif 
     207 
     208 
    200209#else 
    201210   !!====================================================================== 
Note: See TracChangeset for help on using the changeset viewer.