Changeset 2477 for trunk/NEMO/LIM_SRC_3/iceini.F90
- Timestamp:
- 2010-12-17T14:42:51+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_3/iceini.F90
r1581 r2477 18 18 USE limmsh 19 19 USE limistate 20 USE limthd ! LIM: ice thermodynamics 21 USE limthd_sal ! LIM: ice thermodynamics: salinity 20 22 USE limrst 21 23 USE par_ice … … 26 28 PRIVATE 27 29 28 !! * Routine accessibility29 30 PUBLIC ice_init ! called by opa.F90 30 PUBLIC lim_itd_ini31 32 !! * Share Module variables33 INTEGER , PUBLIC :: & !:34 nstart , & !: iteration number of the begining of the run35 nlast , & !: iteration number of the end of the run36 nitrun , & !: number of iteration37 numit !: iteration number38 REAL(wp), PUBLIC :: & !:39 tpstot !: time of the run in seconds40 31 !!---------------------------------------------------------------------- 41 32 !! LIM 3.0, UCL-ASTR-LOCEAN-IPSL (2008) … … 61 52 62 53 CALL ice_run ! read in namelist some run parameters 63 64 ! Louvain la Neuve Ice model 65 IF( nacc == 1 ) THEN 66 rdt_ice = nn_fsbc * rdtmin 67 ELSE 68 rdt_ice = nn_fsbc * rdt 69 ENDIF 70 71 CALL lim_msh ! ice mesh initialization 72 73 CALL lim_itd_ini ! initialize the ice thickness 74 ! distribution 75 ! Initial sea-ice state 76 IF( .NOT.ln_rstart ) THEN 54 ! 55 CALL lim_thd_init ! namelist read ice thermodynics parameters 56 ! 57 CALL lim_thd_sal_init ! namelist read ice salinity parameters 58 ! 59 rdt_ice = nn_fsbc * rdttra(1) ! sea-ice timestep 60 ! 61 CALL lim_msh ! ice mesh initialization 62 ! 63 CALL lim_itd_ini ! initialize the ice thickness distribution 64 65 ! ! Initial sea-ice state 66 IF( .NOT.ln_rstart ) THEN ! start from rest 77 67 numit = 0 78 68 numit = nit000 - 1 79 CALL lim_istate ! start from rest: sea-ice deduced from sst 80 CALL lim_var_agg(1) ! aggregate category variables in 81 ! bulk variables 82 CALL lim_var_glo2eqv ! convert global variables in equivalent 83 ! variables 84 ELSE 85 CALL lim_rst_read ! start from a restart file 86 69 CALL lim_istate ! start from rest: sea-ice deduced from sst 70 CALL lim_var_agg(1) ! aggregate category variables in bulk variables 71 CALL lim_var_glo2eqv ! convert global variables in equivalent variables 72 ELSE ! start from a restart file 73 CALL lim_rst_read ! read the restart file 87 74 numit = nit000 - 1 88 CALL lim_var_agg(1) ! aggregate ice variables89 CALL lim_var_glo2eqv ! convert global var in equivalent variables90 ENDIF 91 75 CALL lim_var_agg(1) ! aggregate ice variables 76 CALL lim_var_glo2eqv ! convert global var in equivalent variables 77 ENDIF 78 ! 92 79 fr_i(:,:) = at_i(:,:) ! initialisation of sea-ice fraction 93 94 nstart = numit + nn_fsbc 95 nitrun = nitend - nit000 + 1 96 nlast = numit + nitrun 97 98 IF( nstock == 0 ) nstock = nlast + 180 ! 81 nstart = numit + nn_fsbc 82 nitrun = nitend - nit000 + 1 83 nlast = numit + nitrun 84 ! 85 IF( nstock == 0 ) nstock = nlast + 1 99 86 100 87 END SUBROUTINE ice_init
Note: See TracChangeset
for help on using the changeset viewer.