Changeset 2528 for trunk/NEMOGCM/NEMO/LIM_SRC_2/iceini_2.F90
- Timestamp:
- 2010-12-27T18:33:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_2/iceini_2.F90
- Property svn:eol-style deleted
r1581 r2528 6 6 !! History : 1.0 ! 02-08 (G. Madec) F90: Free form and modules 7 7 !! 2.0 ! 03-08 (C. Ethe) add ice_run 8 !! 3.3 ! 09-05 (G.Garric, C. Bricaud) addition of the lim2_evp case 8 9 !!---------------------------------------------------------------------- 9 10 #if defined key_lim2 … … 15 16 !! ice_run_2 : Definition some run parameter for ice model 16 17 !!---------------------------------------------------------------------- 17 USE dom_oce 18 USE dom_ice_2 19 USE sbc_oce ! surface boundary condition: ocean20 USE sbc_ice ! surface boundary condition: ice21 USE phycst ! Define parameters for the routines22 USE ice_2 23 USE limmsh_2 24 USE limistate_2 25 USE limrst_2 26 USE in_out_manager 18 USE dom_oce ! ocean domain 19 USE dom_ice_2 ! LIM2: ice domain 20 USE sbc_oce ! surface boundary condition: ocean 21 USE sbc_ice ! surface boundary condition: ice 22 USE phycst ! Define parameters for the routines 23 USE ice_2 ! LIM2: ice variable 24 USE limmsh_2 ! LIM2: mesh 25 USE limistate_2 ! LIM2: initial state 26 USE limrst_2 ! LIM2: restart 27 USE in_out_manager ! I/O manager 27 28 28 29 IMPLICIT NONE … … 32 33 33 34 !!---------------------------------------------------------------------- 34 !! LIM 2.0, UCL-LOCEAN-IPSL (2005)35 !! NEMO/LIM2 3.3 , UCL - NEMO Consortium (2010) 35 36 !! $Id$ 36 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt37 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 37 38 !!---------------------------------------------------------------------- 38 39 39 CONTAINS 40 40 … … 43 43 !! *** ROUTINE ice_init_2 *** 44 44 !! 45 !! ** purpose : 45 !! ** purpose : initialisation of LIM-2 domain and variables 46 46 !!---------------------------------------------------------------------- 47 47 ! 48 ! Open the namelist file 49 CALL ctl_opn( numnam_ice, 'namelist_ice', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 50 CALL ice_run_2 ! read in namelist some run parameters 51 52 ! Louvain la Neuve Ice model 53 rdt_ice = nn_fsbc * rdttra(1) 54 55 CALL lim_msh_2 ! ice mesh initialization 56 57 ! Initial sea-ice state 58 IF( .NOT.ln_rstart ) THEN 59 CALL lim_istate_2 ! start from rest: sea-ice deduced from sst 60 ELSE 61 CALL lim_rst_read_2 ! start from a restart file 48 ! ! Open the namelist file 49 CALL ctl_opn( numnam_ice, 'namelist_ice', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 50 ! 51 CALL ice_run_2 ! read in namelist some run parameters 52 ! 53 rdt_ice = nn_fsbc * rdttra(1) ! sea-ice time step 54 numit = nit000 - 1 55 ! 56 CALL lim_msh_2 ! ice mesh initialization 57 ! 58 ! ! Initial sea-ice state 59 IF( .NOT.ln_rstart ) THEN ; CALL lim_istate_2 ! start from rest: sea-ice deduced from sst 60 ELSE ; CALL lim_rst_read_2 ! start from a restart file 62 61 ENDIF 63 64 tn_ice(:,:,1) = sist(:,:) 65 fr_i (:,:) = 1.0 - frld(:,:) ! initialisation of sea-ice fraction62 ! 63 tn_ice(:,:,1) = sist(:,:) ! initialisation of ice temperature 64 fr_i (:,:) = 1.0 - frld(:,:) ! initialisation of sea-ice fraction 66 65 ! 67 66 END SUBROUTINE ice_init_2 … … 82 81 !!------------------------------------------------------------------- 83 82 ! 84 REWIND ( numnam_ice )! Read Namelist namicerun85 READ 86 87 IF(lwp) THEN 83 REWIND( numnam_ice ) ! Read Namelist namicerun 84 READ ( numnam_ice , namicerun ) 85 ! 86 IF(lwp) THEN ! control print 88 87 WRITE(numout,*) 89 88 WRITE(numout,*) 'ice_run : ice share parameters for dynamics/advection/thermo of sea-ice'
Note: See TracChangeset
for help on using the changeset viewer.