- Timestamp:
- 2017-09-15T20:07:33+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceadv.F90
r8518 r8531 42 42 INTEGER, PARAMETER :: np_advUMx = 2 ! Ultimate-Macho scheme 43 43 ! 44 ! ** namelist (nam ice_adv) **44 ! ** namelist (namdyn_adv) ** 45 45 LOGICAL :: ln_adv_Pra ! Prather advection scheme 46 46 LOGICAL :: ln_adv_UMx ! Ultimate-Macho advection scheme … … 132 132 !! dynamics 133 133 !! 134 !! ** Method : Read the nam ice_adv namelist and check the ice-dynamic134 !! ** Method : Read the namdyn_adv namelist and check the ice-dynamic 135 135 !! parameter values called at the first timestep (nit000) 136 136 !! 137 !! ** input : Namelist nam ice_adv137 !! ** input : Namelist namdyn_adv 138 138 !!------------------------------------------------------------------- 139 139 INTEGER :: ios, ioptio ! Local integer output status for namelist read 140 140 !! 141 NAMELIST/nam ice_adv/ ln_adv_Pra, ln_adv_UMx, nn_UMx141 NAMELIST/namdyn_adv/ ln_adv_Pra, ln_adv_UMx, nn_UMx 142 142 !!------------------------------------------------------------------- 143 143 ! 144 REWIND( numnam_ice_ref ) ! Namelist nam ice_adv in reference namelist : Ice dynamics145 READ ( numnam_ice_ref, nam ice_adv, IOSTAT = ios, ERR = 901)146 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam ice_adv in reference namelist', lwp )144 REWIND( numnam_ice_ref ) ! Namelist namdyn_adv in reference namelist : Ice dynamics 145 READ ( numnam_ice_ref, namdyn_adv, IOSTAT = ios, ERR = 901) 146 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in reference namelist', lwp ) 147 147 ! 148 REWIND( numnam_ice_cfg ) ! Namelist nam ice_adv in configuration namelist : Ice dynamics149 READ ( numnam_ice_cfg, nam ice_adv, IOSTAT = ios, ERR = 902 )150 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam ice_adv in configuration namelist', lwp )151 IF(lwm) WRITE ( numoni, nam ice_adv )148 REWIND( numnam_ice_cfg ) ! Namelist namdyn_adv in configuration namelist : Ice dynamics 149 READ ( numnam_ice_cfg, namdyn_adv, IOSTAT = ios, ERR = 902 ) 150 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namdyn_adv in configuration namelist', lwp ) 151 IF(lwm) WRITE ( numoni, namdyn_adv ) 152 152 ! 153 153 IF(lwp) THEN ! control print … … 155 155 WRITE(numout,*) 'ice_adv_init: ice parameters for ice dynamics ' 156 156 WRITE(numout,*) '~~~~~~~~~~~~' 157 WRITE(numout,*) ' Namelist nam ice_adv'158 WRITE(numout,*) ' type of advection scheme (Prather) 159 WRITE(numout,*) ' type of advection scheme (Ulimate-Macho) 160 WRITE(numout,*) ' order of the Ultimate-Macho scheme nn_UMx= ', nn_UMx157 WRITE(numout,*) ' Namelist namdyn_adv:' 158 WRITE(numout,*) ' type of advection scheme (Prather) ln_adv_Pra = ', ln_adv_Pra 159 WRITE(numout,*) ' type of advection scheme (Ulimate-Macho) ln_adv_UMx = ', ln_adv_UMx 160 WRITE(numout,*) ' order of the Ultimate-Macho scheme nn_UMx = ', nn_UMx 161 161 ENDIF 162 162 !
Note: See TracChangeset
for help on using the changeset viewer.