- Timestamp:
- 2013-04-18T16:38:06+02:00 (11 years ago)
- Location:
- branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90
r3625 r3875 708 708 NAMELIST/nameos/ nn_eos, rn_alpha, rn_beta 709 709 !!---------------------------------------------------------------------- 710 ! 711 REWIND( numnam ) ! Read Namelist nameos : equation of state 712 READ ( numnam, nameos ) 710 INTEGER :: ios 711 ! 712 REWIND( numnam_ref ) ! Namelist nameos in reference namelist : equation of state 713 READ ( numnam_ref, nameos, IOSTAT = ios, ERR = 901 ) 714 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in reference namelist', lwp ) 715 716 REWIND( numnam_cfg ) ! Namelist nameos in configuration namelist : equation of state 717 READ ( numnam_cfg, nameos, IOSTAT = ios, ERR = 902 ) 718 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nameos in configuration namelist', lwp ) 719 WRITE( numond, nameos ) 713 720 ! 714 721 IF(lwp) THEN ! Control print -
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/traadv.F90
r3718 r3875 151 151 !!---------------------------------------------------------------------- 152 152 INTEGER :: ioptio 153 INTEGER :: ios ! Local integer output status for namelist read 153 154 !! 154 155 NAMELIST/namtra_adv/ ln_traadv_cen2 , ln_traadv_tvd, & … … 158 159 !!---------------------------------------------------------------------- 159 160 160 REWIND( numnam ) ! Read Namelist namtra_adv : tracer advection scheme 161 READ ( numnam, namtra_adv ) 161 REWIND( numnam_ref ) ! Namelist namtra_adv in reference namelist : Tracer advection scheme 162 READ ( numnam_ref, namtra_adv, IOSTAT = ios, ERR = 901) 163 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_adv in reference namelist', lwp ) 164 165 REWIND( numnam_cfg ) ! Namelist namtra_adv in configuration namelist : Tracer advection scheme 166 READ ( numnam_cfg, namtra_adv, IOSTAT = ios, ERR = 902 ) 167 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_adv in configuration namelist', lwp ) 168 WRITE ( numond, namtra_adv ) 162 169 163 170 IF(lwp) THEN ! Namelist print -
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90
r3625 r3875 129 129 INTEGER :: ji, jj ! dummy loop indices 130 130 INTEGER :: inum ! temporary logical unit 131 INTEGER :: ios ! Local integer output status for namelist read 131 132 !! 132 133 NAMELIST/nambbc/ln_trabbc, nn_geoflx, rn_geoflx_cst 133 134 !!---------------------------------------------------------------------- 134 135 135 REWIND( numnam ) ! Read Namelist nambbc : bottom momentum boundary condition 136 READ ( numnam, nambbc ) 136 REWIND( numnam_ref ) ! Namelist nambbc in reference namelist : Bottom momentum boundary condition 137 READ ( numnam_ref, nambbc, IOSTAT = ios, ERR = 901) 138 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambbc in reference namelist', lwp ) 139 140 REWIND( numnam_cfg ) ! Namelist nambbc in configuration namelist : Bottom momentum boundary condition 141 READ ( numnam_cfg, nambbc, IOSTAT = ios, ERR = 902 ) 142 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambbc in configuration namelist', lwp ) 143 WRITE ( numond, nambbc ) 137 144 138 145 IF(lwp) THEN ! Control print -
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/trabbl.F90
r3764 r3875 560 560 INTEGER :: ji, jj ! dummy loop indices 561 561 INTEGER :: ii0, ii1, ij0, ij1 ! temporary integer 562 INTEGER :: ios ! Local integer output status for namelist read 562 563 REAL(wp), POINTER, DIMENSION(:,:) :: zmbk 563 564 !! … … 570 571 ! 571 572 572 REWIND ( numnam ) !* Read Namelist nambbl : bottom boundary layer scheme 573 READ ( numnam, nambbl ) 573 REWIND( numnam_ref ) ! Namelist nambbl in reference namelist : Bottom boundary layer scheme 574 READ ( numnam_ref, nambbl, IOSTAT = ios, ERR = 901) 575 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambbl in reference namelist', lwp ) 576 577 REWIND( numnam_cfg ) ! Namelist nambbl in configuration namelist : Bottom boundary layer scheme 578 READ ( numnam_cfg, nambbl, IOSTAT = ios, ERR = 902 ) 579 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nambbl in configuration namelist', lwp ) 580 WRITE ( numond, nambbl ) 574 581 ! 575 582 l_bbl = .TRUE. !* flag to compute bbl coef and transport -
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/tradmp.F90
r3294 r3875 194 194 !!---------------------------------------------------------------------- 195 195 NAMELIST/namtra_dmp/ ln_tradmp, nn_hdmp, nn_zdmp, rn_surf, rn_bot, rn_dep, nn_file 196 !!---------------------------------------------------------------------- 197 198 REWIND ( numnam ) ! Read Namelist namtra_dmp : temperature and salinity damping term 199 READ ( numnam, namtra_dmp ) 196 INTEGER :: ios ! Local integer output status for namelist read 197 !!---------------------------------------------------------------------- 198 199 REWIND( numnam_ref ) ! Namelist namtra_dmp in reference namelist : Temperature and salinity damping term 200 READ ( numnam_ref, namtra_dmp, IOSTAT = ios, ERR = 901) 201 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_dmp in reference namelist', lwp ) 202 203 REWIND( numnam_cfg ) ! Namelist namtra_dmp in configuration namelist : Temperature and salinity damping term 204 READ ( numnam_cfg, namtra_dmp, IOSTAT = ios, ERR = 902 ) 205 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_dmp in configuration namelist', lwp ) 206 WRITE ( numond, namtra_dmp ) 200 207 201 208 IF( lzoom ) nn_zdmp = 0 ! restoring to climatology at closed north or south boundaries -
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/TRA/traqsr.F90
r3680 r3875 315 315 !!---------------------------------------------------------------------- 316 316 ! 317 INTEGER :: ji, jj, jk ! dummy loop indices317 INTEGER :: ji, jj, jk ! dummy loop indices 318 318 INTEGER :: irgb, ierror, ioptio, nqsr ! local integer 319 INTEGER :: ios ! Local integer output status for namelist read 319 320 REAL(wp) :: zz0, zc0 , zc1, zcoef ! local scalars 320 321 REAL(wp) :: zz1, zc2 , zc3, zchl ! - - … … 342 343 sn_chl = FLD_N( 'chlorophyll' , -1 , 'CHLA' , .true. , .true. , 'yearly' , '' , '' ) 343 344 ! 344 REWIND( numnam ) ! Read Namelist namtra_qsr : ratio and length of penetration 345 READ ( numnam, namtra_qsr ) 345 346 REWIND( numnam_ref ) ! Namelist namtra_qsr in reference namelist : Ratio and length of penetration 347 READ ( numnam_ref, namtra_qsr, IOSTAT = ios, ERR = 901) 348 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in reference namelist', lwp ) 349 350 REWIND( numnam_cfg ) ! Namelist namtra_qsr in configuration namelist : Ratio and length of penetration 351 READ ( numnam_cfg, namtra_qsr, IOSTAT = ios, ERR = 902 ) 352 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtra_qsr in configuration namelist', lwp ) 353 WRITE ( numond, namtra_qsr ) 346 354 ! 347 355 IF(lwp) THEN ! control print
Note: See TracChangeset
for help on using the changeset viewer.