- 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/module_example
r2737 r3875 157 157 !!---------------------------------------------------------------------- 158 158 INTEGER :: ji, jj, jk, jit ! dummy loop indices 159 INTEGER :: ios ! Local integer output status for namelist read 159 160 !! 160 161 NAMELIST/namexa/ exa_v1, exa_v2, nexa_0, sn_ex … … 164 165 sn_ex%nfreqh = 2 165 166 ! 166 REWIND( numnam ) ! Read Namelist namexa : example parameters 167 READ ( numnam, namexa ) 167 REWIND( numnam_ref ) ! Namelist namexa in reference namelist : Example 168 READ ( numnam_ref, namexa, IOSTAT = ios, ERR = 901) 169 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namexa in reference namelist', lwp ) 170 171 REWIND( numnam_cfg ) ! Namelist namexa in configuration namelist : Example 172 READ ( numnam_cfg, namexa, IOSTAT = ios, ERR = 902 ) 173 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namexa in configuration namelist', lwp ) 174 ! Output namelist for control 175 WRITE ( numond, namexa ) 168 176 ! 169 177 IF(lwp) THEN ! Control print
Note: See TracChangeset
for help on using the changeset viewer.