- Timestamp:
- 2016-11-06T17:31:33+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/TOOLS/DOMAINcfg/src/domain.f90
r7189 r7200 379 379 !! ocean configuration. 380 380 !! 381 !! ** output file : domain_cfg.nc : domain size, characteristics, 382 ! horizontal mesh,383 !! Coriolis parameter, depth and vertical384 ! scale factors381 !! ** output file : domain_cfg.nc : domain size, characteristics,horizontal mesh, 382 !! Coriolis parameter, and vertical scale factors 383 !! NB: also contains ORCA family information (if cp_cfg = "ORCA") 384 !! and depths (ln_e3_dep=F) 385 385 !!---------------------------------------------------------------------- 386 386 INTEGER :: ji, jj, jk ! dummy loop indices … … 402 402 CALL iom_open( TRIM(clnam), inum, ldwrt = .TRUE., kiolib = jprstlib ) 403 403 404 ! 405 ! !== ORCA family specificities ==! 406 IF( cp_cfg == "ORCA" ) THEN 407 CALL iom_rstput( 0, 0, inum, 'ORCA' , 1._wp , ktype = jp_i4 ) 408 CALL iom_rstput( 0, 0, inum, 'ORCA_index', REAL( jp_cfg, wp), ktype = jp_i4 ) 409 ENDIF 404 410 ! !== global domain size ==! 405 411 ! … … 456 462 CALL iom_rstput( 0, 0, inum, 'e3w_1d' , e3w_1d , ktype = jp_r8 ) 457 463 ! 458 IF(.NOT.ln_e2_dep ) THEN ! depth (t- & w-points)459 CALL iom_rstput( 0, 0, inum, 'gdept_1d', gdept_1d, ktype = jp_r8 ) ! required only with460 CALL iom_rstput( 0, 0, inum, 'gdepw_1d', gdepw_1d, ktype = jp_r8 ) ! the old e3. definition461 CALL iom_rstput( 0, 0, inum, 'gdept_0' , gdept_0 , ktype = jp_r8 )462 CALL iom_rstput( 0, 0, inum, 'gdepw_0' , gdepw_0 , ktype = jp_r8 )463 ENDIF464 !465 464 CALL iom_rstput( 0, 0, inum, 'e3t_0' , e3t_0 , ktype = jp_r8 ) ! vertical scale factors (e 466 465 CALL iom_rstput( 0, 0, inum, 'e3u_0' , e3u_0 , ktype = jp_r8 ) … … 470 469 CALL iom_rstput( 0, 0, inum, 'e3uw_0' , e3uw_0 , ktype = jp_r8 ) 471 470 CALL iom_rstput( 0, 0, inum, 'e3vw_0' , e3vw_0 , ktype = jp_r8 ) 471 ! 472 IF(.NOT.ln_e3_dep ) THEN ! depth (t- & w-points) 473 CALL iom_rstput( 0, 0, inum, 'gdept_1d', gdept_1d, ktype = jp_r8 ) ! required only with 474 CALL iom_rstput( 0, 0, inum, 'gdepw_1d', gdepw_1d, ktype = jp_r8 ) ! the old e3. definition 475 CALL iom_rstput( 0, 0, inum, 'gdept_0' , gdept_0 , ktype = jp_r8 ) 476 CALL iom_rstput( 0, 0, inum, 'gdepw_0' , gdepw_0 , ktype = jp_r8 ) 477 ENDIF 472 478 ! 473 479 ! !== ocean top and bottom level ==!
Note: See TracChangeset
for help on using the changeset viewer.