- Timestamp:
- 2013-11-04T12:51:55+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90
r3625 r4147 31 31 PUBLIC tra_bbc_init ! routine called by opa.F90 32 32 33 ! 34 LOGICAL, PUBLIC :: ln_trabbc = .FALSE.!: Geothermal heat flux flag35 INTEGER :: nn_geoflx = 1! Geothermal flux (=1:constant flux, =2:read in file )36 REAL(wp) :: rn_geoflx_cst = 86.4e-3_wp! Constant value of geothermal heat flux33 ! !!* Namelist nambbc: bottom boundary condition * 34 LOGICAL, PUBLIC :: ln_trabbc !: Geothermal heat flux flag 35 INTEGER :: nn_geoflx ! Geothermal flux (=1:constant flux, =2:read in file ) 36 REAL(wp) :: rn_geoflx_cst ! Constant value of geothermal heat flux 37 37 38 38 REAL(wp), PUBLIC, DIMENSION(:,:), ALLOCATABLE :: qgh_trd0 ! geothermal heating trend … … 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
Note: See TracChangeset
for help on using the changeset viewer.