- Timestamp:
- 2013-11-04T12:51:55+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/LIM_SRC_2/limdmp_2.F90
r3635 r4147 97 97 INTEGER :: ji, jj, jk ! dummy loop indices 98 98 INTEGER :: irelax, ierror ! error flag for allocation 99 INTEGER :: ios ! Local integer output status for namelist read 99 100 ! 100 101 REAL(wp) :: zdmpmax, zdmpmin, zfactor, zreltim ! temporary scalar … … 109 110 ! 1) initialize fld read structure for input data 110 111 ! -------------------------------------------- 111 ln_limdmp = .false. !* set file information (default values) 112 cn_dir = './' 113 ! (NB: frequency positive => hours, negative => months) 114 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 115 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 116 sn_hicif = FLD_N( 'ice_damping ', -1 , 'hicif' , .true. , .true. , 'yearly' , '' , '' ) 117 sn_frld = FLD_N( 'ice_damping ', -1 , 'frld' , .true. , .true. , 'yearly' , '' , '' ) 112 113 REWIND( numnam_ice_ref ) ! Namelist namice_dmp in reference namelist : Ice restoring 114 READ ( numnam_ice_ref, namice_dmp, IOSTAT = ios, ERR = 901) 115 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_dmp in reference namelist', lwp ) 118 116 119 REWIND( numnam_ice ) !* read in namelist_ice namicedmp 120 READ ( numnam_ice, namice_dmp ) 117 REWIND( numnam_ice_cfg ) ! Namelist namice_dmp in configuration namelist : Ice restoring 118 READ ( numnam_ice_cfg, namice_dmp, IOSTAT = ios, ERR = 902 ) 119 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namice_dmp in configuration namelist', lwp ) 120 WRITE ( numoni, namice_dmp ) 121 121 ! 122 122 IF ( lwp ) THEN !* control print
Note: See TracChangeset
for help on using the changeset viewer.