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 7198 for branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/trcnam.F90 – NEMO

Ignore:
Timestamp:
2016-11-04T18:58:24+01:00 (7 years ago)
Author:
lovato
Message:

New top interface : merge with dev_r7012_ROBUST5_CMCC (#1783) and update sette.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/trcnam.F90

    r7124 r7198  
    145145      INTEGER  ::   ios, ierr, icfc       ! Local integer output status for namelist read 
    146146      !! 
    147       NAMELIST/namtrc/jptra, ln_pisces, ln_my_trc, ln_age, ln_cfc11, ln_cfc12, ln_c14, & 
    148          &            sn_tracer, ln_trcdta, ln_trcdmp, ln_trcdmp_clo 
     147      NAMELIST/namtrc/jp_bgc, ln_pisces, ln_my_trc, ln_age, ln_cfc11, ln_cfc12, ln_c14, & 
     148         &            sn_tracer, ln_trcdta, ln_trcdmp, ln_trcdmp_clo, jp_dia3d, jp_dia2d 
    149149      !!--------------------------------------------------------------------- 
    150150      ! Dummy settings to fill tracers data structure 
     
    167167      ! Control settings 
    168168      IF( ln_pisces .AND. ln_my_trc )   CALL ctl_stop( 'Choose only ONE BGC model - PISCES or MY_TRC' ) 
    169       IF( .NOT. ln_pisces .AND. .NOT. ln_my_trc )   jptra = 0 
     169      IF( .NOT. ln_pisces .AND. .NOT. ln_my_trc )   jp_bgc = 0 
    170170      ll_cfc = ln_cfc11 .OR. ln_cfc12 
    171171      ! 
     172      jptra       =  0 
    172173      jp_pisces   =  0    ;   jp_pcs0  =  0    ;   jp_pcs1  = 0 
    173174      jp_my_trc   =  0    ;   jp_myt0  =  0    ;   jp_myt1  = 0 
    174175      jp_cfc      =  0    ;   jp_cfc0  =  0    ;   jp_cfc1  = 0 
    175       jp_age      =  0    ;   jp_c14   = 0 
     176      jp_age      =  0    ;   jp_c14   =  0 
    176177      ! 
    177178      IF( ln_pisces )  THEN 
    178          jp_pisces = jptra 
     179         jp_pisces = jp_bgc 
    179180         jp_pcs0   = 1 
    180181         jp_pcs1   = jp_pisces 
    181182      ENDIF 
    182183      IF( ln_my_trc )  THEN 
    183           jp_my_trc = jptra 
     184          jp_my_trc = jp_bgc 
    184185          jp_myt0   = 1 
    185186          jp_myt1   = jp_my_trc 
    186187      ENDIF 
    187188      ! 
    188       jp_bgc  =   jptra 
     189      jptra  = jp_bgc 
    189190      ! 
    190191      IF( ln_age )    THEN 
     
    210211         WRITE(numout,*) ' Namelist : namtrc' 
    211212         WRITE(numout,*) '   Total number of passive tracers              jptra         = ', jptra 
     213         WRITE(numout,*) '   Total number of BGC tracers                  jp_bgc        = ', jp_bgc 
    212214         WRITE(numout,*) '   Simulating PISCES model                      ln_pisces     = ', ln_pisces 
    213215         WRITE(numout,*) '   Simulating MY_TRC  model                     ln_my_trc     = ', ln_my_trc 
     
    219221         WRITE(numout,*) '   Damping of passive tracer (y/n)              ln_trcdmp     = ', ln_trcdmp 
    220222         WRITE(numout,*) '   Restoring of tracer on closed seas           ln_trcdmp_clo = ', ln_trcdmp_clo 
    221          WRITE(numout,*) '   Total number of BGC-like tracers             jp_bgc        = ', jp_bgc 
    222223         WRITE(numout,*) ' ' 
    223224         WRITE(numout,*) ' ' 
Note: See TracChangeset for help on using the changeset viewer.