- Timestamp:
- 2015-12-17T16:48:41+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/step.F90
r5602 r6101 33 33 USE step_oce ! time stepping definition modules 34 34 USE iom 35 USE crs35 use wrk_nemo 36 36 37 37 IMPLICIT NONE … … 76 76 INTEGER :: indic ! error indicator if < 0 77 77 INTEGER :: kcall ! optional integer argument (dom_vvl_sf_nxt) 78 REAL(wp), POINTER, DIMENSION(:,:,:) :: zrhop,zrhd 79 78 80 !! --------------------------------------------------------------------- 79 81 … … 117 119 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 118 120 ! THERMODYNAMICS 119 !cbr not usedCALL eos_rab( tsb, rab_b ) ! before local thermal/haline expension ratio at T-points120 !cbr not usedCALL eos_rab( tsn, rab_n ) ! now local thermal/haline expension ratio at T-points121 CALL eos_rab( tsb, rab_b ) ! before local thermal/haline expension ratio at T-points 122 CALL eos_rab( tsn, rab_n ) ! now local thermal/haline expension ratio at T-points 121 123 CALL bn2 ( tsb, rab_b, rn2b ) ! before Brunt-Vaisala frequency 122 124 CALL bn2 ( tsn, rab_n, rn2 ) ! now Brunt-Vaisala frequency … … 169 171 CALL iom_put("rhd",rhd) 170 172 CALL iom_put("rn2b",rn2b) 173 CALL iom_put("rn2",rn2) 171 174 CALL ldf_slp( kstp, rhd, rn2b ) ! before slope for Madec operator 172 175 ENDIF … … 240 243 IF( ln_crs ) CALL crs_fld( kstp ) ! ocean model: online field coarsening & output 241 244 245 CALL wrk_alloc( jpi, jpj, jpk, zrhop, zrhd ) 246 CALL eos( tsn, zrhd, zrhop, fsdept_n(:,:,:) ) ! now in situ and potential density 247 zrhop(:,:,jpk) = 0._wp 248 CALL iom_put( 'rhop', zrhop ) 249 250 CALL wrk_dealloc( jpi, jpj, jpk, zrhop, zrhd ) 251 242 252 #if defined key_top 243 253 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 247 257 CALL dom_grid_crs 248 258 249 CALL eos_rab_crs( tsn_crs, rab_crs_n ) ! now local thermal/haline expension ratio at T-points250 CALL bn2_crs ( tsn_crs, rab_crs_n, rb2_crs ) ! now Brunt-Vaisala frequency259 !CALL eos_rab_crs( tsn_crs, rab_crs_n ) ! now local thermal/haline expension ratio at T-points 260 !CALL bn2_crs ( tsn_crs, rab_crs_n, rb2_crs ) ! now Brunt-Vaisala frequency 251 261 CALL eos_crs ( tsn_crs, rhd_crs, rhop_crs, gdept_crs(:,:,:) ) ! now in situ density for hpg computation 262 CALL iom_put("rhop_crs",rhop_crs) 263 CALL iom_put("rhd_crs",rhd_crs) 252 264 253 265 IF( ln_zps ) CALL zps_hde_crs( kstp, jpts, tsb_crs, gtsu_crs, gtsv_crs, rhd_crs, gru_crs, grv_crs ) … … 265 277 266 278 IF( ln_crs_top ) CALL dom_grid_glo 279 267 280 #endif 268 281
Note: See TracChangeset
for help on using the changeset viewer.