- Timestamp:
- 2013-04-18T16:38:06+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90
r3764 r3875 99 99 !!---------------------------------------------------------------------- 100 100 INTEGER :: ioptio, ibat ! local integer 101 INTEGER :: ios 101 102 ! 102 103 NAMELIST/namzgr/ ln_zco, ln_zps, ln_sco … … 105 106 IF( nn_timing == 1 ) CALL timing_start('dom_zgr') 106 107 ! 107 REWIND( numnam ) ! Read Namelist namzgr : vertical coordinate' 108 READ ( numnam, namzgr ) 108 REWIND( numnam_ref ) ! Namelist namzgr in reference namelist : Vertical coordinate 109 READ ( numnam_ref, namzgr, IOSTAT = ios, ERR = 901 ) 110 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr in reference namelist', lwp ) 111 112 REWIND( numnam_cfg ) ! Namelist namzgr in configuration namelist : Vertical coordinate 113 READ ( numnam_cfg, namzgr, IOSTAT = ios, ERR = 902 ) 114 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr in configuration namelist', lwp ) 115 WRITE ( numond, namzgr ) 109 116 110 117 IF(lwp) THEN ! Control print … … 1100 1107 INTEGER :: ji, jj, jk, jl ! dummy loop argument 1101 1108 INTEGER :: iip1, ijp1, iim1, ijm1 ! temporary integers 1109 INTEGER :: ios ! Local integer output status for namelist read 1102 1110 REAL(wp) :: zrmax, ztaper ! temporary scalars 1103 1111 ! … … 1112 1120 CALL wrk_alloc( jpi, jpj, zenv, ztmp, zmsk, zri, zrj, zhbat ) 1113 1121 ! 1114 REWIND( numnam ) ! Read Namelist namzgr_sco : sigma-stretching parameters 1115 READ ( numnam, namzgr_sco ) 1122 REWIND( numnam_ref ) ! Namelist namzgr_sco in reference namelist : Sigma-stretching parameters 1123 READ ( numnam_ref, namzgr_sco, IOSTAT = ios, ERR = 901) 1124 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr_sco in reference namelist', lwp ) 1125 1126 REWIND( numnam_cfg ) ! Namelist namzgr_sco in configuration namelist : Sigma-stretching parameters 1127 READ ( numnam_cfg, namzgr_sco, IOSTAT = ios, ERR = 902 ) 1128 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namzgr_sco in configuration namelist', lwp ) 1129 WRITE ( numond, namzgr_sco ) 1116 1130 1117 1131 IF(lwp) THEN ! control print 1118 1132 WRITE(numout,*) 1119 WRITE(numout,*) 'dom :zgr_sco : s-coordinate or hybrid z-s-coordinate'1133 WRITE(numout,*) 'domzgr_sco : s-coordinate or hybrid z-s-coordinate' 1120 1134 WRITE(numout,*) '~~~~~~~~~~~' 1121 1135 WRITE(numout,*) ' Namelist namzgr_sco'
Note: See TracChangeset
for help on using the changeset viewer.