- Timestamp:
- 2020-07-01T15:01:22+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_1d_bugfixes_tocommit/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90
r11442 r13191 12 12 13 13 !!---------------------------------------------------------------------- 14 !! tra_bbc : update the tracer trend at ocean bottom 14 !! tra_bbc : update the tracer trend at ocean bottom 15 15 !! tra_bbc_init : initialization of geothermal heat flux trend 16 16 !!---------------------------------------------------------------------- … … 19 19 USE phycst ! physical constants 20 20 USE trd_oce ! trends: ocean variables 21 USE trdtra ! trends manager: tracers 21 USE trdtra ! trends manager: tracers 22 22 USE in_out_manager ! I/O manager 23 23 USE iom ! I/O manager … … 44 44 REAL(wp), PUBLIC, DIMENSION(:,:), ALLOCATABLE :: qgh_trd1 ! geothermal heating trend 45 45 TYPE(FLD), ALLOCATABLE, DIMENSION(:) :: sf_qgh ! structure of input qgh (file informations, fields read) 46 46 47 47 !! * Substitutions 48 48 # include "domzgr_substitute.h90" … … 58 58 !! *** ROUTINE tra_bbc *** 59 59 !! 60 !! ** Purpose : Compute the bottom boundary contition on temperature 61 !! associated with geothermal heating and add it to the 60 !! ** Purpose : Compute the bottom boundary contition on temperature 61 !! associated with geothermal heating and add it to the 62 62 !! general trend of temperature equations. 63 63 !! 64 !! ** Method : The geothermal heat flux set to its constant value of 64 !! ** Method : The geothermal heat flux set to its constant value of 65 65 !! 86.4 mW/m2 (Stein and Stein 1992, Huang 1999). 66 66 !! The temperature trend associated to this heat flux through the … … 92 92 ! ! Add the geothermal heat flux trend on temperature 93 93 94 #if defined key_traldf_c2d || key_traldf_c3d 94 95 IF( ln_stopack .AND. nn_spp_geot > 0) THEN 95 96 qgh_trd1(:,:) = qgh_trd0(:,:) 96 97 CALL spp_gen(kt, qgh_trd1, nn_spp_geot, rn_geot_sd, jk_spp_geot) 97 98 ENDIF 99 #else 100 IF ( ln_stopack .AND. nn_spp_geot > 0 ) & 101 & CALL ctl_stop( 'tra_bbc: parameter perturbation will only work with '// & 102 'key_traldf_c2d or key_traldf_c3d') 103 #endif 104 105 98 106 DO jj = 2, jpjm1 99 107 DO ji = 2, jpim1 … … 144 152 CHARACTER(len=256) :: cn_dir ! Root directory for location of ssr files 145 153 ! 146 NAMELIST/nambbc/ln_trabbc, nn_geoflx, rn_geoflx_cst, sn_qgh, cn_dir 154 NAMELIST/nambbc/ln_trabbc, nn_geoflx, rn_geoflx_cst, sn_qgh, cn_dir 147 155 !!---------------------------------------------------------------------- 148 156
Note: See TracChangeset
for help on using the changeset viewer.