Changeset 2715 for trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/p4zint.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/p4zint.F90
r2528 r2715 21 21 22 22 PUBLIC p4z_int 23 PUBLIC p4z_int_alloc 23 24 24 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: 25 tgfunc, & !: Temp. dependancy of various biological rates 26 tgfunc2 !: Temp. dependancy of mesozooplankton rates 25 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: tgfunc !: Temp. dependancy of various biological rates 26 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: tgfunc2 !: Temp. dependancy of mesozooplankton rates 27 27 28 !! * Module variables 29 REAL(wp) :: & 30 xksilim = 16.5E-6 ! Half-saturation constant for the computation of the Si half-saturation constant 31 28 REAL(wp) :: xksilim = 16.5e-6_wp ! Half-saturation constant for the Si half-saturation constant computation 32 29 33 30 !!---------------------------------------------------------------------- 34 31 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 35 32 !! $Id$ 36 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)33 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 37 34 !!---------------------------------------------------------------------- 38 39 35 CONTAINS 40 36 … … 47 43 !! ** Method : - ??? 48 44 !!--------------------------------------------------------------------- 49 !!50 45 INTEGER :: ji, jj 51 46 REAL(wp) :: zdum … … 54 49 ! Computation of phyto and zoo metabolic rate 55 50 ! ------------------------------------------- 56 57 51 tgfunc (:,:,:) = EXP( 0.063913 * tsn(:,:,:,jp_tem) ) 58 52 tgfunc2(:,:,:) = EXP( 0.07608 * tsn(:,:,:,jp_tem) ) … … 61 55 ! constant for silica uptake 62 56 ! --------------------------------------------------- 63 64 57 DO ji = 1, jpi 65 58 DO jj = 1, jpj … … 68 61 END DO 69 62 END DO 70 63 ! 71 64 IF( nday_year == nyear_len(1) ) THEN 72 65 xksi = xksimax 73 xksimax = 0. e066 xksimax = 0._wp 74 67 ENDIF 75 68 ! 76 69 END SUBROUTINE p4z_int 70 71 72 INTEGER FUNCTION p4z_int_alloc() 73 !!---------------------------------------------------------------------- 74 !! *** ROUTINE p4z_int_alloc *** 75 !!---------------------------------------------------------------------- 76 ALLOCATE( tgfunc(jpi,jpj,jpk), tgfunc2(jpi,jpj,jpk), STAT=p4z_int_alloc ) 77 ! 78 IF( p4z_int_alloc /= 0 ) CALL ctl_warn('p4z_int_alloc : failed to allocate arrays.') 79 ! 80 END FUNCTION p4z_int_alloc 77 81 78 82 #else
Note: See TracChangeset
for help on using the changeset viewer.