Changeset 6904 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_nam.F90
- Timestamp:
- 2016-09-01T12:17:31+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_nam.F90
r6901 r6904 47 47 !! ** Method : read in namusr_def containing all the user specific namelist parameter 48 48 !! 49 !! Here OVERFLOWconfiguration49 !! Here GYRE configuration 50 50 !! 51 51 !! ** input : - namusr_def namelist found in namelist_cfg … … 55 55 INTEGER , INTENT(out) :: kperio ! lateral global domain b.c. 56 56 ! 57 INTEGER :: ios ! Local integer57 INTEGER :: ios, ii ! Local integer 58 58 !! 59 59 NAMELIST/namusr_def/ ln_zco, ln_zps, ln_sco, rn_dx, rn_dz 60 60 !!---------------------------------------------------------------------- 61 ! 62 ii = 1 61 63 ! 62 64 REWIND( numnam_cfg ) ! Namelist namusr_def (exist in namelist_cfg only) … … 64 66 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namusr_def in configuration namelist', .TRUE. ) 65 67 ! 66 !!gm This does not work... I don't know how to write namusr_def in "output.namelist.dyn" 67 WRITE( ldnam(ii), namusr_def ) 68 !!gm 68 WRITE( ldnam(:), namusr_def ) 69 69 ! 70 ! Global Domain size: OVERFLOW domain is 200 km x 3 grid-points x 2000 m70 ! Global Domain size: OVERFLOW domain is 200 km x 3 grid-points x 2000 m 71 71 kpi = INT( 200.e3 / rn_dx ) + 2 72 72 kpj = 3 … … 78 78 WRITE(ldtxt(ii),*) '~~~~~~~~~~~ ' ; ii = ii + 1 79 79 WRITE(ldtxt(ii),*) ' Namelist namusr_def : OVERFLOW test case' ; ii = ii + 1 80 WRITE(ldtxt(ii),*) ' type of vertical coordinate : ' ; ii = ii + 180 WRITE(ldtxt(ii),*) ' type of vertical coordinate : ' ; ii = ii + 1 81 81 WRITE(ldtxt(ii),*) ' z-coordinate flag ln_zco = ', ln_zco ; ii = ii + 1 82 WRITE(ldtxt(ii),*) ' z-partial-step coordinate flag ln_zps = ', ln_ sco; ii = ii + 182 WRITE(ldtxt(ii),*) ' z-partial-step coordinate flag ln_zps = ', ln_zps ; ii = ii + 1 83 83 WRITE(ldtxt(ii),*) ' s-coordinate flag ln_sco = ', ln_sco ; ii = ii + 1 84 84 WRITE(ldtxt(ii),*) ' horizontal resolution rn_dx = ', rn_dx, ' meters' ; ii = ii + 1 85 85 WRITE(ldtxt(ii),*) ' vertical resolution rn_dz = ', rn_dz, ' meters' ; ii = ii + 1 86 WRITE(ldtxt(ii),*) ' OVERFLOW domain = 200 km x 3 grid-points x 2000 m'; ii = ii + 186 WRITE(ldtxt(ii),*) ' OVERFLOW domain = 3 grid-points x 200 km x 2000 m' ; ii = ii + 1 87 87 WRITE(ldtxt(ii),*) ' resulting global domain size : jpiglo = ', kpi ; ii = ii + 1 88 88 WRITE(ldtxt(ii),*) ' jpjglo = ', kpj ; ii = ii + 1 … … 90 90 ! 91 91 ! ! Set the lateral boundary condition of the global domain 92 kperio = 0 ! OVERFLOW configuration : close d domain92 kperio = 0 ! OVERFLOW configuration : close basin 93 93 ! 94 94 WRITE(ldtxt(ii),*) ' ' ; ii = ii + 1 95 95 WRITE(ldtxt(ii),*) ' Lateral boundary condition of the global domain' ; ii = ii + 1 96 WRITE(ldtxt(ii),*) ' closedjperio = ', kperio ; ii = ii + 196 WRITE(ldtxt(ii),*) ' east-west cyclic jperio = ', kperio ; ii = ii + 1 97 97 ! 98 98 END SUBROUTINE usr_def_nam
Note: See TracChangeset
for help on using the changeset viewer.