Changes between Version 2 and Version 3 of ticket/1608_CNRS0_NOC1_ZDF
- Timestamp:
- 2015-10-17T12:12:58+02:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/1608_CNRS0_NOC1_ZDF
v2 v3 26 26 '''Strategy''' 27 27 28 ''' I. ZDF simplification'''28 ''' I. ZDF simplification''' 29 29 30 30 '''(I.1) zdfddm (double diffusion)'''[[BR]] - systematic allocation of avs. Allow the suppression of zdfddm_substitute.h90 and the removal of key_zdfddm[[BR]] - addition of an namelist parameter to control the activation of zdfddm (ln_zdfddm) … … 32 32 '''(I.2) zdfphy (manager of the vertical physics)'''[[BR]] - zdfphy.F90 contains two things: ''zdf_phy_init'' a subroutine that initializes the vertical physics (formerly zdf_init routine found in zdfini.F90) and zdf_phy a subroutine (called by step) that contains all the step.F90 lines associated with vertical physics update at each time step.[[BR]] - zdf_phy subroutine becomes the only place where lbc_lnk ==>>> suppression of all lbc_lnk in zdf_xx.F90 modules 33 33 34 '''(I.3) zdfxxx (all the modules of vertical physics)'''[[BR]] - replace all CPP keys associated with vertical physics (key_zdfxxx) and their corresponding logicals (lk_zdfxxx) by namelist logicals (ln_zdfxxx) [[BR]] - keep only avm, avt and avs : remove avmu, avmv from all zdfxxx.F90 modules (also avmu_k and avmv_k in zdfgls.F90 and zdftke.F90) [[BR]]- [[BR]]- Specific points: [[BR]] zdftke : remove C1D diag from zdftke.F90[[BR]] zdftke :remame apdlr into a more explicit name: r1_Prt (=1/(Prandtl number) )[[BR]] zdftke & zdfgls : add the allocation of common arrays (en, avt_k, avm_k) [[BR]] zdftke & zdfgls : initialization part, set avt_k and avm_k, NOT avt & avm[[BR]] zdftke & zdfgls : move the call to tie_rst and gls_rst from step into their respective subroutine (zdf_tke and zdf_gls)34 '''(I.3) zdfxxx (all the modules of vertical physics)'''[[BR]] - replace all CPP keys associated with vertical physics (key_zdfxxx) and their corresponding logicals (lk_zdfxxx) by namelist logicals (ln_zdfxxx) [[BR]] - keep only avm, avt and avs : remove avmu, avmv from all zdfxxx.F90 modules (also avmu_k and avmv_k in zdfgls.F90 and zdftke.F90) [[BR]]- 35 35 36 ''' [[BR]] II. ''' 36 '''(I.4) zdftke & zdfgls '''[[BR]]- remove from both TKE and GLS the computation of shear production and destruction by stratification (terms which depends on the temporal and spatial discretization of the ocean model), add a routine that compute them called in both zdf_tke and zdf_gls[[BR]] 37 38 '''Specific points''': [[BR]] zdftke : remove C1D diag from zdftke.F90[[BR]] zdftke :remame apdlr into a more explicit name: r1_Prt (=1/(Prandtl number) )[[BR]] zdftke & zdfgls : add the allocation of common arrays (en, avt_k, avm_k) [[BR]] zdftke & zdfgls : initialization part, set avt_k and avm_k, NOT avt & avm[[BR]] zdftke & zdfgls : move the call to tie_rst and gls_rst from step into their respective subroutine (zdf_tke and zdf_gls) 39 40 ''' [[BR]] II. ''' 37 41 38 42 '''(II.1)''' … … 46 50 '''Pending issues''' : 47 51 48 • GLS and agrif: 52 • GLS and agrif: need of implementing modifications similar to those introduced by Seb in TKE case 49 53 50 54 '''Testing'''