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 2038 for branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/PISCES/trcini_pisces.F90 – NEMO

Ignore:
Timestamp:
2010-08-02T12:57:40+02:00 (14 years ago)
Author:
cetlod
Message:

Apply the merge to passive tracers, see ticket:693

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/PISCES/trcini_pisces.F90

    r1953 r2038  
    5555 
    5656 
     57      !  Control consitency 
     58      CALL trc_ctl_pisces 
     59 
     60 
    5761      IF(lwp) WRITE(numout,*) 
    5862      IF(lwp) WRITE(numout,*) ' trc_ini_pisces :   PISCES biochemical model initialisation' 
    5963      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' 
    6064 
    61  
    6265      !                                            ! Time-step 
    63       rfact   = rdttra(1) * float(ndttrc)          ! --------- 
     66      rfact   = rdttra(1) * float(nn_dttrc)          ! --------- 
    6467      rfactr  = 1. / rfact 
    6568      rfact2  = rfact / float(nrdttrc) 
     
    128131      ! 
    129132   END SUBROUTINE trc_ini_pisces 
    130     
     133  
     134   SUBROUTINE trc_ctl_pisces 
     135      !!---------------------------------------------------------------------- 
     136      !!                     ***  ROUTINE trc_ctl_pisces  *** 
     137      !! 
     138      !! ** Purpose :   control the cpp options, namelist and files  
     139      !!---------------------------------------------------------------------- 
     140 
     141      IF(lwp) WRITE(numout,*) 
     142      IF(lwp) WRITE(numout,*) ' use PISCES biological model ' 
     143 
     144   ! Check number of tracers 
     145   ! ----------------------- 
     146#if  defined key_kriest 
     147      IF( jp_pisces /= 23) THEN 
     148#else 
     149      IF( jp_pisces /= 24) THEN 
     150#endif 
     151          IF (lwp) THEN 
     152              WRITE (numout,*) ' ===>>>> : w a r n i n g ' 
     153              WRITE (numout,*) ' =======   ============= ' 
     154              WRITE (numout,*)                               & 
     155              &   ' STOP, change jp_pisces',               & 
     156              &   ' in par_pisces.F90' 
     157          END IF 
     158          STOP 'TRC_CTL' 
     159      END IF 
     160 
     161   END SUBROUTINE trc_ctl_pisces 
     162   
    131163#else 
    132164   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.