- Timestamp:
- 2010-05-03T13:59:46+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limdia_2.F90
r1855 r1857 12 12 !! 'key_lim2' : LIM 2.0 sea-ice model 13 13 !!---------------------------------------------------------------------- 14 !!---------------------------------------------------------------------- 14 15 !! lim_dia_2 : computation of the time evolution of keys var. 15 16 !! lim_dia_init_2 : initialization and namelist read … … 27 28 PRIVATE 28 29 29 PUBLIC lim_dia_2 ! called by sbc_ice_lim_2 30 31 INTEGER, PUBLIC :: ntmoy = 1 !: instantaneous values of ice evolution or averaging ntmoy 32 INTEGER, PUBLIC :: ninfo = 1 !: frequency of ouputs on file ice_evolu in case of averaging 33 34 ! !!! Parameters for outputs to files "evolu" 35 INTEGER, PARAMETER :: jpinfmx = 100 ! maximum number of key variables 36 INTEGER, PARAMETER :: jpchinf = 5 ! ??? 37 INTEGER, PARAMETER :: jpchsep = jpchinf + 2 ! ??? 38 39 INTEGER :: nfrinf = 4 ! number of variables written in one line 40 INTEGER :: nferme ! last time step at which the var. are written on file 41 INTEGER :: nvinfo ! number of total variables 42 INTEGER :: nbvt ! number of time variables 43 INTEGER :: naveg ! number of step for accumulation before averaging 44 45 CHARACTER(len= 8) :: fmtinf = '1PE13.5 ' ! format of the output values 46 CHARACTER(len=30) :: fmtw, fmtr, fmtitr ! various formats 47 CHARACTER(len=jpchsep), DIMENSION(jpinfmx) :: titvar ! title of key variables 30 PUBLIC lim_dia_2 ! called by sbc_ice_lim_2 31 INTEGER, PUBLIC :: ntmoy = 1 , & !: instantaneous values of ice evolution or averaging ntmoy 32 & ninfo = 1 !: frequency of ouputs on file ice_evolu in case of averaging 33 34 INTEGER, PARAMETER :: & ! Parameters for outputs to files "evolu" 35 jpinfmx = 100 , & ! maximum number of key variables 36 jpchinf = 5 , & ! ??? 37 jpchsep = jpchinf + 2 ! ??? 38 39 INTEGER :: & 40 nfrinf = 4 , & ! number of variables written in one line 41 nferme , & ! last time step at which the var. are written on file 42 nvinfo , & ! number of total variables 43 nbvt , & ! number of time variables 44 naveg ! number of step for accumulation before averaging 45 46 CHARACTER(len= 8) :: fmtinf = '1PE13.5 ' ! format of the output values 47 CHARACTER(len=30) :: fmtw , & ! formats 48 & fmtr , & ! ??? 49 & fmtitr ! ??? 50 CHARACTER(len=jpchsep), DIMENSION(jpinfmx) :: titvar ! title of key variables 48 51 49 52 REAL(wp) :: epsi06 = 1.e-06 ! ??? … … 54 57 # include "vectopt_loop_substitute.h90" 55 58 !!---------------------------------------------------------------------- 56 !! NEMO/LIM 3.3, UCL-LOCEAN-IPSL (2010)59 !! LIM 2.0, UCL-LOCEAN-IPSL (2005) 57 60 !! $Id$ 58 61 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) … … 68 71 !! the temporal evolution of some key variables 69 72 !!------------------------------------------------------------------- 70 INTEGER, INTENT(in) :: kt ! number of iteration73 INTEGER, INTENT(in) :: kt ! number of iteration 71 74 !! 72 75 INTEGER :: jv,ji, jj ! dummy loop indices 73 76 INTEGER :: nv ! indice of variable 74 REAL(wp) :: zarea , zldarea 75 REAL(wp) :: zextent15, zextent85! sea-ice extent (15% and 85%)76 REAL(wp) :: zicevol , zsnwvol! sea-ice and snow volume volume77 REAL(wp) ::zicespd ! sea-ice velocity77 REAL(wp) :: zarea , zldarea , & ! sea-ice and leads area 78 & zextent15, zextent85, & ! sea-ice extent (15% and 85%) 79 & zicevol , zsnwvol , & ! sea-ice and snow volume volume 80 & zicespd ! sea-ice velocity 78 81 REAL(wp), DIMENSION(jpinfmx) :: vinfor ! temporary working space 79 82 !!------------------------------------------------------------------- … … 117 120 vinfor(nv+13) = SQRT( vinfor(nv+13) / MAX( vinfor(nv+9) , epsi06 ) ) 118 121 122 119 123 ! variables in southern Hemis 120 124 nv = nv + 1 … … 173 177 INTEGER :: nv ! indice of variable 174 178 REAL(wp) :: zxx0, zxx1 ! temporary scalars 175 !! 179 176 180 NAMELIST/namicedia/fmtinf, nfrinf, ninfo, ntmoy 177 181 !!------------------------------------------------------------------- 178 182 179 REWIND ( numnam_ice ) ! Read Namelist namicedia 183 ! Read Namelist namicedia 184 REWIND ( numnam_ice ) 180 185 READ ( numnam_ice , namicedia ) 181 186 182 IF(lwp) THEN ! control print187 IF(lwp) THEN 183 188 WRITE(numout,*) 184 189 WRITE(numout,*) 'lim_dia_init_2 : ice parameters for ice diagnostics ' … … 269 274 !! Default option : NO LIM 2.0 sea-ice model 270 275 !!---------------------------------------------------------------------- 276 CONTAINS 277 SUBROUTINE lim_dia_2 ! Empty routine 278 END SUBROUTINE lim_dia_2 271 279 #endif 272 280
Note: See TracChangeset
for help on using the changeset viewer.