- Timestamp:
- 2013-10-17T15:10:59+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limcat_2D.F90
r4045 r4072 39 39 !! Local variables 40 40 INTEGER :: ji, jj, jk, jl ! dummy loop indices 41 INTEGER :: zjpi, zjpj, i_fill, jl0, ztest_1, ztest_2, ztest_3, ztest_4, ztests41 INTEGER :: ijpi, ijpj, i_fill, jl0, ztest_1, ztest_2, ztest_3, ztest_4, ztests 42 42 REAL(wp) :: zarg, zV, zconv 43 43 REAL(wp), DIMENSION(:,:), INTENT(in) :: zhti, zhts, zai ! input ice/snow variables … … 48 48 ! initialisation of variables 49 49 !-------------------------------------------------------------------- 50 zjpi = SIZE(zhti,1)51 zjpj = SIZE(zhti,2)52 zht_i(1: zjpi,1:zjpj,1:jpl) = 0.d053 zht_s(1: zjpi,1:zjpj,1:jpl) = 0.d054 za_i (1: zjpi,1:zjpj,1:jpl) = 0.d050 ijpi = SIZE(zhti,1) 51 ijpj = SIZE(zhti,2) 52 zht_i(1:ijpi,1:ijpj,1:jpl) = 0.d0 53 zht_s(1:ijpi,1:ijpj,1:jpl) = 0.d0 54 za_i (1:ijpi,1:ijpj,1:jpl) = 0.d0 55 55 56 56 !------------------------------------------------------------------------------------ … … 65 65 ! fulfills ice volume concervation between input and output (ztests=4) 66 66 !-------------------------------------------------------------------------------------- 67 IF(lwp) THEN68 WRITE(numout,*) '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ '69 WRITE(numout,*) 'lim_cat_2D : Distribute ice categories '70 WRITE(numout,*) ' of thick. = ', ( hi_max(jl), jl = 0, jpl )71 WRITE(numout,*) '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ '72 END IF73 !WRITE(numout,*) ' * zht_i_ini : ', ( zht_i_ini(1,1,jl), jl = 1, jpl )74 !WRITE(numout,*) ' * za_i_ini : ', ( za_i_ini(1,1,jl), jl = 1, jpl )75 67 76 68 ! ---------------------------------------- 77 69 ! distribution over the jpl ice categories 78 70 ! ---------------------------------------- 79 DO jj = 1, zjpj80 DO ji = 1, zjpi71 DO jj = 1, ijpj 72 DO ji = 1, ijpi 81 73 82 74 ! snow thickness in each category
Note: See TracChangeset
for help on using the changeset viewer.