MODULE trcini_pisces !!====================================================================== !! *** MODULE trcini_pisces *** !! TOP : initialisation of the PISCES biochemical model !!====================================================================== !! History : - ! 1988-07 (E. Maier-Reiner) Original code !! - ! 1999-10 (O. Aumont, C. Le Quere) !! - ! 2002 (O. Aumont) PISCES !! 1.0 ! 2005-03 (O. Aumont, A. El Moussaoui) F90 !! 2.0 ! 2007-12 (C. Ethe, G. Madec) from trcini.pisces.h90 !!---------------------------------------------------------------------- #if defined key_pisces !!---------------------------------------------------------------------- !! 'key_pisces' PISCES bio-model !!---------------------------------------------------------------------- !! trc_ini_pisces : PISCES biochemical model initialisation !!---------------------------------------------------------------------- USE par_trc ! TOP parameters USE sms ! Source Minus Sink variables USE oce_trc ! ocean variables USE trp_trc ! USE p4zche IMPLICIT NONE PRIVATE PUBLIC trc_ini_pisces ! called by trcini.F90 module # include "domzgr_substitute.h90" # include "top_substitute.h90" !!---------------------------------------------------------------------- !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007) !! $Id: trcini_pisces.F90 776 2007-12-19 14:10:14Z gm $ !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) !!---------------------------------------------------------------------- CONTAINS SUBROUTINE trc_ini_pisces !!---------------------------------------------------------------------- !! *** ROUTINE trc_ini_pisces *** !! !! ** Purpose : Initialisation of the PISCES biochemical model !!---------------------------------------------------------------------- INTEGER :: jk !!---------------------------------------------------------------------- IF(lwp) WRITE(numout,*) IF(lwp) WRITE(numout,*) ' trc_ini_pisces : PISCES biochemical model initialisation' IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' ! ! Time-step rfact = rdttra(1) * float(ndttrc) ! --------- rfactr = 1. / rfact rfact2 = rfact / float(nrdttrc) rfact2r = 1. / rfact2 IF(lwp) WRITE(numout,*) ' Tracer time step rfact = ', rfact, ' rdt = ', rdt IF(lwp) write(numout,*) ' Biology time step rfact2 = ', rfact2 !---------------------------------------------------------------------- ! Initialize biological variables !---------------------------------------------------------------------- ! Set biological ratios ! --------------------- rno3 = (16.+2.) / 122. po4r = 1.e0 / 122. o2nit = 32. / 122. rdenit = 97.6 / 16. o2ut = 140. / 122. CALL p4z_che ! initialize the chemical constants ndayflxtr = 0 ! Initialize a counter for the computation of chemistry IF(lwp) WRITE(numout,*) ' Initialisation of PISCES done' ! END SUBROUTINE trc_ini_pisces #else !!---------------------------------------------------------------------- !! Dummy module No PISCES biochemical model !!---------------------------------------------------------------------- CONTAINS SUBROUTINE trc_ini_pisces ! Empty routine END SUBROUTINE trc_ini_pisces #endif !!====================================================================== END MODULE trcini_pisces