Changeset 2528 for trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/trcini_pisces.F90
- Timestamp:
- 2010-12-27T18:33:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/trcini_pisces.F90
r1800 r2528 40 40 # include "top_substitute.h90" 41 41 !!---------------------------------------------------------------------- 42 !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)42 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 43 43 !! $Id$ 44 !! Software governed by the CeCILL licence ( modipsl/doc/NEMO_CeCILL.txt)44 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 45 45 !!---------------------------------------------------------------------- 46 46 … … 55 55 56 56 57 ! Control consitency 58 CALL trc_ctl_pisces 59 60 57 61 IF(lwp) WRITE(numout,*) 58 62 IF(lwp) WRITE(numout,*) ' trc_ini_pisces : PISCES biochemical model initialisation' 59 63 IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' 60 64 61 62 65 ! ! Time-step 63 rfact = rdttr a(1) * float(ndttrc)! ---------66 rfact = rdttrc(1) ! --------- 64 67 rfactr = 1. / rfact 65 rfact2 = rfact / float(nrdttrc)68 rfact2 = rfact / FLOAT( nrdttrc ) 66 69 rfact2r = 1. / rfact2 67 70 68 IF(lwp) WRITE(numout,*) ' Tracer time step rfact = ', rfact, ' rdt = ', rdt69 IF(lwp) write(numout,*) ' Biology time step rfact2 = ', rfact271 IF(lwp) WRITE(numout,*) ' Passive Tracer time step rfact = ', rfact, ' rdt = ', rdttra(1) 72 IF(lwp) write(numout,*) ' PISCES Biology time step rfact2 = ', rfact2 70 73 71 74 … … 80 83 81 84 CALL p4z_che ! initialize the chemical constants 82 83 ndayflxtr = 0 ! Initialize a counter for the computation of chemistry84 85 85 86 ! Initialization of tracer concentration in case of no restart … … 128 129 ! 129 130 END SUBROUTINE trc_ini_pisces 130 131 132 SUBROUTINE trc_ctl_pisces 133 !!---------------------------------------------------------------------- 134 !! *** ROUTINE trc_ctl_pisces *** 135 !! 136 !! ** Purpose : control the cpp options, namelist and files 137 !!---------------------------------------------------------------------- 138 139 IF(lwp) WRITE(numout,*) 140 IF(lwp) WRITE(numout,*) ' use PISCES biological model ' 141 142 ! Check number of tracers 143 ! ----------------------- 144 #if defined key_kriest 145 IF( jp_pisces /= 23) CALL ctl_stop( ' PISCES must have 23 passive tracers. Change jp_pisces in par_pisces.F90' ) 146 #else 147 IF( jp_pisces /= 24) CALL ctl_stop( ' PISCES must have 24 passive tracers. Change jp_pisces in par_pisces.F90' ) 148 #endif 149 150 END SUBROUTINE trc_ctl_pisces 151 131 152 #else 132 153 !!----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.