Changeset 1119 for trunk/NEMO/TOP_SRC/PISCES
- Timestamp:
- 2008-06-20T17:17:41+02:00 (16 years ago)
- Location:
- trunk/NEMO/TOP_SRC/PISCES
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/PISCES/p4zbio.F90
r1073 r1119 15 15 !!---------------------------------------------------------------------- 16 16 USE oce_trc ! 17 USE tr p_trc !17 USE trc ! 18 18 USE sms_pisces ! 19 19 USE p4zsink ! … … 131 131 132 132 # if defined key_trc_dia3d && defined key_kriest 133 !!gm potential bug hard coded index on trc3d 134 trc3d(:,:,:,11) = tra(:,:,:,jpcal) * xnegtr(:,:,:) * 1.e3 * rfact2r 133 trc3d(:,:,:,jp_pcs0_3d + 10) = tra(:,:,:,jpcal) * xnegtr(:,:,:) * 1.e3 * rfact2r 135 134 # endif 136 135 ! -
trunk/NEMO/TOP_SRC/PISCES/p4zche.F90
r1073 r1119 18 18 !!---------------------------------------------------------------------- 19 19 USE oce_trc ! 20 USE tr p_trc !20 USE trc ! 21 21 USE sms_pisces ! 22 22 -
trunk/NEMO/TOP_SRC/PISCES/p4zflx.F90
r1073 r1119 19 19 USE trc 20 20 USE oce_trc ! 21 USE tr p_trc21 USE trc 22 22 USE sms_pisces 23 23 USE prtctl_trc … … 167 167 # if defined key_trc_diaadd 168 168 ! Save diagnostics 169 trc2d(ji,jj, 1) = ( zfld - zflu ) * 1000.170 trc2d(ji,jj, 2) = ( zfld16 - zflu16 ) * 1000.171 trc2d(ji,jj, 3) = zkgco2(ji,jj)172 trc2d(ji,jj, 4) = atcco2 - zh2co3(ji,jj) / ( chemc(ji,jj,1) + rtrn )169 trc2d(ji,jj,jp_pcs0_2d ) = ( zfld - zflu ) * 1000. 170 trc2d(ji,jj,jp_pcs0_2d + 1) = ( zfld16 - zflu16 ) * 1000. 171 trc2d(ji,jj,jp_pcs0_2d + 2) = zkgco2(ji,jj) 172 trc2d(ji,jj,jp_pcs0_2d + 3) = atcco2 - zh2co3(ji,jj) / ( chemc(ji,jj,1) + rtrn ) 173 173 # endif 174 174 END DO … … 209 209 !! ** Purpose : Initialization of atmospheric conditions 210 210 !! 211 !! ** Method : Read the na text namelist and check the parameters211 !! ** Method : Read the nampisext namelist and check the parameters 212 212 !! called at the first timestep (nittrc000) 213 !! ** input : Namelist na text213 !! ** input : Namelist nampisext 214 214 !! 215 215 !!---------------------------------------------------------------------- 216 216 217 NAMELIST/na text/ atcco2217 NAMELIST/nampisext/ atcco2 218 218 219 219 REWIND( numnat ) ! read numnat 220 READ ( numnat, na text )220 READ ( numnat, nampisext ) 221 221 222 222 IF(lwp) THEN ! control print 223 223 WRITE(numout,*) ' ' 224 WRITE(numout,*) ' Namelist parameters for air-sea exchange, na text'224 WRITE(numout,*) ' Namelist parameters for air-sea exchange, nampisext' 225 225 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 226 226 WRITE(numout,*) ' Atmospheric pCO2 atcco2 =', atcco2 -
trunk/NEMO/TOP_SRC/PISCES/p4zint.F90
r1073 r1119 14 14 !!---------------------------------------------------------------------- 15 15 USE oce_trc ! 16 USE tr p_trc16 USE trc 17 17 USE sms_pisces 18 18 -
trunk/NEMO/TOP_SRC/PISCES/p4zlim.F90
r1073 r1119 16 16 USE trc 17 17 USE oce_trc ! 18 USE tr p_trc !18 USE trc ! 19 19 USE sms_pisces ! 20 20 … … 180 180 !! ** Purpose : Initialization of nutrient limitation parameters 181 181 !! 182 !! ** Method : Read the na tlim namelist and check the parameters182 !! ** Method : Read the nampislim namelist and check the parameters 183 183 !! called at the first timestep (nittrc000) 184 184 !! 185 !! ** input : Namelist na tlim185 !! ** input : Namelist nampislim 186 186 !! 187 187 !!---------------------------------------------------------------------- 188 188 189 NAMELIST/na tlim/ conc0, conc1, conc2, conc2m, conc3, conc3m, &189 NAMELIST/nampislim/ conc0, conc1, conc2, conc2m, conc3, conc3m, & 190 190 & concnnh4, concdnh4, xksi1, xksi2, xkdoc, caco3r 191 191 192 192 REWIND( numnat ) ! read numnat 193 READ ( numnat, na tlim )193 READ ( numnat, nampislim ) 194 194 195 195 IF(lwp) THEN ! control print 196 196 WRITE(numout,*) ' ' 197 WRITE(numout,*) ' Namelist parameters for nutrient limitations, na tlim'197 WRITE(numout,*) ' Namelist parameters for nutrient limitations, nampislim' 198 198 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 199 199 WRITE(numout,*) ' mean rainratio caco3r =', caco3r -
trunk/NEMO/TOP_SRC/PISCES/p4zlys.F90
r1073 r1119 19 19 USE trc 20 20 USE oce_trc ! 21 USE tr p_trc21 USE trc 22 22 USE sms_pisces 23 23 USE prtctl_trc … … 151 151 152 152 # if defined key_trc_dia3d 153 trc3d(:,:,:, 1) = hi(:,:,:)154 trc3d(:,:,:, 2) = zco3(:,:,:)155 trc3d(:,:,:, 3) = aksp(:,:,:) / calcon153 trc3d(:,:,:,jp_pcs0_3d ) = hi(:,:,:) 154 trc3d(:,:,:,jp_pcs0_3d + 1) = zco3(:,:,:) 155 trc3d(:,:,:,jp_pcs0_3d + 2) = aksp(:,:,:) / calcon 156 156 # endif 157 157 ! … … 171 171 !! ** Purpose : Initialization of CaCO3 dissolution parameters 172 172 !! 173 !! ** Method : Read the na tcal namelist and check the parameters173 !! ** Method : Read the nampiscal namelist and check the parameters 174 174 !! called at the first timestep (nittrc000) 175 175 !! 176 !! ** input : Namelist na tcal176 !! ** input : Namelist nampiscal 177 177 !! 178 178 !!---------------------------------------------------------------------- 179 179 180 NAMELIST/na tcal/ kdca, nca180 NAMELIST/nampiscal/ kdca, nca 181 181 182 182 REWIND( numnat ) ! read numnat 183 READ ( numnat, na tcal )183 READ ( numnat, nampiscal ) 184 184 185 185 IF(lwp) THEN ! control print 186 186 WRITE(numout,*) ' ' 187 WRITE(numout,*) ' Namelist parameters for CaCO3 dissolution, na tcal'187 WRITE(numout,*) ' Namelist parameters for CaCO3 dissolution, nampiscal' 188 188 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 189 189 WRITE(numout,*) ' diss. rate constant calcite (per month) kdca =', kdca -
trunk/NEMO/TOP_SRC/PISCES/p4zmeso.F90
r1073 r1119 16 16 USE trc 17 17 USE oce_trc ! 18 USE tr p_trc !18 USE trc ! 19 19 USE sms_pisces ! 20 20 USE prtctl_trc … … 299 299 !! ** Purpose : Initialization of mesozooplankton parameters 300 300 !! 301 !! ** Method : Read the na tmes namelist and check the parameters301 !! ** Method : Read the nampismes namelist and check the parameters 302 302 !! called at the first timestep (nittrc000) 303 303 !! 304 !! ** input : Namelist na tmes304 !! ** input : Namelist nampismes 305 305 !! 306 306 !!---------------------------------------------------------------------- 307 307 308 NAMELIST/na tmes/ grazrat2,resrat2,mzrat2,xprefc, xprefp, &308 NAMELIST/nampismes/ grazrat2,resrat2,mzrat2,xprefc, xprefp, & 309 309 & xprefz, xprefpoc, xkgraz2, epsher2, sigma2, unass2, grazflux 310 310 311 311 REWIND( numnat ) ! read numnat 312 READ ( numnat, na tmes )312 READ ( numnat, nampismes ) 313 313 314 314 315 315 IF(lwp) THEN ! control print 316 316 WRITE(numout,*) ' ' 317 WRITE(numout,*) ' Namelist parameters for mesozooplankton, na tmes'317 WRITE(numout,*) ' Namelist parameters for mesozooplankton, nampismes' 318 318 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 319 319 WRITE(numout,*) ' zoo preference for phyto xprefc =', xprefc -
trunk/NEMO/TOP_SRC/PISCES/p4zmicro.F90
r1073 r1119 16 16 USE trc 17 17 USE oce_trc ! 18 USE tr p_trc !18 USE trc ! 19 19 USE sms_pisces ! 20 20 USE prtctl_trc … … 229 229 !! ** Purpose : Initialization of microzooplankton parameters 230 230 !! 231 !! ** Method : Read the na tzoo namelist and check the parameters231 !! ** Method : Read the nampiszoo namelist and check the parameters 232 232 !! called at the first timestep (nittrc000) 233 233 !! 234 !! ** input : Namelist na tzoo234 !! ** input : Namelist nampiszoo 235 235 !! 236 236 !!---------------------------------------------------------------------- 237 237 238 NAMELIST/na tzoo/ grazrat,resrat,mzrat,xpref2c, xpref2p, &238 NAMELIST/nampiszoo/ grazrat,resrat,mzrat,xpref2c, xpref2p, & 239 239 & xpref2d, xkgraz, epsher, sigma1, unass 240 240 241 241 REWIND( numnat ) ! read numnat 242 READ ( numnat, na tzoo )242 READ ( numnat, nampiszoo ) 243 243 244 244 IF(lwp) THEN ! control print 245 245 WRITE(numout,*) ' ' 246 WRITE(numout,*) ' Namelist parameters for microzooplankton, na tzoo'246 WRITE(numout,*) ' Namelist parameters for microzooplankton, nampiszoo' 247 247 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 248 248 WRITE(numout,*) ' zoo preference for POC xpref2c =', xpref2c -
trunk/NEMO/TOP_SRC/PISCES/p4zmort.F90
r1073 r1119 16 16 USE trc 17 17 USE oce_trc ! 18 USE tr p_trc !18 USE trc ! 19 19 USE sms_pisces ! 20 20 USE p4zsink … … 241 241 !! ** Purpose : Initialization of phytoplankton parameters 242 242 !! 243 !! ** Method : Read the na tmort namelist and check the parameters243 !! ** Method : Read the nampismort namelist and check the parameters 244 244 !! called at the first timestep (nittrc000) 245 245 !! 246 !! ** input : Namelist na tmort246 !! ** input : Namelist nampismort 247 247 !! 248 248 !!---------------------------------------------------------------------- 249 249 250 NAMELIST/na tmort/ wchl, wchld, mprat, mprat2, mpratm250 NAMELIST/nampismort/ wchl, wchld, mprat, mprat2, mpratm 251 251 252 252 REWIND( numnat ) ! read numnat 253 READ ( numnat, na tmort )253 READ ( numnat, nampismort ) 254 254 255 255 IF(lwp) THEN ! control print 256 256 WRITE(numout,*) ' ' 257 WRITE(numout,*) ' Namelist parameters for phytoplankton mortality, na tmort'257 WRITE(numout,*) ' Namelist parameters for phytoplankton mortality, nampismort' 258 258 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 259 259 WRITE(numout,*) ' quadratic mortality of phytoplankton wchl =', wchl -
trunk/NEMO/TOP_SRC/PISCES/p4zopt.F90
r1073 r1119 15 15 USE trc 16 16 USE oce_trc ! 17 USE tr p_trc17 USE trc 18 18 USE sms_pisces 19 19 … … 255 255 256 256 # if defined key_trc_diaadd 257 trc2d(:,:, 11) = heup(:,:)257 trc2d(:,:,jp_pcs0_2d + 10) = heup(:,:) 258 258 # endif 259 259 ! -
trunk/NEMO/TOP_SRC/PISCES/p4zprod.F90
r1073 r1119 15 15 USE trc 16 16 USE oce_trc ! 17 USE trp_trc !18 17 USE sms_pisces ! 19 18 USE prtctl_trc … … 376 375 ! Supplementary diagnostics 377 376 ! ------------------------- 378 trc3d(:,:,:, 4) = etot(:,:,:)379 trc3d(:,:,:, 5) = zprorca(:,:,:) * zrfact2380 trc3d(:,:,:, 6) = zprorcad(:,:,:) * zrfact2381 trc3d(:,:,:, 7) = zpronew(:,:,:) * zrfact2382 trc3d(:,:,:, 8) = zpronewd(:,:,:) * zrfact2383 trc3d(:,:,:, 9) = zprorcad(:,:,:) * zysopt(:,:,:) * zrfact2384 trc3d(:,:,:, 10) = zprofed(:,:,:) * zrfact2377 trc3d(:,:,:,jp_pcs0_3d + 3) = etot(:,:,:) 378 trc3d(:,:,:,jp_pcs0_3d + 4) = zprorca(:,:,:) * zrfact2 379 trc3d(:,:,:,jp_pcs0_3d + 5) = zprorcad(:,:,:) * zrfact2 380 trc3d(:,:,:,jp_pcs0_3d + 6) = zpronew(:,:,:) * zrfact2 381 trc3d(:,:,:,jp_pcs0_3d + 7) = zpronewd(:,:,:) * zrfact2 382 trc3d(:,:,:,jp_pcs0_3d + 8) = zprorcad(:,:,:) * zysopt(:,:,:) * zrfact2 383 trc3d(:,:,:,jp_pcs0_3d + 9) = zprofed(:,:,:) * zrfact2 385 384 #if ! defined key_kriest 386 trc3d(:,:,:, 11) = zprofen(:,:,:) * zrfact2385 trc3d(:,:,:,jp_pcs0_3d + 10) = zprofen(:,:,:) * zrfact2 387 386 #endif 388 387 #endif … … 403 402 !! ** Purpose : Initialization of phytoplankton production parameters 404 403 !! 405 !! ** Method : Read the na tprod namelist and check the parameters404 !! ** Method : Read the nampisprod namelist and check the parameters 406 405 !! called at the first timestep (nittrc000) 407 406 !! 408 !! ** input : Namelist na tprod407 !! ** input : Namelist nampisprod 409 408 !! 410 409 !!---------------------------------------------------------------------- 411 410 412 NAMELIST/na tprod/ pislope, pislope2, excret, excret2, chlcnm, chlcdm, &411 NAMELIST/nampisprod/ pislope, pislope2, excret, excret2, chlcnm, chlcdm, & 413 412 & fecnm, fecdm, grosip 414 413 415 414 REWIND( numnat ) ! read numnat 416 READ ( numnat, na tprod )415 READ ( numnat, nampisprod ) 417 416 418 417 IF(lwp) THEN ! control print 419 418 WRITE(numout,*) ' ' 420 WRITE(numout,*) ' Namelist parameters for phytoplankton growth, na tprod'419 WRITE(numout,*) ' Namelist parameters for phytoplankton growth, nampisprod' 421 420 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 422 421 WRITE(numout,*) ' mean Si/C ratio grosip =', grosip -
trunk/NEMO/TOP_SRC/PISCES/p4zrem.F90
r1073 r1119 16 16 USE trc 17 17 USE oce_trc ! 18 USE trp_trc !19 18 USE sms_pisces ! 20 19 USE prtctl_trc … … 409 408 !! ** Purpose : Initialization of remineralization parameters 410 409 !! 411 !! ** Method : Read the na trem namelist and check the parameters410 !! ** Method : Read the nampisrem namelist and check the parameters 412 411 !! called at the first timestep (nittrc000) 413 412 !! 414 !! ** input : Namelist na trem413 !! ** input : Namelist nampisrem 415 414 !! 416 415 !!---------------------------------------------------------------------- 417 416 418 NAMELIST/na trem/ xremik, xremip, nitrif, xsirem, xlam1, oxymin417 NAMELIST/nampisrem/ xremik, xremip, nitrif, xsirem, xlam1, oxymin 419 418 420 419 REWIND( numnat ) ! read numnat 421 READ ( numnat, na trem )420 READ ( numnat, nampisrem ) 422 421 423 422 IF(lwp) THEN ! control print 424 423 WRITE(numout,*) ' ' 425 WRITE(numout,*) ' Namelist parameters for remineralization, na trem'424 WRITE(numout,*) ' Namelist parameters for remineralization, nampisrem' 426 425 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 427 426 WRITE(numout,*) ' remineralisation rate of POC xremip =', xremip -
trunk/NEMO/TOP_SRC/PISCES/p4zsed.F90
r1073 r1119 17 17 USE trc 18 18 USE oce_trc ! 19 USE trp_trc20 19 USE sms_pisces 21 20 USE lib_mpp … … 316 315 DO jj = 1,jpj 317 316 DO ji = 1,jpi 318 trc2d(ji,jj, 13) = znitrpot(ji,jj,1) * 1.e-7 * fse3t(ji,jj,1) * 1.e+3 / rfact2319 trc2d(ji,jj, 12) = zirondep(ji,jj,1) * 1.e+3 * rfact2r * fse3t(ji,jj,1)317 trc2d(ji,jj,jp_pcs0_2d + 11) = zirondep(ji,jj,1) * 1.e+3 * rfact2r * fse3t(ji,jj,1) 318 trc2d(ji,jj,jp_pcs0_2d + 12) = znitrpot(ji,jj,1) * 1.e-7 * fse3t(ji,jj,1) * 1.e+3 / rfact2 320 319 END DO 321 320 END DO … … 454 453 REAL(wp), DIMENSION(jpi,jpj,12) :: zdustmo 455 454 456 NAMELIST/na tsms/ bdustfer, briver, bndepo, bsedinput, sedfeinput, dustsolub455 NAMELIST/nampissed/ bdustfer, briver, bndepo, bsedinput, sedfeinput, dustsolub 457 456 458 457 459 458 REWIND( numnat ) ! read numnat 460 READ ( numnat, na tsms)459 READ ( numnat, nampissed ) 461 460 462 461 IF(lwp) THEN 463 462 WRITE(numout,*) ' ' 464 WRITE(numout,*) ' Namelist : na tsms'463 WRITE(numout,*) ' Namelist : nampissed ' 465 464 WRITE(numout,*) ' ~~~~~~~~~~~~~~~~~ ' 466 465 WRITE(numout,*) ' Dust input from the atmosphere bdustfer = ', bdustfer -
trunk/NEMO/TOP_SRC/PISCES/p4zsink.F90
r1073 r1119 12 12 USE trc 13 13 USE oce_trc ! 14 USE trp_trc15 14 USE sms_pisces 16 15 USE prtctl_trc … … 279 278 # if defined key_trc_dia3d 280 279 zrfact2 = 1.e3 * rfact2r 281 trc2d(:,:, 5) = sinking (:,:,iksed+1) * zrfact2282 trc2d(:,:, 6) = sinking2(:,:,iksed+1) * zrfact2283 trc2d(:,:, 7) = sinkfer (:,:,iksed+1) * zrfact2284 trc2d(:,:, 9) = sinksil (:,:,iksed+1) * zrfact2285 trc2d(:,:, 10) = sinkcal (:,:,iksed+1) * zrfact2286 trc3d(:,:,:, 12) = sinking (:,:,:) * zrfact2287 trc3d(:,:,:, 13) = sinking2(:,:,:) * zrfact2288 trc3d(:,:,:, 14) = sinksil (:,:,:) * zrfact2289 trc3d(:,:,:, 15) = sinkcal (:,:,:) * zrfact2290 trc3d(:,:,:, 16) = znum3d (:,:,:)291 trc3d(:,:,:, 17) = wsbio3 (:,:,:)292 trc3d(:,:,:, 18) = wsbio4 (:,:,:)280 trc2d(:,:, jp_pcs0_2d + 4) = sinking (:,:,iksed+1) * zrfact2 281 trc2d(:,:, jp_pcs0_2d + 5) = sinking2(:,:,iksed+1) * zrfact2 282 trc2d(:,:, jp_pcs0_2d + 6) = sinkfer (:,:,iksed+1) * zrfact2 283 trc2d(:,:, jp_pcs0_2d + 8) = sinksil (:,:,iksed+1) * zrfact2 284 trc2d(:,:, jp_pcs0_2d + 9) = sinkcal (:,:,iksed+1) * zrfact2 285 trc3d(:,:,:,jp_pcs0_3d + 11) = sinking (:,:,:) * zrfact2 286 trc3d(:,:,:,jp_pcs0_3d + 12) = sinking2(:,:,:) * zrfact2 287 trc3d(:,:,:,jp_pcs0_3d + 13) = sinksil (:,:,:) * zrfact2 288 trc3d(:,:,:,jp_pcs0_3d + 14) = sinkcal (:,:,:) * zrfact2 289 trc3d(:,:,:,jp_pcs0_3d + 15) = znum3d (:,:,:) 290 trc3d(:,:,:,jp_pcs0_3d + 16) = wsbio3 (:,:,:) 291 trc3d(:,:,:,jp_pcs0_3d + 17) = wsbio4 (:,:,:) 293 292 # endif 294 293 ! … … 308 307 !! Kriest parameterization only 309 308 !! 310 !! ** Method : Read the na tkriestnamelist and check the parameters309 !! ** Method : Read the nampiskrs namelist and check the parameters 311 310 !! called at the first timestep (nittrc000) 312 311 !! 313 !! ** input : Namelist na tkriest312 !! ** input : Namelist nampiskrs 314 313 !! 315 314 !!---------------------------------------------------------------------- … … 319 318 REAL(wp) :: zmin, zmax, zl, zr, xacc 320 319 321 NAMELIST/na tkrsize/ xkr_sfact, xkr_stick , &320 NAMELIST/nampiskrs/ xkr_sfact, xkr_stick , & 322 321 & xkr_nnano, xkr_ndiat, xkr_nmeso, xkr_naggr 323 322 324 323 !!---------------------------------------------------------------------- 325 ! ! natkriest : kriest parameters 326 ! ! ----------------------------- 327 REWIND( numnat ) ! read natkriest 328 READ ( numnat, natkrsize ) 324 REWIND( numnat ) ! read nampiskrs 325 READ ( numnat, nampiskrs ) 329 326 330 327 IF(lwp) THEN 331 328 WRITE(numout,*) 332 WRITE(numout,*) ' Namelist : na tkrsize'329 WRITE(numout,*) ' Namelist : nampiskrs' 333 330 WRITE(numout,*) ' Sinking factor xkr_sfact = ', xkr_sfact 334 331 WRITE(numout,*) ' Stickiness xkr_stick = ', xkr_stick … … 594 591 END DO 595 592 596 # if defined key_trc_dia 3d593 # if defined key_trc_diaadd 597 594 zrfact2 = 1.e3 * rfact2r 598 trc2d(:,:, 5) = sinking (:,:,iksed+1) * zrfact2599 trc2d(:,:, 6) = sinking2(:,:,iksed+1) * zrfact2600 trc2d(:,:, 7) = sinkfer (:,:,iksed+1) * zrfact2601 trc2d(:,:, 8) = sinkfer2(:,:,iksed+1) * zrfact2602 trc2d(:,:, 9) = sinksil (:,:,iksed+1) * zrfact2603 trc2d(:,:, 10) = sinkcal (:,:,iksed+1) * zrfact2595 trc2d(:,:, jp_pcs0_2d + 4) = sinking (:,:,iksed+1) * zrfact2 596 trc2d(:,:, jp_pcs0_2d + 5) = sinking2(:,:,iksed+1) * zrfact2 597 trc2d(:,:, jp_pcs0_2d + 6) = sinkfer (:,:,iksed+1) * zrfact2 598 trc2d(:,:, jp_pcs0_2d + 7) = sinkfer2(:,:,iksed+1) * zrfact2 599 trc2d(:,:, jp_pcs0_2d + 8) = sinksil (:,:,iksed+1) * zrfact2 600 trc2d(:,:, jp_pcs0_2d + 9) = sinkcal (:,:,iksed+1) * zrfact2 604 601 # endif 605 602 ! -
trunk/NEMO/TOP_SRC/PISCES/par_pisces.F90
r935 r1119 10 10 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 11 11 !!---------------------------------------------------------------------- 12 USE par_lobster, ONLY : jp_lobster !: number of tracers in LOBSTER 12 USE par_lobster, ONLY : jp_lobster !: number of tracers in LOBSTER 13 USE par_lobster, ONLY : jp_lobster_2d !: number of 2D diag in LOBSTER 14 USE par_lobster, ONLY : jp_lobster_3d !: number of 3D diag in LOBSTER 15 USE par_lobster, ONLY : jp_lobster_trd !: number of biological diag in LOBSTER 13 16 14 17 IMPLICIT NONE 15 18 PUBLIC 16 19 17 INTEGER, PUBLIC, PARAMETER :: jp_l = jp_lobster !: cumulative number of already defined TRC 20 INTEGER, PUBLIC, PARAMETER :: jp_l = jp_lobster !: cumulative number of already defined TRC 21 INTEGER, PUBLIC, PARAMETER :: jp_l_2d = jp_lobster_2d !: 22 INTEGER, PUBLIC, PARAMETER :: jp_l_3d = jp_lobster_3d !: 23 INTEGER, PUBLIC, PARAMETER :: jp_l_trd = jp_lobster_trd !: 18 24 19 25 #if defined key_pisces && defined key_kriest … … 107 113 108 114 ! Starting/ending PISCES do-loop indices (N.B. no PISCES : jpl_pcs < jpf_pcs the do-loop are never done) 109 INTEGER, PUBLIC, PARAMETER :: jp_pcs0 = jp_l + 1 !: First index of CFC passive tracers 110 INTEGER, PUBLIC, PARAMETER :: jp_pcs1 = jp_l + jp_pisces !: Last index of CFC passive tracers 115 INTEGER, PUBLIC, PARAMETER :: jp_pcs0 = jp_l + 1 !: First index of PISCES tracers 116 INTEGER, PUBLIC, PARAMETER :: jp_pcs1 = jp_l + jp_pisces !: Last index of PISCES tracers 117 INTEGER, PUBLIC, PARAMETER :: jp_pcs0_2d = jp_l_2d + 1 !: First index of 2D diag 118 INTEGER, PUBLIC, PARAMETER :: jp_pcs1_2d = jp_l_2d + jp_pisces_2d !: Last index of 2D diag 119 INTEGER, PUBLIC, PARAMETER :: jp_pcs0_3d = jp_l_3d + 1 !: First index of 3D diag 120 INTEGER, PUBLIC, PARAMETER :: jp_pcs1_3d = jp_l_3d + jp_pisces_3d !: Last index of 3d diag 121 INTEGER, PUBLIC, PARAMETER :: jp_pcs0_trd = jp_l_trd + 1 !: First index of bio diag 122 INTEGER, PUBLIC, PARAMETER :: jp_pcs1_trd = jp_l_trd + jp_pisces_trd !: Last index of bio diag 123 111 124 112 125 !!====================================================================== -
trunk/NEMO/TOP_SRC/PISCES/trcini_pisces.F90
r1073 r1119 20 20 USE trc 21 21 USE oce_trc ! ocean variables 22 USE trp_trc !23 22 USE p4zche 24 23 USE lib_mpp -
trunk/NEMO/TOP_SRC/PISCES/trclsm_pisces.F90
r1089 r1119 45 45 !! natkriest ("key_kriest") 46 46 !!---------------------------------------------------------------------- 47 CHARACTER (len=32) :: clname 47 CHARACTER (len=32) :: clname 48 INTEGER :: jn 48 49 !! 49 NAMELIST/natbio/ part, nrdttrc, wsbio, xkmort, ferat3, wsbio2 50 #if defined key_trc_diaadd 51 ! definition of additional diagnostic as a structure 52 TYPE DIAG 53 CHARACTER(len = 20) :: snamedia !: short name 54 CHARACTER(len = 80 ) :: lnamedia !: long name 55 CHARACTER(len = 20 ) :: unitdia !: unit 56 END TYPE DIAG 50 57 58 TYPE(DIAG) , DIMENSION(jp_pisces_2d) :: pisdia2d 59 TYPE(DIAG) , DIMENSION(jp_pisces_3d) :: pisdia3d 60 #endif 61 62 NAMELIST/nampisbio/ part, nrdttrc, wsbio, xkmort, ferat3, wsbio2 51 63 #if defined key_kriest 52 NAMELIST/na tkrpar/xkr_eta, xkr_zeta, xkr_mass_min, xkr_mass_max64 NAMELIST/nampiskrp/xkr_eta, xkr_zeta, xkr_mass_min, xkr_mass_max 53 65 #endif 66 #if defined key_trc_diaadd 67 NAMELIST/nampisdia/nwritedia, pisdia3d, pisdia2d ! additional diagnostics 68 #endif 69 54 70 !!---------------------------------------------------------------------- 55 71 … … 62 78 ! ! ---------------------- 63 79 clname ='namelist_pisces' 64 CALL ctlopn( numnat, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & 65 & 1, numout, .FALSE., 1 ) 80 CALL ctlopn( numnat, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', 1, numout, .FALSE., 1 ) 66 81 67 ! ! natbio : biological parameters 68 ! ! ------------------------------ 69 REWIND( numnat ) ! read natbio 70 READ ( numnat, natbio ) 82 REWIND( numnat ) 83 READ ( numnat, nampisbio ) 71 84 72 85 IF(lwp) THEN ! control print 73 WRITE(numout,*) ' Namelist : na tbio'86 WRITE(numout,*) ' Namelist : nampisbio' 74 87 WRITE(numout,*) ' part of calcite not dissolved in guts part =', part 75 88 WRITE(numout,*) ' frequence pour la biologie nrdttrc =', nrdttrc … … 82 95 #if defined key_kriest 83 96 84 ! ! na tkrpar: kriest parameters97 ! ! nampiskrp : kriest parameters 85 98 ! ! ----------------------------- 86 99 xkr_eta = 0.62 … … 90 103 91 104 REWIND( numnat ) ! read natkriest 92 READ ( numnat, na tkrpar)105 READ ( numnat, nampiskrp ) 93 106 94 107 IF(lwp) THEN 95 108 WRITE(numout,*) 96 WRITE(numout,*) ' Namelist : na tkrpar'109 WRITE(numout,*) ' Namelist : nampiskrp' 97 110 WRITE(numout,*) ' Sinking exponent xkr_eta = ', xkr_eta 98 111 WRITE(numout,*) ' N content exponent xkr_zeta = ', xkr_zeta … … 108 121 #endif 109 122 ! 123 #if defined key_trc_diaadd 124 125 ! Namelist namlobdia 126 ! ------------------- 127 nwritedia = 10 ! default values 128 129 DO jn = jp_pcs0_2d, jp_pcs1_2d 130 WRITE(ctrc2d(jn),'("2D_",I1)') jn ! short name 131 WRITE(ctrc2l(jn),'("2D DIAGNOSTIC NUMBER ",I2)') jn ! long name 132 ctrc2u(jn) = ' ' ! units 133 END DO 134 ! ! 3D output arrays 135 DO jn = jp_pcs0_3d, jp_pcs1_3d 136 WRITE(ctrc3d(jn),'("3D_",I1)') jn ! short name 137 WRITE(ctrc3l(jn),'("3D DIAGNOSTIC NUMBER ",I2)') jn ! long name 138 ctrc3u(jn) = ' ' ! units 139 END DO 140 141 REWIND( numnat ) ! read natrtd 142 READ ( numnat, nampisdia ) 143 144 DO jn = jp_pcs0_2d, jp_pcs1_2d 145 ctrc2d(jn) = pisdia2d(jn)%snamedia 146 ctrc2l(jn) = pisdia2d(jn)%lnamedia 147 ctrc2u(jn) = pisdia2d(jn)%unitdia 148 END DO 149 150 DO jn = jp_pcs0_3d, jp_pcs1_3d 151 ctrc3d(jn) = pisdia3d(jn)%snamedia 152 ctrc3l(jn) = pisdia3d(jn)%lnamedia 153 ctrc3u(jn) = pisdia3d(jn)%unitdia 154 END DO 155 156 IF(lwp) THEN ! control print 157 WRITE(numout,*) 158 WRITE(numout,*) ' Namelist : natadd' 159 WRITE(numout,*) ' frequency of outputs for additional arrays nwritedia = ', nwritedia 160 DO jn = jp_pcs0_3d, jp_pcs1_3d 161 WRITE(numout,*) ' 3d output field No : ',jn 162 WRITE(numout,*) ' short name : ', TRIM(ctrc3d(jn)) 163 WRITE(numout,*) ' long name : ', TRIM(ctrc3l(jn)) 164 WRITE(numout,*) ' unit : ', TRIM(ctrc3u(jn)) 165 WRITE(numout,*) ' ' 166 END DO 167 168 DO jn = jp_pcs0_2d, jp_pcs1_2d 169 WRITE(numout,*) ' 2d output field No : ',jn 170 WRITE(numout,*) ' short name : ', TRIM(ctrc2d(jn)) 171 WRITE(numout,*) ' long name : ', TRIM(ctrc2l(jn)) 172 WRITE(numout,*) ' unit : ', TRIM(ctrc2u(jn)) 173 WRITE(numout,*) ' ' 174 END DO 175 ENDIF 176 #endif 177 110 178 END SUBROUTINE trc_lsm_pisces 111 179 -
trunk/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90
r1073 r1119 14 14 !!---------------------------------------------------------------------- 15 15 USE oce_trc ! 16 USE tr p_trc16 USE trc 17 17 USE sms_pisces 18 18 USE lbclnk
Note: See TracChangeset
for help on using the changeset viewer.