Changeset 5274 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Oct 25, 2024, 3:41:23 PM (2 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 1 deleted
- 170 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/Dust/aeropt_spl.f90
r5271 r5274 11 11 USE infotrac 12 12 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 13 25 IMPLICIT none 14 26 ! … … 16 28 17 29 !INCLUDE "dimphy.h" 18 INCLUDE "YOMCST.h" 30 19 31 ! 20 32 ! Arguments: -
LMDZ6/trunk/libf/phylmd/Dust/bcscav_spl.f90
r5271 r5274 3 3 USE dimphy 4 4 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 IMPLICIT NONE 6 18 !===================================================================== … … 12 24 13 25 INCLUDE "chem.h" 14 INCLUDE "YOMCST.h" 26 15 27 INCLUDE "YOECUMF.h" 16 28 ! -
LMDZ6/trunk/libf/phylmd/Dust/bl_for_dms.f90
r5271 r5274 3 3 USE dimphy 4 4 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 IMPLICIT NONE 6 18 ! … … 19 31 ! 20 32 21 INCLUDE "YOMCST.h" 33 22 34 INCLUDE "YOETHF.h" 23 35 INCLUDE "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/Dust/blcloud_scav.f90
r5272 r5274 11 11 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 12 12 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 13 25 IMPLICIT NONE 14 26 15 27 16 28 INCLUDE "chem.h" 17 INCLUDE "YOMCST.h" 29 18 30 19 31 -
LMDZ6/trunk/libf/phylmd/Dust/blcloud_scav_lsc.f90
r5272 r5274 11 11 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 12 12 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 13 25 IMPLICIT NONE 14 26 15 27 16 28 INCLUDE "chem.h" 17 INCLUDE "YOMCST.h" 29 18 30 19 31 -
LMDZ6/trunk/libf/phylmd/Dust/checkmass.f90
r5268 r5274 2 2 USE dimphy 3 3 USE geometry_mod , ONLY:cell_area 4 IMPLICIT NONE 4 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6 , R_ecc, R_peri, R_incl & 7 , RA, RG, R1SA & 8 , RSIGMA & 9 , R, RMD, RMV, RD, RV, RCPD & 10 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 11 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 12 , RCW, RCS & 13 , RLVTT, RLSTT, RLMLT, RTT, RATM & 14 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 15 , RALPD, RBETD, RGAMD 16 IMPLICIT NONE 5 17 6 INCLUDE "YOMCST.h" 18 7 19 8 20 ! Entrees -
LMDZ6/trunk/libf/phylmd/Dust/cltrac_spl.f90
r5271 r5274 2 2 flux,paprs,pplay,d_tr) 3 3 4 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6 , R_ecc, R_peri, R_incl & 7 , RA, RG, R1SA & 8 , RSIGMA & 9 , R, RMD, RMV, RD, RV, RCPD & 10 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 11 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 12 , RCW, RCS & 13 , RLVTT, RLSTT, RLMLT, RTT, RATM & 14 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 15 , RALPD, RBETD, RGAMD 4 16 USE dimphy 5 17 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 37 49 ! REAL flux_tr(klon,klev) 38 50 !====================================================================== 39 INCLUDE "YOMCST.h"40 51 !====================================================================== 41 52 INTEGER :: i, k -
LMDZ6/trunk/libf/phylmd/Dust/cm3_to_kg.f90
r5271 r5274 6 6 7 7 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 8 20 IMPLICIT NONE 9 21 ! 10 22 11 INCLUDE "YOMCST.h" 23 12 24 ! 13 25 REAL :: t_seri(klon,klev), pplay(klon,klev) -
LMDZ6/trunk/libf/phylmd/Dust/coarsemission.f90
r5272 r5274 34 34 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 35 35 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 36 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 37 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 38 , R_ecc, R_peri, R_incl & 39 , RA, RG, R1SA & 40 , RSIGMA & 41 , R, RMD, RMV, RD, RV, RCPD & 42 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 43 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 44 , RCW, RCS & 45 , RLVTT, RLSTT, RLMLT, RTT, RATM & 46 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 47 , RALPD, RBETD, RGAMD 36 48 IMPLICIT NONE 37 49 … … 39 51 INCLUDE "chem.h" 40 52 INCLUDE "chem_spla.h" 41 INCLUDE "YOMCST.h" 53 42 54 43 55 -
LMDZ6/trunk/libf/phylmd/Dust/deposition.f90
r5272 r5274 13 13 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 14 14 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 15 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 16 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 17 , R_ecc, R_peri, R_incl & 18 , RA, RG, R1SA & 19 , RSIGMA & 20 , R, RMD, RMV, RD, RV, RCPD & 21 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 22 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 23 , RCW, RCS & 24 , RLVTT, RLSTT, RLMLT, RTT, RATM & 25 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 26 , RALPD, RBETD, RGAMD 15 27 IMPLICIT NONE 16 28 17 29 18 30 INCLUDE "chem.h" 19 INCLUDE "YOMCST.h" 31 20 32 21 33 -
LMDZ6/trunk/libf/phylmd/Dust/finemission.f90
r5272 r5274 18 18 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 19 19 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 20 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 21 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 22 , R_ecc, R_peri, R_incl & 23 , RA, RG, R1SA & 24 , RSIGMA & 25 , R, RMD, RMV, RD, RV, RCPD & 26 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 27 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 28 , RCW, RCS & 29 , RLVTT, RLSTT, RLMLT, RTT, RATM & 30 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 31 , RALPD, RBETD, RGAMD 20 32 IMPLICIT NONE 21 33 22 34 23 35 INCLUDE "chem.h" 24 INCLUDE "YOMCST.h" 36 25 37 26 38 -
LMDZ6/trunk/libf/phylmd/Dust/gastoparticle.f90
r5271 r5274 9 9 10 10 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 11 23 IMPLICIT NONE 12 24 ! … … 14 26 INCLUDE "chem.h" 15 27 INCLUDE "chem_spla.h" 16 INCLUDE "YOMCST.h" 28 17 29 INCLUDE "YOECUMF.h" 18 30 ! -
LMDZ6/trunk/libf/phylmd/Dust/incloud_scav.f90
r5272 r5274 12 12 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 13 13 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 14 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 15 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 16 , R_ecc, R_peri, R_incl & 17 , RA, RG, R1SA & 18 , RSIGMA & 19 , R, RMD, RMV, RD, RV, RCPD & 20 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 21 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 22 , RCW, RCS & 23 , RLVTT, RLSTT, RLMLT, RTT, RATM & 24 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 25 , RALPD, RBETD, RGAMD 14 26 IMPLICIT NONE 15 27 16 28 17 29 INCLUDE "chem.h" 18 INCLUDE "YOMCST.h" 30 19 31 20 32 -
LMDZ6/trunk/libf/phylmd/Dust/incloud_scav_lsc.f90
r5272 r5274 12 12 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 13 13 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 14 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 15 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 16 , R_ecc, R_peri, R_incl & 17 , RA, RG, R1SA & 18 , RSIGMA & 19 , R, RMD, RMV, RD, RV, RCPD & 20 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 21 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 22 , RCW, RCS & 23 , RLVTT, RLSTT, RLMLT, RTT, RATM & 24 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 25 , RALPD, RBETD, RGAMD 14 26 IMPLICIT NONE 15 27 16 28 17 29 INCLUDE "chem.h" 18 INCLUDE "YOMCST.h" 30 19 31 20 32 -
LMDZ6/trunk/libf/phylmd/Dust/inscav_spl.f90
r5271 r5274 4 4 USE dimphy 5 5 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 IMPLICIT NONE 7 19 !===================================================================== … … 13 25 14 26 INCLUDE "chem.h" 15 INCLUDE "YOMCST.h" 27 16 28 INCLUDE "YOECUMF.h" 17 29 ! -
LMDZ6/trunk/libf/phylmd/Dust/kg_to_cm3.f90
r5271 r5274 4 4 USE infotrac 5 5 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 IMPLICIT NONE 7 19 ! 8 20 9 INCLUDE "YOMCST.h" 21 10 22 ! 11 23 REAL :: t_seri(klon,klev), pplay(klon,klev) -
LMDZ6/trunk/libf/phylmd/Dust/lsc_scav_orig.f90
r5271 r5274 14 14 15 15 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 16 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 17 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 18 , R_ecc, R_peri, R_incl & 19 , RA, RG, R1SA & 20 , RSIGMA & 21 , R, RMD, RMV, RD, RV, RCPD & 22 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 23 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 24 , RCW, RCS & 25 , RLVTT, RLSTT, RLMLT, RTT, RATM & 26 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 27 , RALPD, RBETD, RGAMD 16 28 IMPLICIT NONE 17 29 !===================================================================== … … 24 36 25 37 include "chem.h" 26 include "YOMCST.h" 38 27 39 include "YOECUMF.h" 28 40 -
LMDZ6/trunk/libf/phylmd/Dust/lsc_scav_spl.f90
r5271 r5274 15 15 USE iophy 16 16 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 17 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 19 , R_ecc, R_peri, R_incl & 20 , RA, RG, R1SA & 21 , RSIGMA & 22 , R, RMD, RMV, RD, RV, RCPD & 23 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 24 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 25 , RCW, RCS & 26 , RLVTT, RLSTT, RLMLT, RTT, RATM & 27 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 28 , RALPD, RBETD, RGAMD 17 29 IMPLICIT NONE 18 30 !===================================================================== … … 26 38 27 39 include "chem.h" 28 include "YOMCST.h" 40 29 41 include "YOECUMF.h" 30 42 -
LMDZ6/trunk/libf/phylmd/Dust/nightingale.f90
r5271 r5274 6 6 USE indice_sol_mod 7 7 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 8 20 IMPLICIT NONE 9 21 ! 10 22 11 INCLUDE "YOMCST.h" 23 12 24 ! 13 25 REAL :: u(klon,klev), v(klon,klev) -
LMDZ6/trunk/libf/phylmd/Dust/phys_output_write_spl_mod.F90
r5271 r5274 397 397 398 398 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 399 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 400 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 401 , R_ecc, R_peri, R_incl & 402 , RA, RG, R1SA & 403 , RSIGMA & 404 , R, RMD, RMV, RD, RV, RCPD & 405 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 406 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 407 , RCW, RCS & 408 , RLVTT, RLSTT, RLMLT, RTT, RATM & 409 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 410 , RALPD, RBETD, RGAMD 399 411 IMPLICIT NONE 400 412 … … 403 415 INCLUDE "alpale.h" 404 416 INCLUDE "compbl.h" 405 INCLUDE "YOMCST.h" 417 406 418 407 419 include "iniprint.h" -
LMDZ6/trunk/libf/phylmd/Dust/phytracr_spl_mod.F90
r5272 r5274 794 794 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 795 795 796 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 797 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 798 , R_ecc, R_peri, R_incl & 799 , RA, RG, R1SA & 800 , RSIGMA & 801 , R, RMD, RMV, RD, RV, RCPD & 802 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 803 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 804 , RCW, RCS & 805 , RLVTT, RLSTT, RLMLT, RTT, RATM & 806 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 807 , RALPD, RBETD, RGAMD 796 808 USE mod_grid_phy_lmdz 797 809 USE mod_phys_lmdz_para … … 801 813 USE indice_sol_mod 802 814 USE write_field_phy 803 815 804 816 805 817 USE mod_phys_lmdz_transfert_para … … 819 831 ! Remarques en vrac: 820 832 ! ------------------ 821 ! 1/ le call phytrac se fait avec nqmax-2 donc nous avons bien 833 ! 1/ le call phytrac se fait avec nqmax-2 donc nous avons bien 822 834 ! les vrais traceurs (nbtr) dans phytrac (pas la vapeur ni eau liquide) 823 !! AS : nqmax-2 devrait etre nqmax-3 apres introducton de H2Oi ; 835 !! AS : nqmax-2 devrait etre nqmax-3 apres introducton de H2Oi ; 824 836 !! et c'est encore different avec le parser de DC ? 825 837 !====================================================================== 826 838 INCLUDE "chem.h" 827 839 INCLUDE "chem_spla.h" 828 INCLUDE "YOMCST.h"829 840 INCLUDE "YOETHF.h" 830 841 INCLUDE "alpale.h" -
LMDZ6/trunk/libf/phylmd/Dust/precuremission.f90
r5272 r5274 23 23 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 24 24 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 25 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 26 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 27 , R_ecc, R_peri, R_incl & 28 , RA, RG, R1SA & 29 , RSIGMA & 30 , R, RMD, RMV, RD, RV, RCPD & 31 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 32 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 33 , RCW, RCS & 34 , RLVTT, RLSTT, RLMLT, RTT, RATM & 35 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 36 , RALPD, RBETD, RGAMD 25 37 IMPLICIT NONE 26 38 … … 28 40 INCLUDE "chem.h" 29 41 INCLUDE "chem_spla.h" 30 INCLUDE "YOMCST.h" 42 31 43 32 44 -
LMDZ6/trunk/libf/phylmd/Dust/seasalt.f90
r5271 r5274 6 6 USE dimphy 7 7 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 8 20 IMPLICIT NONE 9 21 ! … … 11 23 INCLUDE "chem.h" 12 24 INCLUDE "chem_spla.h" 13 INCLUDE "YOMCST.h" 25 14 26 INCLUDE "YOECUMF.h" 15 27 ! -
LMDZ6/trunk/libf/phylmd/Dust/sediment_mod.f90
r5271 r5274 11 11 USE infotrac 12 12 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 13 25 IMPLICIT NONE 14 26 ! … … 16 28 INCLUDE "chem.h" 17 29 ! INCLUDE "dimphy.h" 18 INCLUDE "YOMCST.h" 30 19 31 INCLUDE "YOECUMF.h" 20 32 ! -
LMDZ6/trunk/libf/phylmd/Dust/trconvect.f90
r5272 r5274 11 11 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 12 12 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 13 25 IMPLICIT NONE 14 26 15 27 16 28 INCLUDE "chem.h" 17 INCLUDE "YOMCST.h" 29 18 30 19 31 -
LMDZ6/trunk/libf/phylmd/Ocean_skin/sens_heat_rain_m.F90
r4176 r5274 25 25 26 26 #ifdef IN_LMDZ 27 include "YOMCST.h" 28 ! for eps_w 27 USE yomcst_mod_h, ONLY: eps_w 29 28 #endif 30 29 -
LMDZ6/trunk/libf/phylmd/StratAer/coagulate.f90
r5268 r5274 23 23 ! ----------------------------------------------------------------------- 24 24 25 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 26 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 27 , R_ecc, R_peri, R_incl & 28 , RA, RG, R1SA & 29 , RSIGMA & 30 , R, RMD, RMV, RD, RV, RCPD & 31 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 32 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 33 , RCW, RCS & 34 , RLVTT, RLSTT, RLMLT, RTT, RATM & 35 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 36 , RALPD, RBETD, RGAMD 25 37 USE dimphy, ONLY : klon,klev 26 38 USE aerophys … … 28 40 USE phys_local_var_mod, ONLY: DENSO4, DENSO4B, f_r_wet, f_r_wetB 29 41 USE strataer_local_var_mod, ONLY: flag_new_strat_compo 30 42 31 43 IMPLICIT NONE 32 44 … … 69 81 70 82 ! Additional variables for coagulation enhancement factor due to van der Waals forces 71 ! Taken from Chan and Mozurkewich, Measurement of the coagulation rate constant for sulfuric acid 83 ! Taken from Chan and Mozurkewich, Measurement of the coagulation rate constant for sulfuric acid 72 84 ! particles as a function of particle size using TDMA, Aerosol Science, 32, 321-339, 2001. 73 85 !--ok_vdw is 0 for no vdW forces, 1 for E(0), 2 for E(infinity) … … 83 95 REAL :: EvdW 84 96 85 include "YOMCST.h"86 97 87 98 ! ff(i,j,k): Volume fraction of Vi,j that is partitioned to each model bin k -
LMDZ6/trunk/libf/phylmd/StratAer/nucleation_tstep_mod.f90
r5268 r5274 8 8 SUBROUTINE nucleation_rate(rhoa,t_seri,pplay,rh,a_xm,b_xm,c_xm,nucl_rate,ntot_n,x_n) 9 9 10 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 11 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 12 , R_ecc, R_peri, R_incl & 13 , RA, RG, R1SA & 14 , RSIGMA & 15 , R, RMD, RMV, RD, RV, RCPD & 16 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 17 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 18 , RCW, RCS & 19 , RLVTT, RLSTT, RLMLT, RTT, RATM & 20 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 21 , RALPD, RBETD, RGAMD 10 22 USE aerophys 11 23 USE infotrac_phy 12 24 USE strataer_local_var_mod, ONLY : flag_new_nucl 13 25 14 26 IMPLICIT NONE 15 27 … … 38 50 REAL ipr ! Ion pair production rate (cm-3 s-1) NOT IN USE 39 51 40 include "YOMCST.h"41 52 42 53 ! call nucleation routine … … 331 342 ! 332 343 344 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 345 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 346 , R_ecc, R_peri, R_incl & 347 , RA, RG, R1SA & 348 , RSIGMA & 349 , R, RMD, RMV, RD, RV, RCPD & 350 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 351 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 352 , RCW, RCS & 353 , RLVTT, RLSTT, RLMLT, RTT, RATM & 354 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 355 , RALPD, RBETD, RGAMD 333 356 USE aerophys 334 357 335 IMPLICIT NONE 358 IMPLICIT NONE 336 359 337 360 !---------------------------------------------------- 338 361 339 362 !Global intent in 340 REAL,INTENT(IN) :: t ! temperature in K 363 REAL,INTENT(IN) :: t ! temperature in K 341 364 REAL,INTENT(IN) :: satrat ! saturatio ratio of water (between zero and 1) 342 365 REAL,INTENT(IN) :: rhoa ! sulfuric acid concentration in 1/cm3 … … 349 372 REAL,INTENT(OUT) :: jnuc_i_real ! Charged nucleation rate in 1/cm3s (J>10^-7 1/cm3s) 350 373 REAL,INTENT(OUT) :: ntot_i_real ! total number of molecules in the charged critical cluster 351 REAL,INTENT(OUT) :: x_n_real ! mole fraction of H2SO4 in the neutral critical cluster 352 REAL,INTENT(OUT) :: x_i_real ! mole fraction of H2SO4 in the charged critical cluster 353 ! (note that x_n=x_i in nucleation regime) 374 REAL,INTENT(OUT) :: x_n_real ! mole fraction of H2SO4 in the neutral critical cluster 375 REAL,INTENT(OUT) :: x_i_real ! mole fraction of H2SO4 in the charged critical cluster 376 ! (note that x_n=x_i in nucleation regime) 354 377 REAL,INTENT(OUT) :: na_n_real ! sulfuric acid molecules in the neutral critical cluster 355 378 REAL,INTENT(OUT) :: na_i_real ! sulfuric molecules in the charged critical cluster 356 REAL,INTENT(OUT) :: rc_n_real ! radius of the charged critical cluster in nm 357 REAL,INTENT(OUT) :: rc_i_real ! radius of the charged critical cluster in nm 358 REAL,INTENT(OUT) :: n_i_real ! number of ion pairs in air (cm-3) 379 REAL,INTENT(OUT) :: rc_n_real ! radius of the charged critical cluster in nm 380 REAL,INTENT(OUT) :: rc_i_real ! radius of the charged critical cluster in nm 381 REAL,INTENT(OUT) :: n_i_real ! number of ion pairs in air (cm-3) 359 382 LOGICAL,INTENT(OUT) :: kinetic_n ! true if kinetic neutral nucleation 360 383 LOGICAL,INTENT(OUT) :: kinetic_i ! true if kinetic ion-induced nucleation … … 365 388 DOUBLE PRECISION :: jnuc_i ! Charged nucleation rate in 1/cm3s (J>10^-7 1/cm3s) 366 389 DOUBLE PRECISION :: ntot_i ! total number of molecules in the charged critical cluster 367 DOUBLE PRECISION :: x_n ! mole fraction of H2SO4 in the neutral critical cluster 368 DOUBLE PRECISION :: x_i ! mole fraction of H2SO4 in the charged critical cluster 369 ! (note that x_n=x_i in nucleation regime) 390 DOUBLE PRECISION :: x_n ! mole fraction of H2SO4 in the neutral critical cluster 391 DOUBLE PRECISION :: x_i ! mole fraction of H2SO4 in the charged critical cluster 392 ! (note that x_n=x_i in nucleation regime) 370 393 DOUBLE PRECISION :: na_n ! sulfuric acid molecules in the neutral critical cluster 371 394 DOUBLE PRECISION :: na_i ! sulfuric molecules in the charged critical cluster 372 DOUBLE PRECISION :: rc_n ! radius of the charged critical cluster in nm 373 DOUBLE PRECISION :: rc_i ! radius of the charged critical cluster in nm 374 DOUBLE PRECISION :: n_i ! number of ion pairs in air (cm-3) 375 DOUBLE PRECISION :: x ! mole fraction of H2SO4 in the critical cluster 395 DOUBLE PRECISION :: rc_n ! radius of the charged critical cluster in nm 396 DOUBLE PRECISION :: rc_i ! radius of the charged critical cluster in nm 397 DOUBLE PRECISION :: n_i ! number of ion pairs in air (cm-3) 398 DOUBLE PRECISION :: x ! mole fraction of H2SO4 in the critical cluster 376 399 DOUBLE PRECISION :: satratln ! bounded water saturation ratio for neutral case (between 5.E-6 - 1.0) 377 400 DOUBLE PRECISION :: satratli ! bounded water saturation ratio for ion-induced case (between 1.E-7 - 0.95) … … 380 403 DOUBLE PRECISION :: tln ! bounded temperature for neutral case (between 165-400 K) 381 404 DOUBLE PRECISION :: tli ! bounded temperature for ion-induced case (195-400 K) 382 DOUBLE PRECISION :: kinrhotresn ! threshold sulfuric acid for neutral kinetic nucleation 383 DOUBLE PRECISION :: kinrhotresi ! threshold sulfuric acid for ion-induced kinetic nucleation 384 DOUBLE PRECISION :: jnuc_i1 ! Ion-induced rate for n_i=1 cm-3 385 DOUBLE PRECISION :: xloss ! Ion loss rate 386 DOUBLE PRECISION :: recomb ! Ion-ion recombination rate 387 388 include "YOMCST.h" 405 DOUBLE PRECISION :: kinrhotresn ! threshold sulfuric acid for neutral kinetic nucleation 406 DOUBLE PRECISION :: kinrhotresi ! threshold sulfuric acid for ion-induced kinetic nucleation 407 DOUBLE PRECISION :: jnuc_i1 ! Ion-induced rate for n_i=1 cm-3 408 DOUBLE PRECISION :: xloss ! Ion loss rate 409 DOUBLE PRECISION :: recomb ! Ion-ion recombination rate 410 389 411 390 412 !--- 0) Initializations: -
LMDZ6/trunk/libf/phylmd/StratAer/strataer_emiss_mod.f90
r5268 r5274 214 214 SUBROUTINE strataer_ponde_init() 215 215 216 USE regular_lonlat_mod, ONLY: lon_reg, lat_reg 216 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 217 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 218 , R_ecc, R_peri, R_incl & 219 , RA, RG, R1SA & 220 , RSIGMA & 221 , R, RMD, RMV, RD, RV, RCPD & 222 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 223 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 224 , RCW, RCS & 225 , RLVTT, RLSTT, RLMLT, RTT, RATM & 226 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 227 , RALPD, RBETD, RGAMD 228 USE regular_lonlat_mod, ONLY: lon_reg, lat_reg 217 229 USE dimphy, ONLY: klon 218 230 USE mod_grid_phy_lmdz, ONLY: nbp_lat, nbp_lon … … 220 232 USE strataer_local_var_mod 221 233 222 INCLUDE "YOMCST.h"!--RPI234 !--RPI 223 235 224 236 ! local var -
LMDZ6/trunk/libf/phylmd/acama_gwd_rando_m.f90
r5271 r5274 21 21 22 22 ! ONLINE: 23 use dimphy, only: klon, klev 23 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 24 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 25 , R_ecc, R_peri, R_incl & 26 , RA, RG, R1SA & 27 , RSIGMA & 28 , R, RMD, RMV, RD, RV, RCPD & 29 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 30 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 31 , RCW, RCS & 32 , RLVTT, RLSTT, RLMLT, RTT, RATM & 33 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 34 , RALPD, RBETD, RGAMD 35 use dimphy, only: klon, klev 24 36 use assert_m, only: assert 25 37 USE ioipsl_getin_p_mod, ONLY : getin_p 26 38 USE vertical_layers_mod, ONLY : presnivs 27 39 28 include "YOMCST.h" 40 29 41 include "clesphys.h" 30 42 ! OFFLINE: -
LMDZ6/trunk/libf/phylmd/add_phys_tend_mod.f90
r5268 r5274 108 108 USE phys_output_var_mod, ONLY : d_qw_col, d_ql_col, d_qs_col, d_qbs_col, d_qt_col, d_ek_col, d_h_dair_col & 109 109 & , d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_qbs_col, d_h_col 110 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 111 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 112 , R_ecc, R_peri, R_incl & 113 , RA, RG, R1SA & 114 , RSIGMA & 115 , R, RMD, RMV, RD, RV, RCPD & 116 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 117 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 118 , RCW, RCS & 119 , RLVTT, RLSTT, RLMLT, RTT, RATM & 120 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 121 , RALPD, RBETD, RGAMD 110 122 IMPLICIT none 111 INCLUDE "YOMCST.h" 123 112 124 INCLUDE "clesphys.h" 113 125 … … 509 521 USE phys_output_var_mod, ONLY : d_qw_col, d_ql_col, d_qs_col, d_qbs_col, d_qt_col, d_ek_col, d_h_dair_col & 510 522 & , d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_qbs_col, d_h_col 523 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 524 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 525 , R_ecc, R_peri, R_incl & 526 , RA, RG, R1SA & 527 , RSIGMA & 528 , R, RMD, RMV, RD, RV, RCPD & 529 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 530 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 531 , RCW, RCS & 532 , RLVTT, RLSTT, RLMLT, RTT, RATM & 533 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 534 , RALPD, RBETD, RGAMD 511 535 IMPLICIT none 512 include "YOMCST.h" 536 513 537 include "clesphys.h" 514 538 … … 660 684 zh_qw_col, zh_ql_col, zh_qs_col, zh_qbs_col, zh_col) 661 685 686 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 687 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 688 , R_ecc, R_peri, R_incl & 689 , RA, RG, R1SA & 690 , RSIGMA & 691 , R, RMD, RMV, RD, RV, RCPD & 692 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 693 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 694 , RCW, RCS & 695 , RLVTT, RLSTT, RLMLT, RTT, RATM & 696 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 697 , RALPD, RBETD, RGAMD 662 698 IMPLICIT none 663 INCLUDE "YOMCST.h" 699 664 700 665 701 INTEGER, INTENT(IN) :: nlon,nlev … … 740 776 & , rain_lsc, snow_lsc 741 777 USE climb_hq_mod, ONLY : d_h_col_vdf, f_h_bnd 778 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 779 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 780 , R_ecc, R_peri, R_incl & 781 , RA, RG, R1SA & 782 , RSIGMA & 783 , R, RMD, RMV, RD, RV, RCPD & 784 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 785 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 786 , RCW, RCS & 787 , RLVTT, RLSTT, RLMLT, RTT, RATM & 788 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 789 , RALPD, RBETD, RGAMD 742 790 IMPLICIT none 743 INCLUDE "YOMCST.h" 791 744 792 745 793 ! Arguments : -
LMDZ6/trunk/libf/phylmd/aeropt.f90
r5268 r5274 6 6 7 7 USE dimphy 8 IMPLICIT NONE 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 9 21 10 22 11 23 12 include "YOMCST.h" 24 13 25 14 26 ! Arguments: -
LMDZ6/trunk/libf/phylmd/aeropt_2bands.f90
r5268 r5274 17 17 ! a partir d'une sous-routine de Johannes Quaas pour les sulfates 18 18 ! 19 IMPLICIT NONE 20 21 INCLUDE "YOMCST.h" 19 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 20 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 21 , R_ecc, R_peri, R_incl & 22 , RA, RG, R1SA & 23 , RSIGMA & 24 , R, RMD, RMV, RD, RV, RCPD & 25 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 26 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 27 , RCW, RCS & 28 , RLVTT, RLSTT, RLMLT, RTT, RATM & 29 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 30 , RALPD, RBETD, RGAMD 31 IMPLICIT NONE 32 33 22 34 23 35 ! -
LMDZ6/trunk/libf/phylmd/aeropt_5wv.f90
r5268 r5274 49 49 ! Chemistry and Physics Discussions., 6, pp 8383-8419, 2006. 50 50 ! 51 IMPLICIT NONE 52 INCLUDE "YOMCST.h" 51 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 52 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 53 , R_ecc, R_peri, R_incl & 54 , RA, RG, R1SA & 55 , RSIGMA & 56 , R, RMD, RMV, RD, RV, RCPD & 57 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 58 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 59 , RCW, RCS & 60 , RLVTT, RLSTT, RLMLT, RTT, RATM & 61 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 62 , RALPD, RBETD, RGAMD 63 IMPLICIT NONE 64 53 65 ! 54 66 ! Input arguments: -
LMDZ6/trunk/libf/phylmd/ajsec.f90
r5268 r5274 4 4 SUBROUTINE ajsec(paprs, pplay, t, q, limbas, d_t, d_q) 5 5 USE dimphy 6 IMPLICIT NONE 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 18 IMPLICIT NONE 7 19 ! ====================================================================== 8 20 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 14 26 ! d_t-----output-R-Incrementation de la temperature 15 27 ! ====================================================================== 16 include "YOMCST.h" 28 17 29 REAL paprs(klon, klev+1), pplay(klon, klev) 18 30 REAL t(klon, klev), q(klon, klev) … … 156 168 SUBROUTINE ajsec_convv2(paprs, pplay, t, q, d_t, d_q) 157 169 USE dimphy 158 IMPLICIT NONE 170 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 171 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 172 , R_ecc, R_peri, R_incl & 173 , RA, RG, R1SA & 174 , RSIGMA & 175 , R, RMD, RMV, RD, RV, RCPD & 176 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 177 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 178 , RCW, RCS & 179 , RLVTT, RLSTT, RLMLT, RTT, RATM & 180 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 181 , RALPD, RBETD, RGAMD 182 IMPLICIT NONE 159 183 ! ====================================================================== 160 184 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 166 190 ! d_t-----output-R-Incrementation de la temperature 167 191 ! ====================================================================== 168 include "YOMCST.h" 192 169 193 REAL paprs(klon, klev+1), pplay(klon, klev) 170 194 REAL t(klon, klev), q(klon, klev) … … 305 329 SUBROUTINE ajsec_old(paprs, pplay, t, d_t) 306 330 USE dimphy 307 IMPLICIT NONE 331 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 332 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 333 , R_ecc, R_peri, R_incl & 334 , RA, RG, R1SA & 335 , RSIGMA & 336 , R, RMD, RMV, RD, RV, RCPD & 337 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 338 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 339 , RCW, RCS & 340 , RLVTT, RLSTT, RLMLT, RTT, RATM & 341 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 342 , RALPD, RBETD, RGAMD 343 IMPLICIT NONE 308 344 ! ====================================================================== 309 345 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 315 351 ! d_t-----output-R-Incrementation de la temperature 316 352 ! ====================================================================== 317 include "YOMCST.h" 353 318 354 REAL paprs(klon, klev+1), pplay(klon, klev) 319 355 REAL t(klon, klev) -
LMDZ6/trunk/libf/phylmd/albedo.f90
r5268 r5274 2 2 module albedo 3 3 4 IMPLICIT NONE 4 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6 , R_ecc, R_peri, R_incl & 7 , RA, RG, R1SA & 8 , RSIGMA & 9 , R, RMD, RMV, RD, RV, RCPD & 10 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 11 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 12 , RCW, RCS & 13 , RLVTT, RLSTT, RLMLT, RTT, RATM & 14 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 15 , RALPD, RBETD, RGAMD 16 IMPLICIT NONE 5 17 6 18 contains … … 19 31 ! albedo (out,R): albedo obtenu (de 0 a 1) 20 32 ! ====================================================================== 21 include "YOMCST.h" 33 22 34 include "clesphys.h" 23 35 -
LMDZ6/trunk/libf/phylmd/alpale.f90
r5268 r5274 20 20 USE phys_local_var_mod, ONLY: zw2 ! Variables internes non sauvegardees de la physique 21 21 ! 22 IMPLICIT NONE 22 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 23 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 24 , R_ecc, R_peri, R_incl & 25 , RA, RG, R1SA & 26 , RSIGMA & 27 , R, RMD, RMV, RD, RV, RCPD & 28 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 29 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 30 , RCW, RCS & 31 , RLVTT, RLSTT, RLMLT, RTT, RATM & 32 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 33 , RALPD, RBETD, RGAMD 34 IMPLICIT NONE 23 35 24 36 !================================================================ … … 49 61 50 62 include "alpale.h" 51 include "YOMCST.h" 63 52 64 include "YOETHF.h" 53 65 -
LMDZ6/trunk/libf/phylmd/alpale_wk.f90
r5268 r5274 14 14 USE ioipsl_getin_p_mod, ONLY : getin_p 15 15 USE print_control_mod, ONLY: mydebug=>debug , lunout, prt_level 16 ! 16 USE yomcst_mod_h, ONLY: rpi 17 17 18 IMPLICIT NONE 18 19 … … 44 45 REAL, DIMENSION(klon) :: wkrad 45 46 REAL, DIMENSION(klon) :: proba_gf 46 47 INCLUDE "YOMCST.h" ! rpi48 47 49 48 IF (first) THEN -
LMDZ6/trunk/libf/phylmd/atm2geo.f90
r5268 r5274 6 6 USE mod_phys_lmdz_para 7 7 USE mod_grid_phy_lmdz, only: grid_type, unstructured, regular_lonlat 8 IMPLICIT NONE 9 INCLUDE 'YOMCST.h' 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 21 10 22 11 23 CHARACTER (len = 6) :: clmodnam -
LMDZ6/trunk/libf/phylmd/borne_var_surf.f90
r5268 r5274 7 7 zrh2m_cor, zqsat2m_cor) 8 8 9 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 10 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 11 , R_ecc, R_peri, R_incl & 12 , RA, RG, R1SA & 13 , RSIGMA & 14 , R, RMD, RMV, RD, RV, RCPD & 15 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 16 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 17 , RCW, RCS & 18 , RLVTT, RLSTT, RLMLT, RTT, RATM & 19 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 20 , RALPD, RBETD, RGAMD 9 21 IMPLICIT NONE 10 22 … … 18 30 REAL,DIMENSION(klon,nbsrf),INTENT(IN) :: t2m, q2m, u10m, v10m 19 31 REAL,DIMENSION(klon,nbsrf),INTENT(IN) :: ftsol, pctsrf 20 REAL,DIMENSION(klon,klev+1),INTENT(IN) :: paprs 32 REAL,DIMENSION(klon,klev+1),INTENT(IN) :: paprs 21 33 REAL,DIMENSION(klon),INTENT(IN) :: qsurf 22 34 REAL,DIMENSION (klon),INTENT(OUT) :: zt2m_cor, zq2m_cor, zu10m_cor, zv10m_cor … … 28 40 REAL,DIMENSION (klon,nbsrf) :: t2m_cor, q2m_cor, u10m_cor, v10m_cor 29 41 REAL :: zx_qs1, zcor1, zdelta1 30 include "YOMCST.h" 42 31 43 include "YOETHF.h" 32 44 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/calcul_fluxs_mod.f90
r5268 r5274 19 19 USE indice_sol_mod 20 20 use sens_heat_rain_m, only: sens_heat_rain 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 21 33 22 34 INCLUDE "clesphys.h" … … 55 67 ! dflux_s derivee du flux de chaleur sensible / Ts 56 68 ! dflux_l derivee du flux de chaleur latente / Ts 57 ! sens_prec_liq flux sensible li éaux echanges de precipitations liquides69 ! sens_prec_liq flux sensible li� aux echanges de precipitations liquides 58 70 ! sens_prec_sol precipitations solides 59 ! lat_prec_liq flux latent li éaux echanges de precipitations liquides71 ! lat_prec_liq flux latent li� aux echanges de precipitations liquides 60 72 ! lat_prec_sol precipitations solides 61 73 62 74 INCLUDE "YOETHF.h" 63 75 INCLUDE "FCTTRE.h" 64 INCLUDE "YOMCST.h"65 76 66 77 ! Parametres d'entree … … 288 299 flux_u1, flux_v1) 289 300 290 USE dimphy 291 INCLUDE "YOMCST.h" 301 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 302 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 303 , R_ecc, R_peri, R_incl & 304 , RA, RG, R1SA & 305 , RSIGMA & 306 , R, RMD, RMV, RD, RV, RCPD & 307 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 308 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 309 , RCW, RCS & 310 , RLVTT, RLSTT, RLMLT, RTT, RATM & 311 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 312 , RALPD, RBETD, RGAMD 313 USE dimphy 314 292 315 INCLUDE "clesphys.h" 293 316 -
LMDZ6/trunk/libf/phylmd/calwake.f90
r5268 r5274 30 30 USE print_control_mod, ONLY: mydebug=>debug , lunout, prt_level 31 31 USE lmdz_wake, ONLY : wake 32 IMPLICIT NONE 32 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 33 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 34 , R_ecc, R_peri, R_incl & 35 , RA, RG, R1SA & 36 , RSIGMA & 37 , R, RMD, RMV, RD, RV, RCPD & 38 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 39 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 40 , RCW, RCS & 41 , RLVTT, RLSTT, RLMLT, RTT, RATM & 42 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 43 , RALPD, RBETD, RGAMD 44 IMPLICIT NONE 33 45 ! ====================================================================== 34 include "YOMCST.h" 46 35 47 36 48 ! Arguments -
LMDZ6/trunk/libf/phylmd/cdrag_mod.f90
r5268 r5274 29 29 USE ioipsl_getin_p_mod, ONLY : getin_p 30 30 USE lmdz_atke_turbulence_ini, ONLY : smmin, ric, cinf, cepsilon, pr_slope, pr_asym, pr_neut 31 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 32 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 33 , R_ecc, R_peri, R_incl & 34 , RA, RG, R1SA & 35 , RSIGMA & 36 , R, RMD, RMV, RD, RV, RCPD & 37 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 38 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 39 , RCW, RCS & 40 , RLVTT, RLSTT, RLMLT, RTT, RATM & 41 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 42 , RALPD, RBETD, RGAMD 31 43 32 44 IMPLICIT NONE … … 114 126 ! Variables Locales 115 127 !****************************************************************** 116 117 118 INCLUDE "YOMCST.h"119 128 INCLUDE "YOETHF.h" 120 129 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/change_srf_frac_mod.f90
r5268 r5274 26 26 ! 27 27 28 USE dimphy 28 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 29 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 30 , R_ecc, R_peri, R_incl & 31 , RA, RG, R1SA & 32 , RSIGMA & 33 , R, RMD, RMV, RD, RV, RCPD & 34 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 35 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 36 , RCW, RCS & 37 , RLVTT, RLSTT, RLMLT, RTT, RATM & 38 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 39 , RALPD, RBETD, RGAMD 40 USE dimphy 29 41 USE surface_data, ONLY : type_ocean,version_ocean 30 42 USE limit_read_mod … … 34 46 USE indice_sol_mod 35 47 USE print_control_mod, ONLY: lunout 36 37 INCLUDE "YOMCST.h" 48 49 38 50 !albedo SB >>> 39 51 include "clesphys.h" -
LMDZ6/trunk/libf/phylmd/clcdrag.f90
r5268 r5274 10 10 USE indice_sol_mod 11 11 12 IMPLICIT NONE 12 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 13 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 14 , R_ecc, R_peri, R_incl & 15 , RA, RG, R1SA & 16 , RSIGMA & 17 , R, RMD, RMV, RD, RV, RCPD & 18 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 19 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 20 , RCW, RCS & 21 , RLVTT, RLSTT, RLMLT, RTT, RATM & 22 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 23 , RALPD, RBETD, RGAMD 24 IMPLICIT NONE 13 25 ! ================================================================= c 14 26 ! 15 ! Objet : calcul des cdrags pour le moment (pcfm) et 16 ! les flux de chaleur sensible et latente (pcfh). 27 ! Objet : calcul des cdrags pour le moment (pcfm) et 28 ! les flux de chaleur sensible et latente (pcfh). 17 29 ! 18 30 ! ================================================================= c … … 28 40 ! rugos---input-R- rugosite 29 41 ! 30 ! pcfm---output-R- cdrag pour le moment 42 ! pcfm---output-R- cdrag pour le moment 31 43 ! pcfh---output-R- cdrag pour les flux de chaleur latente et sensible 32 44 ! … … 41 53 ! ================================================================= c 42 54 ! 43 INCLUDE "YOMCST.h" 55 44 56 INCLUDE "YOETHF.h" 45 57 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/clift.f90
r5268 r5274 3 3 4 4 SUBROUTINE clift(p, t, rr, rs, plcl, dplcldt, dplcldq) 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 IMPLICIT NONE 6 18 ! *************************************************************** … … 40 52 41 53 ! on utilise les constantes thermo du Centre Europeen: (sb) 42 43 include "YOMCST.h" 44 real :: p,t,rr,rs,plcl,dplcldt,dplcldq,cpd,cpv,cl,cpvmcl,eps,alv0,a,b 54 real :: p,t,rr,rs,plcl,dplcldt,dplcldq,cpd,cpv,cl,cpvmcl,eps,alv0,a,b 45 55 real :: rh,chi,alv 46 56 -
LMDZ6/trunk/libf/phylmd/climb_hq_mod.f90
r5268 r5274 45 45 ! for the quantity X=[Q,H] in equation X(k) = C(k) + D(k)*X(k-1), where k is 46 46 ! the index of the vertical layer. 47 ! 47 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 48 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 49 , R_ecc, R_peri, R_incl & 50 , RA, RG, R1SA & 51 , RSIGMA & 52 , R, RMD, RMV, RD, RV, RCPD & 53 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 54 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 55 , RCW, RCS & 56 , RLVTT, RLSTT, RLMLT, RTT, RATM & 57 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 58 , RALPD, RBETD, RGAMD 48 59 ! Input arguments 49 60 !**************************************************************************************** … … 84 95 ! Include 85 96 !**************************************************************************************** 86 INCLUDE "YOMCST.h" 87 INCLUDE "compbl.h" 97 INCLUDE "compbl.h" 88 98 89 99 … … 253 263 ! where X is H or Q, and k the vertical level k=1,klev 254 264 ! 255 INCLUDE "YOMCST.h" 256 ! Input arguments 265 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 266 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 267 , R_ecc, R_peri, R_incl & 268 , RA, RG, R1SA & 269 , RSIGMA & 270 , R, RMD, RMV, RD, RV, RCPD & 271 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 272 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 273 , RCW, RCS & 274 , RLVTT, RLSTT, RLMLT, RTT, RATM & 275 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 276 , RALPD, RBETD, RGAMD! Input arguments 257 277 !**************************************************************************************** 258 278 INTEGER, INTENT(IN) :: knon … … 330 350 ! C and D are known from before and k is index of the vertical layer. 331 351 ! 332 352 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 353 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 354 , R_ecc, R_peri, R_incl & 355 , RA, RG, R1SA & 356 , RSIGMA & 357 , R, RMD, RMV, RD, RV, RCPD & 358 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 359 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 360 , RCW, RCS & 361 , RLVTT, RLSTT, RLMLT, RTT, RATM & 362 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 363 , RALPD, RBETD, RGAMD 333 364 ! Input arguments 334 365 !**************************************************************************************** … … 359 390 ! Include 360 391 !**************************************************************************************** 361 INCLUDE "YOMCST.h" 362 INCLUDE "compbl.h" 392 INCLUDE "compbl.h" 363 393 364 394 !**************************************************************************************** -
LMDZ6/trunk/libf/phylmd/climb_qbs_mod.f90
r5268 r5274 32 32 ! for the quantity X=[QBS] in equation X(k) = C(k) + D(k)*X(k-1), where k is 33 33 ! the index of the vertical layer. 34 ! 34 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 35 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 36 , R_ecc, R_peri, R_incl & 37 , RA, RG, R1SA & 38 , RSIGMA & 39 , R, RMD, RMV, RD, RV, RCPD & 40 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 41 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 42 , RCW, RCS & 43 , RLVTT, RLSTT, RLMLT, RTT, RATM & 44 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 45 , RALPD, RBETD, RGAMD 35 46 ! Input arguments 36 47 !**************************************************************************************** … … 63 74 ! Include 64 75 !**************************************************************************************** 65 INCLUDE "YOMCST.h" 66 INCLUDE "compbl.h" 76 INCLUDE "compbl.h" 67 77 68 78 … … 183 193 ! Calculate the coefficients C and D in : X(k) = C(k) + D(k)*X(k-1) 184 194 ! where X is QQBS, and k the vertical level k=1,klev 185 ! 186 INCLUDE "YOMCST.h" 195 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 196 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 197 , R_ecc, R_peri, R_incl & 198 , RA, RG, R1SA & 199 , RSIGMA & 200 , R, RMD, RMV, RD, RV, RCPD & 201 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 202 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 203 , RCW, RCS & 204 , RLVTT, RLSTT, RLMLT, RTT, RATM & 205 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 206 , RALPD, RBETD, RGAMD 187 207 ! Input arguments 188 208 !**************************************************************************************** … … 258 278 ! C and D are known from before and k is index of the vertical layer. 259 279 ! 260 280 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 281 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 282 , R_ecc, R_peri, R_incl & 283 , RA, RG, R1SA & 284 , RSIGMA & 285 , R, RMD, RMV, RD, RV, RCPD & 286 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 287 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 288 , RCW, RCS & 289 , RLVTT, RLSTT, RLMLT, RTT, RATM & 290 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 291 , RALPD, RBETD, RGAMD 261 292 ! Input arguments 262 293 !**************************************************************************************** … … 287 318 ! Include 288 319 !**************************************************************************************** 289 INCLUDE "YOMCST.h" 290 INCLUDE "compbl.h" 320 INCLUDE "compbl.h" 291 321 292 322 !**************************************************************************************** -
LMDZ6/trunk/libf/phylmd/climb_wind_mod.f90
r5268 r5274 85 85 ! 86 86 ! 87 87 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 88 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 89 , R_ecc, R_peri, R_incl & 90 , RA, RG, R1SA & 91 , RSIGMA & 92 , R, RMD, RMV, RD, RV, RCPD & 93 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 94 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 95 , RCW, RCS & 96 , RLVTT, RLSTT, RLMLT, RTT, RATM & 97 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 98 , RALPD, RBETD, RGAMD 88 99 ! Input arguments 89 100 !**************************************************************************************** … … 122 133 ! Include 123 134 !**************************************************************************************** 124 INCLUDE "YOMCST.h" 125 INCLUDE "compbl.h" 135 INCLUDE "compbl.h" 126 136 127 137 !**************************************************************************************** … … 199 209 ! 200 210 ! Find the coefficients C and D in fonction of alfa, K and delp 201 ! 211 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 212 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 213 , R_ecc, R_peri, R_incl & 214 , RA, RG, R1SA & 215 , RSIGMA & 216 , R, RMD, RMV, RD, RV, RCPD & 217 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 218 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 219 , RCW, RCS & 220 , RLVTT, RLSTT, RLMLT, RTT, RATM & 221 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 222 , RALPD, RBETD, RGAMD 202 223 ! Input arguments 203 224 !**************************************************************************************** … … 216 237 INTEGER :: k, i 217 238 REAL :: buf 218 219 INCLUDE "YOMCST.h" 220 !**************************************************************************************** 239 !**************************************************************************************** 221 240 ! 222 241 … … 275 294 ! 276 295 !**************************************************************************************** 277 296 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 297 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 298 , R_ecc, R_peri, R_incl & 299 , RA, RG, R1SA & 300 , RSIGMA & 301 , R, RMD, RMV, RD, RV, RCPD & 302 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 303 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 304 , RCW, RCS & 305 , RLVTT, RLSTT, RLMLT, RTT, RATM & 306 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 307 , RALPD, RBETD, RGAMD 278 308 ! Input arguments 279 309 !**************************************************************************************** … … 302 332 ! Include 303 333 !**************************************************************************************** 304 INCLUDE "YOMCST.h" 305 INCLUDE "compbl.h" 334 INCLUDE "compbl.h" 306 335 307 336 ! -
LMDZ6/trunk/libf/phylmd/cltrac.f90
r5268 r5274 6 6 7 7 USE dimphy 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 8 20 IMPLICIT NONE 9 21 !====================================================================== … … 30 42 !!! flux_tr..output-R- flux de tr 31 43 !====================================================================== 32 include "YOMCST.h"33 44 ! 34 45 ! Entree -
LMDZ6/trunk/libf/phylmd/cltracrn.f90
r5268 r5274 10 10 USE traclmdz_mod, ONLY : id_rn, id_pb 11 11 USE indice_sol_mod 12 12 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 13 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 14 , R_ecc, R_peri, R_incl & 15 , RA, RG, R1SA & 16 , RSIGMA & 17 , R, RMD, RMV, RD, RV, RCPD & 18 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 19 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 20 , RCW, RCS & 21 , RLVTT, RLSTT, RLMLT, RTT, RATM & 22 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 23 , RALPD, RBETD, RGAMD 13 24 IMPLICIT NONE 14 25 !====================================================================== … … 45 56 ! d_trs....output-R- le changement de "trs" 46 57 !====================================================================== 47 include "YOMCST.h"48 58 ! 49 59 !Entrees -
LMDZ6/trunk/libf/phylmd/coare30_flux_cnrm_mod.f90
r5268 r5274 101 101 !USE YOMHOOK ,ONLY : LHOOK, DR_HOOK 102 102 !USE PARKIND1 ,ONLY : JPRB 103 ! 103 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 104 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 105 , R_ecc, R_peri, R_incl & 106 , RA, RG, R1SA & 107 , RSIGMA & 108 , R, RMD, RMV, RD, RV, RCPD & 109 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 110 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 111 , RCW, RCS & 112 , RLVTT, RLSTT, RLMLT, RTT, RATM & 113 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 114 , RALPD, RBETD, RGAMD 104 115 IMPLICIT NONE 105 116 ! … … 144 155 LOGICAL, INTENT(IN) :: LPWG ! 145 156 real, dimension(3), intent(inout) :: coeffs 146 !147 !148 149 !INCLUDE "YOMCST.h"150 !INCLUDE "clesphys.h"151 157 152 158 !* 0.2 declarations of local variables … … 236 242 INTEGER :: NGRVWAVES ! Pour le choix du z0 237 243 238 INCLUDE "YOMCST.h"239 244 INCLUDE "clesphys.h" 240 245 -
LMDZ6/trunk/libf/phylmd/coef_diff_turb_mod.f90
r5268 r5274 19 19 USE indice_sol_mod 20 20 USE print_control_mod, ONLY: prt_level, lunout 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 21 33 ! 22 34 ! Calculate coefficients(ycoefm, ycoefh) for turbulent diffusion in the … … 63 75 INCLUDE "compbl.h" 64 76 INCLUDE "YOETHF.h" 65 INCLUDE "YOMCST.h"66 67 77 68 78 ykmm = 0 !ym missing init … … 208 218 pcfm, pcfh) 209 219 210 USE dimphy 220 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 221 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 222 , R_ecc, R_peri, R_incl & 223 , RA, RG, R1SA & 224 , RSIGMA & 225 , R, RMD, RMV, RD, RV, RCPD & 226 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 227 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 228 , RCW, RCS & 229 , RLVTT, RLSTT, RLMLT, RTT, RATM & 230 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 231 , RALPD, RBETD, RGAMD 232 USE dimphy 211 233 USE indice_sol_mod 212 234 USE print_control_mod, ONLY: prt_level, lunout 213 235 214 236 !====================================================================== 215 237 ! Auteur(s) F. Hourdin, M. Forichon, Z.X. Li (LMD/CNRS) date: 19930922 … … 232 254 !====================================================================== 233 255 INCLUDE "YOETHF.h" 234 INCLUDE "YOMCST.h" 256 235 257 INCLUDE "FCTTRE.h" 236 258 INCLUDE "compbl.h" … … 498 520 pcfm, pcfh) 499 521 500 USE dimphy 522 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 523 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 524 , R_ecc, R_peri, R_incl & 525 , RA, RG, R1SA & 526 , RSIGMA & 527 , R, RMD, RMV, RD, RV, RCPD & 528 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 529 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 530 , RCW, RCS & 531 , RLVTT, RLSTT, RLMLT, RTT, RATM & 532 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 533 , RALPD, RBETD, RGAMD 534 USE dimphy 501 535 USE indice_sol_mod 502 536 … … 523 557 REAL, DIMENSION(klon, klev), INTENT(IN) :: pplay 524 558 REAL, DIMENSION(klon, klev), INTENT(IN) :: t(klon,klev) 525 559 526 560 REAL, DIMENSION(klon, klev), INTENT(OUT) :: pcfm, pcfh 527 561 ! … … 544 578 REAL zdthmin(knon), zdthdp 545 579 546 INCLUDE "YOMCST.h" 580 547 581 ! 548 582 ! Initialiser les sorties -
LMDZ6/trunk/libf/phylmd/coefcdrag.f90
r5268 r5274 9 9 USE indice_sol_mod 10 10 11 IMPLICIT none 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 23 IMPLICIT none 12 24 !------------------------------------------------------------------------- 13 ! Objet : calcul des cdrags pour le moment (cdram) et les flux de chaleur 14 ! sensible et latente (cdrah), du cdrag neutre (cdran), 15 ! du nombre de Richardson entre la surface et le niveau de reference 16 ! (zri1) et de la pression au niveau de reference (pref). 25 ! Objet : calcul des cdrags pour le moment (cdram) et les flux de chaleur 26 ! sensible et latente (cdrah), du cdrag neutre (cdran), 27 ! du nombre de Richardson entre la surface et le niveau de reference 28 ! (zri1) et de la pression au niveau de reference (pref). 17 29 ! 18 30 ! I. Musat, 01.07.2002 … … 27 39 ! q-------input-R- humidite de l'air au 1er niveau du modele 28 40 ! zgeop---input-R- geopotentiel au 1er niveau du modele 29 ! psol----input-R- pression au sol 41 ! psol----input-R- pression au sol 30 42 ! ts------input-R- temperature de l'air a la surface 31 43 ! qsurf---input-R- humidite de l'air a la surface 32 44 ! rugos---input-R- rugosite 33 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 45 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 34 46 ! et zref par rapport au Ri entre la sfce et la 1ere couche 35 47 ! ri1-----input-R- nb. Richardson entre la surface et la 1ere couche … … 42 54 ! 43 55 INTEGER, intent(in) :: klon, knon, nsrf 44 LOGICAL, intent(in) :: zxli 56 LOGICAL, intent(in) :: zxli 45 57 REAL, dimension(klon), intent(in) :: speed, t, q, zgeop, psol 46 REAL, dimension(klon), intent(in) :: ts, qsurf, rugos, ri1 47 LOGICAL, intent(in) :: okri 58 REAL, dimension(klon), intent(in) :: ts, qsurf, rugos, ri1 59 LOGICAL, intent(in) :: okri 48 60 ! 49 61 REAL, dimension(klon), intent(out) :: cdram, cdrah, cdran, zri1, pref 50 62 !------------------------------------------------------------------------- 51 63 ! 52 include "YOMCST.h" 64 53 65 include "YOETHF.h" 54 66 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/coefkzmin.f90
r5268 r5274 3 3 4 4 USE dimphy 5 IMPLICIT NONE 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 17 IMPLICIT NONE 6 18 7 include "YOMCST.h" 19 8 20 9 21 ! ....................................................................... -
LMDZ6/trunk/libf/phylmd/conccm.f90
r5268 r5274 6 6 7 7 USE dimphy 8 IMPLICIT NONE 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 9 21 ! ====================================================================== 10 22 ! Auteur(s): Z.X. Li (LMD/CNRS) date: le 14 mars 1996 … … 12 24 ! (schema standard du modele NCAR CCM2) 13 25 ! ====================================================================== 14 include "YOMCST.h" 26 15 27 include "YOETHF.h" 16 28 … … 138 150 SUBROUTINE cmfmca(deltat, p, dp, gz, tb, shb, cmfprt, cmfprs, cnt, cnb) 139 151 USE dimphy 152 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 153 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 154 , R_ecc, R_peri, R_incl & 155 , RA, RG, R1SA & 156 , RSIGMA & 157 , R, RMD, RMV, RD, RV, RCPD & 158 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 159 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 160 , RCW, RCS & 161 , RLVTT, RLSTT, RLMLT, RTT, RATM & 162 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 163 , RALPD, RBETD, RGAMD 140 164 IMPLICIT NONE 141 165 ! ----------------------------------------------------------------------- … … 290 314 291 315 REAL qhalf, sh1, sh2, shbs1, shbs2 292 include "YOMCST.h"293 316 include "YOETHF.h" 294 317 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/concvl.f90
r5268 r5274 34 34 USE phys_local_var_mod, ONLY: omega 35 35 USE print_control_mod, ONLY: prt_level, lunout 36 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 37 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 38 , R_ecc, R_peri, R_incl & 39 , RA, RG, R1SA & 40 , RSIGMA & 41 , R, RMD, RMV, RD, RV, RCPD & 42 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 43 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 44 , RCW, RCS & 45 , RLVTT, RLSTT, RLMLT, RTT, RATM & 46 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 47 , RALPD, RBETD, RGAMD 36 48 IMPLICIT NONE 37 49 ! ====================================================================== … … 223 235 INTEGER, SAVE :: itap, igout 224 236 !$OMP THREADPRIVATE(itap, igout) 225 226 227 include "YOMCST.h"228 237 include "YOMCST2.h" 229 238 include "YOETHF.h" -
LMDZ6/trunk/libf/phylmd/conema3.f90
r5268 r5274 9 9 USE dimphy 10 10 USE infotrac_phy, ONLY: nbtr 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 11 23 IMPLICIT NONE 12 24 ! ====================================================================== … … 175 187 ! cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 176 188 177 include "YOMCST.h"178 189 include "YOETHF.h" 179 190 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/conemav.f90
r5268 r5274 9 9 USE dimphy 10 10 USE infotrac_phy, ONLY: nbtr 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 11 23 IMPLICIT NONE 12 24 ! ====================================================================== … … 74 86 DATA ifrst/0/ 75 87 !$OMP THREADPRIVATE(ifrst) 76 include "YOMCST.h"77 88 include "YOETHF.h" 78 89 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/conf_phys_m.f90
r5268 r5274 23 23 alp_offset) 24 24 25 USE IOIPSL 25 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 26 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 27 , R_ecc, R_peri, R_incl & 28 , RA, RG, R1SA & 29 , RSIGMA & 30 , R, RMD, RMV, RD, RV, RCPD & 31 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 32 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 33 , RCW, RCS & 34 , RLVTT, RLSTT, RLMLT, RTT, RATM & 35 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 36 , RALPD, RBETD, RGAMD 37 USE IOIPSL 26 38 USE surface_data 27 39 USE phys_cal_mod … … 39 51 INCLUDE "conema3.h" 40 52 INCLUDE "nuage.h" 41 INCLUDE "YOMCST.h" 53 42 54 INCLUDE "YOMCST2.h" 43 55 INCLUDE "alpale.h" -
LMDZ6/trunk/libf/phylmd/conflx.f90
r5268 r5274 7 7 8 8 USE dimphy 9 IMPLICIT NONE 9 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 10 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 11 , R_ecc, R_peri, R_incl & 12 , RA, RG, R1SA & 13 , RSIGMA & 14 , R, RMD, RMV, RD, RV, RCPD & 15 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 16 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 17 , RCW, RCS & 18 , RLVTT, RLSTT, RLMLT, RTT, RATM & 19 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 20 , RALPD, RBETD, RGAMD 21 IMPLICIT NONE 10 22 ! ====================================================================== 11 23 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19941014 … … 16 28 ! et lessivage des traceurs passifs. 17 29 ! ====================================================================== 18 include "YOMCST.h" 30 19 31 include "YOETHF.h" 20 32 ! Entree: … … 206 218 pmfu, pmfd, pen_u, pde_u, pen_d, pde_d, dt_con, dq_con, pmflxr, pmflxs) 207 219 USE dimphy 208 IMPLICIT NONE 220 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 221 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 222 , R_ecc, R_peri, R_incl & 223 , RA, RG, R1SA & 224 , RSIGMA & 225 , R, RMD, RMV, RD, RV, RCPD & 226 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 227 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 228 , RCW, RCS & 229 , RLVTT, RLSTT, RLMLT, RTT, RATM & 230 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 231 , RALPD, RBETD, RGAMD 232 IMPLICIT NONE 209 233 ! ------------------------------------------------------------------ 210 include "YOMCST.h" 234 211 235 include "YOETHF.h" 212 236 include "YOECUMF.h" … … 479 503 pdmfup, pdpmel, plu, plude, klab, pen_u, pde_u, pen_d, pde_d) 480 504 USE dimphy 481 IMPLICIT NONE 505 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 506 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 507 , R_ecc, R_peri, R_incl & 508 , RA, RG, R1SA & 509 , RSIGMA & 510 , R, RMD, RMV, RD, RV, RCPD & 511 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 512 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 513 , RCW, RCS & 514 , RLVTT, RLSTT, RLMLT, RTT, RATM & 515 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 516 , RALPD, RBETD, RGAMD 517 IMPLICIT NONE 482 518 ! ---------------------------------------------------------------------- 483 519 ! THIS ROUTINE INTERPOLATES LARGE-SCALE FIELDS OF T,Q ETC. … … 485 521 ! AND INITIALIZES VALUES FOR UPDRAFTS 486 522 ! ---------------------------------------------------------------------- 487 include "YOMCST.h" 523 488 524 include "YOETHF.h" 489 525 … … 601 637 klab) 602 638 USE dimphy 603 IMPLICIT NONE 639 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 640 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 641 , R_ecc, R_peri, R_incl & 642 , RA, RG, R1SA & 643 , RSIGMA & 644 , R, RMD, RMV, RD, RV, RCPD & 645 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 646 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 647 , RCW, RCS & 648 , RLVTT, RLSTT, RLMLT, RTT, RATM & 649 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 650 , RALPD, RBETD, RGAMD 651 IMPLICIT NONE 604 652 ! ---------------------------------------------------------------------- 605 653 ! THIS ROUTINE CALCULATES CLOUD BASE VALUES (T AND Q) … … 613 661 ! (NON ENTRAINING PLUME,I.E.CONSTANT MASSFLUX) 614 662 ! ---------------------------------------------------------------------- 615 include "YOMCST.h" 663 616 664 include "YOETHF.h" 617 665 ! ---------------------------------------------------------------- … … 683 731 kcum, pen_u, pde_u) 684 732 USE dimphy 685 IMPLICIT NONE 733 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 734 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 735 , R_ecc, R_peri, R_incl & 736 , RA, RG, R1SA & 737 , RSIGMA & 738 , R, RMD, RMV, RD, RV, RCPD & 739 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 740 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 741 , RCW, RCS & 742 , RLVTT, RLSTT, RLMLT, RTT, RATM & 743 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 744 , RALPD, RBETD, RGAMD 745 IMPLICIT NONE 686 746 ! ---------------------------------------------------------------------- 687 747 ! THIS ROUTINE DOES THE CALCULATIONS FOR CLOUD ASCENTS 688 748 ! FOR CUMULUS PARAMETERIZATION 689 749 ! ---------------------------------------------------------------------- 690 include "YOMCST.h" 750 691 751 include "YOETHF.h" 692 752 include "YOECUMF.h" … … 983 1043 USE dimphy 984 1044 USE print_control_mod, ONLY: prt_level 985 IMPLICIT NONE 1045 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1046 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1047 , R_ecc, R_peri, R_incl & 1048 , RA, RG, R1SA & 1049 , RSIGMA & 1050 , R, RMD, RMV, RD, RV, RCPD & 1051 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1052 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1053 , RCW, RCS & 1054 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1055 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1056 , RALPD, RBETD, RGAMD 1057 IMPLICIT NONE 986 1058 ! ---------------------------------------------------------------------- 987 1059 ! THIS ROUTINE DOES THE FINAL CALCULATION OF CONVECTIVE 988 1060 ! FLUXES IN THE CLOUD LAYER AND IN THE SUBCLOUD LAYER 989 1061 ! ---------------------------------------------------------------------- 990 include "YOMCST.h" 1062 991 1063 include "YOETHF.h" 992 1064 include "YOECUMF.h" … … 1226 1298 pmfdq, pmful, pdmfup, pdmfdp, pdpmel, dt_con, dq_con) 1227 1299 USE dimphy 1228 IMPLICIT NONE 1300 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1301 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1302 , R_ecc, R_peri, R_incl & 1303 , RA, RG, R1SA & 1304 , RSIGMA & 1305 , R, RMD, RMV, RD, RV, RCPD & 1306 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1307 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1308 , RCW, RCS & 1309 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1310 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1311 , RALPD, RBETD, RGAMD 1312 IMPLICIT NONE 1229 1313 ! ---------------------------------------------------------------------- 1230 1314 ! calculer les tendances T et Q 1231 1315 ! ---------------------------------------------------------------------- 1232 include "YOMCST.h" 1316 1233 1317 include "YOETHF.h" 1234 1318 include "YOECUMF.h" … … 1288 1372 pmfub, prfl, ptd, pqd, pmfd, pmfds, pmfdq, pdmfdp, kdtop, lddraf) 1289 1373 USE dimphy 1290 IMPLICIT NONE 1374 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1375 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1376 , R_ecc, R_peri, R_incl & 1377 , RA, RG, R1SA & 1378 , RSIGMA & 1379 , R, RMD, RMV, RD, RV, RCPD & 1380 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1381 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1382 , RCW, RCS & 1383 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1384 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1385 , RALPD, RBETD, RGAMD 1386 IMPLICIT NONE 1291 1387 1292 1388 ! ---------------------------------------------------------------------- … … 1305 1401 ! MOIST ENVIRONMENTAL AIR AND CLOUD AIR. 1306 1402 ! ---------------------------------------------------------------------- 1307 include "YOMCST.h" 1403 1308 1404 include "YOETHF.h" 1309 1405 include "YOECUMF.h" … … 1395 1491 pmfdq, pdmfdp, lddraf, pen_d, pde_d) 1396 1492 USE dimphy 1397 IMPLICIT NONE 1493 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1494 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1495 , R_ecc, R_peri, R_incl & 1496 , RA, RG, R1SA & 1497 , RSIGMA & 1498 , R, RMD, RMV, RD, RV, RCPD & 1499 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1500 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1501 , RCW, RCS & 1502 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1503 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1504 , RALPD, RBETD, RGAMD 1505 IMPLICIT NONE 1398 1506 1399 1507 ! ---------------------------------------------------------------------- … … 1412 1520 1413 1521 ! ---------------------------------------------------------------------- 1414 include "YOMCST.h" 1522 1415 1523 include "YOETHF.h" 1416 1524 include "YOECUMF.h" … … 1508 1616 SUBROUTINE flxadjtq(pp, pt, pq, ldflag, kcall) 1509 1617 USE dimphy 1618 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1619 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1620 , R_ecc, R_peri, R_incl & 1621 , RA, RG, R1SA & 1622 , RSIGMA & 1623 , R, RMD, RMV, RD, RV, RCPD & 1624 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1625 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1626 , RCW, RCS & 1627 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1628 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1629 , RALPD, RBETD, RGAMD 1510 1630 IMPLICIT NONE 1511 1631 ! ====================================================================== … … 1516 1636 ! kcall=1 CONDENSATION IN UPDRAFTS (E.G. CUBASE, CUASC) 1517 1637 ! kcall=2 EVAPORATION IN DOWNDRAFTS (E.G. CUDLFS,CUDDRAF) 1518 1519 include "YOMCST.h"1520 1638 1521 1639 REAL pt(klon), pq(klon), pp(klon) -
LMDZ6/trunk/libf/phylmd/conlmd.f90
r5268 r5274 5 5 ibas, itop) 6 6 USE dimphy 7 IMPLICIT NONE 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 IMPLICIT NONE 8 20 ! ====================================================================== 9 21 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 11 23 ! Ajustement humide (Manabe) + Ajustement convectif (Kuo) 12 24 ! ====================================================================== 13 include "YOMCST.h" 25 14 26 include "YOETHF.h" 15 27 … … 91 103 snow, ibas, itop) 92 104 USE dimphy 105 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 106 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 107 , R_ecc, R_peri, R_incl & 108 , RA, RG, R1SA & 109 , RSIGMA & 110 , R, RMD, RMV, RD, RV, RCPD & 111 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 112 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 113 , RCW, RCS & 114 , RLVTT, RLSTT, RLMLT, RTT, RATM & 115 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 116 , RALPD, RBETD, RGAMD 93 117 IMPLICIT NONE 94 118 ! ====================================================================== … … 103 127 ! du modele. 104 128 ! ====================================================================== 105 include "YOMCST.h"106 107 129 REAL dtime ! pas d'integration (s) 108 130 REAL t(klon, klev) ! temperature (K) … … 298 320 d_ql, rneb, rain, snow, ibas, itop, accompli, imprim) 299 321 USE dimphy 300 IMPLICIT NONE 322 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 323 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 324 , R_ecc, R_peri, R_incl & 325 , RA, RG, R1SA & 326 , RSIGMA & 327 , R, RMD, RMV, RD, RV, RCPD & 328 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 329 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 330 , RCW, RCS & 331 , RLVTT, RLSTT, RLMLT, RTT, RATM & 332 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 333 , RALPD, RBETD, RGAMD 334 IMPLICIT NONE 301 335 ! ====================================================================== 302 336 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 306 340 ! et itop est le haut du plus haut bloc 307 341 ! ====================================================================== 308 include "YOMCST.h" 342 309 343 310 344 ! Arguments: … … 1046 1080 rain, snow, ibas, itop) 1047 1081 USE dimphy 1048 IMPLICIT NONE 1082 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1083 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1084 , R_ecc, R_peri, R_incl & 1085 , RA, RG, R1SA & 1086 , RSIGMA & 1087 , R, RMD, RMV, RD, RV, RCPD & 1088 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1089 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1090 , RCW, RCS & 1091 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1092 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1093 , RALPD, RBETD, RGAMD 1094 IMPLICIT NONE 1049 1095 ! ====================================================================== 1050 1096 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 1053 1099 ! N.B. version vectorielle (le 6 oct. 1997) 1054 1100 ! ====================================================================== 1055 include "YOMCST.h" 1101 1056 1102 1057 1103 ! Arguments: … … 1553 1599 END SUBROUTINE conkuo 1554 1600 SUBROUTINE kuofcl(pt, pq, pg, pp, ldcum, kcbot) 1601 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1602 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1603 , R_ecc, R_peri, R_incl & 1604 , RA, RG, R1SA & 1605 , RSIGMA & 1606 , R, RMD, RMV, RD, RV, RCPD & 1607 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1608 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1609 , RCW, RCS & 1610 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1611 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1612 , RALPD, RBETD, RGAMD 1555 1613 USE dimphy 1556 1614 IMPLICIT NONE … … 1570 1628 ! kcbot---output-I- Niveau du bas de la convection 1571 1629 ! ====================================================================== 1572 include "YOMCST.h"1573 1630 include "YOETHF.h" 1574 1631 … … 1653 1710 END SUBROUTINE kuofcl 1654 1711 SUBROUTINE adjtq(pp, pt, pq, ldflag, kcall) 1712 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1713 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1714 , R_ecc, R_peri, R_incl & 1715 , RA, RG, R1SA & 1716 , RSIGMA & 1717 , R, RMD, RMV, RD, RV, RCPD & 1718 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1719 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1720 , RCW, RCS & 1721 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1722 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1723 , RALPD, RBETD, RGAMD 1655 1724 USE dimphy 1656 1725 IMPLICIT NONE … … 1672 1741 ! KCALL=2 EVAPORATION IN DOWNDRAFTS (E.G. CUDLFS,CUDDRAF) 1673 1742 1674 include "YOMCST.h"1675 1743 1676 1744 REAL pt(klon), pq(klon), pp(klon) … … 1761 1829 ibas, itop) 1762 1830 USE dimphy 1763 IMPLICIT NONE 1831 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1832 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1833 , R_ecc, R_peri, R_incl & 1834 , RA, RG, R1SA & 1835 , RSIGMA & 1836 , R, RMD, RMV, RD, RV, RCPD & 1837 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1838 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1839 , RCW, RCS & 1840 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1841 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1842 , RALPD, RBETD, RGAMD 1843 IMPLICIT NONE 1764 1844 1765 1845 ! Ajustement humide (Schema de convection de Manabe) 1766 1846 ! . 1767 include "YOMCST.h" 1847 1768 1848 1769 1849 ! Arguments: … … 2046 2126 rain, snow, ibas, itop) 2047 2127 USE dimphy 2048 IMPLICIT NONE 2049 2050 include "YOMCST.h" 2128 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2129 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2130 , R_ecc, R_peri, R_incl & 2131 , RA, RG, R1SA & 2132 , RSIGMA & 2133 , R, RMD, RMV, RD, RV, RCPD & 2134 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2135 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2136 , RCW, RCS & 2137 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2138 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2139 , RALPD, RBETD, RGAMD 2140 IMPLICIT NONE 2141 2142 2051 2143 2052 2144 ! Options: -
LMDZ6/trunk/libf/phylmd/convect3.f90
r5268 r5274 15 15 ! Fleur Introduction des traceurs dans convect3 le 6 juin 200 16 16 ! ################################################################# 17 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 19 , R_ecc, R_peri, R_incl & 20 , RA, RG, R1SA & 21 , RSIGMA & 22 , R, RMD, RMV, RD, RV, RCPD & 23 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 24 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 25 , RCW, RCS & 26 , RLVTT, RLSTT, RLMLT, RTT, RATM & 27 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 28 , RALPD, RBETD, RGAMD 17 29 USE dimphy 18 30 USE infotrac_phy, ONLY: nbtr … … 114 126 ! on utilise les constantes thermo du Centre Europeen: (SB) 115 127 116 include "YOMCST.h"117 128 118 129 cpd = rcpd -
LMDZ6/trunk/libf/phylmd/cpl_mod.F90
r4640 r5274 408 408 ! The new sea-ice-land-landice fraction is returned. The others fields 409 409 ! are stored in this module. 410 USE surface_data 410 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 411 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 412 , R_ecc, R_peri, R_incl & 413 , RA, RG, R1SA & 414 , RSIGMA & 415 , R, RMD, RMV, RD, RV, RCPD & 416 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 417 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 418 , RCW, RCS & 419 , RLVTT, RLSTT, RLMLT, RTT, RATM & 420 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 421 , RALPD, RBETD, RGAMD 422 USE surface_data 411 423 USE geometry_mod, ONLY : longitude_deg, latitude_deg 412 424 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl … … 416 428 use config_ocean_skin_m, only: activate_ocean_skin 417 429 418 INCLUDE "YOMCST.h" 430 419 431 420 432 ! Arguments -
LMDZ6/trunk/libf/phylmd/ctstar.f90
r5268 r5274 72 72 !<http://intra.cnrm.meteo.fr/eac/ARPCLI5.2/doci/code/arpcli5.2/arp/module/yomsta.F90.php#yomsta> , ONLY : RDTDZ1 73 73 74 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 75 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 76 , R_ecc, R_peri, R_incl & 77 , RA, RG, R1SA & 78 , RSIGMA & 79 , R, RMD, RMV, RD, RV, RCPD & 80 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 81 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 82 , RCW, RCS & 83 , RLVTT, RLSTT, RLMLT, RTT, RATM & 84 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 85 , RALPD, RBETD, RGAMD 74 86 IMPLICIT NONE 75 87 76 include "YOMCST.h" 88 77 89 !IM INTEGER(KIND=JPIM),INTENT(IN) :: KPROMA 78 90 !IM INTEGER(KIND=JPIM),INTENT(IN) :: KSTART -
LMDZ6/trunk/libf/phylmd/cv3_cine.f90
r5268 r5274 15 15 ! ************************************************************** 16 16 17 IMPLICIT NONE 18 19 include "YOMCST.h" 17 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 19 , R_ecc, R_peri, R_incl & 20 , RA, RG, R1SA & 21 , RSIGMA & 22 , R, RMD, RMV, RD, RV, RCPD & 23 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 24 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 25 , RCW, RCS & 26 , RLVTT, RLSTT, RLMLT, RTT, RATM & 27 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 28 , RALPD, RBETD, RGAMD 29 IMPLICIT NONE 30 31 20 32 include "cvthermo.h" 21 33 include "cv3param.h" -
LMDZ6/trunk/libf/phylmd/cv3_enthalpmix.f90
r5268 r5274 11 11 ! ************************************************************** 12 12 13 IMPLICIT NONE 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 25 IMPLICIT NONE 14 26 ! ============================================================== 15 27 … … 24 36 include "cvthermo.h" 25 37 include "YOETHF.h" 26 include "YOMCST.h" 38 27 39 include "FCTTRE.h" 28 40 !inputs: -
LMDZ6/trunk/libf/phylmd/cv3_estatmix.f90
r5268 r5274 12 12 ! **************************************************************** 13 13 14 IMPLICIT NONE 14 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 15 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 16 , R_ecc, R_peri, R_incl & 17 , RA, RG, R1SA & 18 , RSIGMA & 19 , R, RMD, RMV, RD, RV, RCPD & 20 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 21 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 22 , RCW, RCS & 23 , RLVTT, RLSTT, RLMLT, RTT, RATM & 24 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 25 , RALPD, RBETD, RGAMD 26 IMPLICIT NONE 15 27 ! ============================================================== 16 28 … … 25 37 include "cvthermo.h" 26 38 include "YOETHF.h" 27 include "YOMCST.h" 39 28 40 include "FCTTRE.h" 29 41 !inputs: -
LMDZ6/trunk/libf/phylmd/cv3p1_closure.f90
r5268 r5274 20 20 21 21 USE print_control_mod, ONLY: prt_level, lunout 22 IMPLICIT NONE 22 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 23 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 24 , R_ecc, R_peri, R_incl & 25 , RA, RG, R1SA & 26 , RSIGMA & 27 , R, RMD, RMV, RD, RV, RCPD & 28 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 29 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 30 , RCW, RCS & 31 , RLVTT, RLSTT, RLMLT, RTT, RATM & 32 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 33 , RALPD, RBETD, RGAMD 34 IMPLICIT NONE 23 35 24 36 include "cvthermo.h" 25 37 include "cv3param.h" 26 38 include "YOMCST2.h" 27 include "YOMCST.h" 39 28 40 include "conema3.h" 29 41 -
LMDZ6/trunk/libf/phylmd/cv3p2_closure.f90
r5268 r5274 19 19 20 20 USE print_control_mod, ONLY: prt_level, lunout 21 IMPLICIT NONE 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 33 IMPLICIT NONE 22 34 23 35 include "cvthermo.h" … … 25 37 include "cvflag.h" 26 38 include "YOMCST2.h" 27 include "YOMCST.h" 39 28 40 include "conema3.h" 29 41 -
LMDZ6/trunk/libf/phylmd/cv_driver.F90
r3492 r5274 568 568 ,cape,ep,hp,icb,inb,clw,nk,t,h,lv & 569 569 ,epmax_diag) 570 ! on écrase ep et recalcule hp570 ! on écrase ep et recalcule hp 571 571 END IF 572 572 … … 699 699 ! si icvflag_Tpa=0, alors la fraction de glace dans l'ascendance adiabatique est 700 700 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est 701 ! calculee en deux it érations, une en supposant qu'il n'y a pas de glace et l'autre702 ! en ajoutant la glace (ancien sch éma d'Arnaud Jam).701 ! calculee en deux it�rations, une en supposant qu'il n'y a pas de glace et l'autre 702 ! en ajoutant la glace (ancien sch�ma d'Arnaud Jam). 703 703 ! si icvflag_Tpa=1, alors la fraction de glace dans l'ascendance adiabatique est 704 704 ! fonction de la temperature de l'environnement et la temperature de l'ascendance est … … 715 715 ! ================================================================== 716 716 SUBROUTINE cv_thermo(iflag_con) 717 IMPLICIT NONE 717 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 718 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 719 , R_ecc, R_peri, R_incl & 720 , RA, RG, R1SA & 721 , RSIGMA & 722 , R, RMD, RMV, RD, RV, RCPD & 723 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 724 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 725 , RCW, RCS & 726 , RLVTT, RLSTT, RLMLT, RTT, RATM & 727 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 728 , RALPD, RBETD, RGAMD 729 IMPLICIT NONE 718 730 719 731 ! ------------------------------------------------------------- … … 721 733 ! ------------------------------------------------------------- 722 734 723 include "YOMCST.h" 735 724 736 include "cvthermo.h" 725 737 -
LMDZ6/trunk/libf/phylmd/cvltr.f90
r5268 r5274 13 13 USE dimphy 14 14 USE infotrac_phy, ONLY : nbtr 15 IMPLICIT NONE 15 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 16 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 17 , R_ecc, R_peri, R_incl & 18 , RA, RG, R1SA & 19 , RSIGMA & 20 , R, RMD, RMV, RD, RV, RCPD & 21 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 22 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 23 , RCW, RCS & 24 , RLVTT, RLSTT, RLMLT, RTT, RATM & 25 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 26 , RALPD, RBETD, RGAMD 27 IMPLICIT NONE 16 28 !===================================================================== 17 29 ! Objet : convection des traceurs / KE … … 20 32 !===================================================================== 21 33 22 include "YOMCST.h" 34 23 35 include "YOECUMF.h" 24 36 include "conema3.h" … … 49 61 REAL,DIMENSION(klon,klev,klev),INTENT(IN) :: sij ! fraction dair de lenv 50 62 REAL,DIMENSION(klon,klev),INTENT(IN) :: wght_cvfd ! weights of the layers feeding convection 51 REAL,DIMENSION(klon,klev,klev),INTENT(IN) :: elij ! contenu en eau condens ée spécifique/conc deau condensée massique63 REAL,DIMENSION(klon,klev,klev),INTENT(IN) :: elij ! contenu en eau condens�e sp�cifique/conc deau condens�e massique 52 64 REAL,DIMENSION(klon,klev,klev),INTENT(IN) :: epmlmMm ! eau condensee precipitee dans mel masse dair sat 53 65 REAL,DIMENSION(klon,klev),INTENT(IN) :: eplaMm ! eau condensee precipitee dans aa masse dair sat 54 66 55 REAL,DIMENSION(klon,klev),INTENT(IN) :: clw ! contenu en eau condens ée dans lasc adiab67 REAL,DIMENSION(klon,klev),INTENT(IN) :: clw ! contenu en eau condens�e dans lasc adiab 56 68 REAL,DIMENSION(klon),INTENT(IN) :: sigd 57 69 INTEGER,DIMENSION(klon),INTENT(IN) :: icb,inb … … 80 92 81 93 ! RomP ! les variables sont nettoyees des valeurs aberrantes 82 REAL,DIMENSION(klon,klev) :: Pa, Pm ! pluie AA et m élanges, var temporaire94 REAL,DIMENSION(klon,klev) :: Pa, Pm ! pluie AA et m�langes, var temporaire 83 95 REAL,DIMENSION(klon,klev) :: pmflxs,pmflxr ! pmflxrIN,pmflxsIN sans valeur aberante 84 96 REAL,DIMENSION(klon,klev) :: mp ! flux de masse … … 155 167 ! On prend la moyenne des precip entre le niveau i+1 et i 156 168 ! I=3/4* (P(1+1)+P(i))/2 / (sigd*r*rho_l) 157 ! 1000kg/m3= densit éde l'eau169 ! 1000kg/m3= densit� de l'eau 158 170 ! 0.75e-3 = 3/4 /1000 159 ! Par la suite, I est tout le temps multipli épar sig_d pour avoir l'impaction sur la surface de la maille160 ! on le n églige ici pour simplifier le code171 ! Par la suite, I est tout le temps multipli� par sig_d pour avoir l'impaction sur la surface de la maille 172 ! on le n�glige ici pour simplifier le code 161 173 do j=1,klev-1 162 174 do i=1,klon … … 201 213 END DO 202 214 203 ! suppression des valeurs tr ès faibles (~1e-320)215 ! suppression des valeurs tr�s faibles (~1e-320) 204 216 ! multiplication de levaporation pour lavoir par unite de temps 205 217 ! et par unite de surface de la maille … … 468 480 kappa(i,j)=1. 469 481 if(j.eq.1) then 470 qDi(i,j,it)=qDi(i,j+1,it) !orig tr(i,j,it) ! mp(1)=0 donc tout vient de la couche sup érieure482 qDi(i,j,it)=qDi(i,j+1,it) !orig tr(i,j,it) ! mp(1)=0 donc tout vient de la couche sup�rieure 471 483 elseif(mp(i,j+1).gt.mp(i,j).and.mp(i,j+1).gt.1.e-10) then 472 484 qDi(i,j,it)=qDi(i,j+1,it) -
LMDZ6/trunk/libf/phylmd/cvltr_noscav.f90
r5268 r5274 5 5 USE dimphy 6 6 USE infotrac_phy, ONLY : nbtr 7 IMPLICIT NONE 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 IMPLICIT NONE 8 20 !===================================================================== 9 21 ! Objet : convection des traceurs / KE 10 22 ! Auteurs: M-A Filiberti and J-Y Grandpeix 11 23 !===================================================================== 12 include "YOMCST.h" 24 13 25 include "YOECUMF.h" 14 26 -
LMDZ6/trunk/libf/phylmd/cvltr_scav.f90
r5268 r5274 14 14 USE dimphy 15 15 USE infotrac_phy, ONLY : nbtr 16 IMPLICIT NONE 16 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 17 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 18 , R_ecc, R_peri, R_incl & 19 , RA, RG, R1SA & 20 , RSIGMA & 21 , R, RMD, RMV, RD, RV, RCPD & 22 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 23 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 24 , RCW, RCS & 25 , RLVTT, RLSTT, RLMLT, RTT, RATM & 26 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 27 , RALPD, RBETD, RGAMD 28 IMPLICIT NONE 17 29 !===================================================================== 18 30 ! Objet : convection des traceurs / KE … … 21 33 !===================================================================== 22 34 23 include "YOMCST.h" 35 24 36 include "YOECUMF.h" 25 37 include "conema3.h" -
LMDZ6/trunk/libf/phylmd/cvltr_spl.f90
r5268 r5274 14 14 USE dimphy 15 15 USE infotrac_phy, ONLY : nbtr 16 IMPLICIT NONE 16 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 17 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 18 , R_ecc, R_peri, R_incl & 19 , RA, RG, R1SA & 20 , RSIGMA & 21 , R, RMD, RMV, RD, RV, RCPD & 22 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 23 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 24 , RCW, RCS & 25 , RLVTT, RLSTT, RLMLT, RTT, RATM & 26 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 27 , RALPD, RBETD, RGAMD 28 IMPLICIT NONE 17 29 !===================================================================== 18 30 ! Objet : convection des traceurs / KE … … 21 33 !===================================================================== 22 34 23 include "YOMCST.h" 35 24 36 include "YOECUMF.h" 25 37 include "conema3.h" -
LMDZ6/trunk/libf/phylmd/cvltrorig.f90
r5268 r5274 5 5 USE dimphy 6 6 USE infotrac_phy, ONLY : nbtr 7 IMPLICIT NONE 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 IMPLICIT NONE 8 20 !===================================================================== 9 21 ! Objet : convection des traceurs / KE 10 22 ! Auteurs: M-A Filiberti and J-Y Grandpeix 11 23 !===================================================================== 12 include "YOMCST.h" 24 13 25 include "YOECUMF.h" 14 26 -
LMDZ6/trunk/libf/phylmd/diagphy.f90
r5268 r5274 48 48 49 49 USE dimphy 50 IMPLICIT NONE 51 52 include "YOMCST.h" 50 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 51 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 52 , R_ecc, R_peri, R_incl & 53 , RA, RG, R1SA & 54 , RSIGMA & 55 , R, RMD, RMV, RD, RV, RCPD & 56 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 57 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 58 , RCW, RCS & 59 , RLVTT, RLSTT, RLMLT, RTT, RATM & 60 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 61 , RALPD, RBETD, RGAMD 62 IMPLICIT NONE 63 64 53 65 include "YOETHF.h" 54 66 … … 205 217 206 218 USE dimphy 207 IMPLICIT NONE 208 209 include "YOMCST.h" 219 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 220 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 221 , R_ecc, R_peri, R_incl & 222 , RA, RG, R1SA & 223 , RSIGMA & 224 , R, RMD, RMV, RD, RV, RCPD & 225 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 226 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 227 , RCW, RCS & 228 , RLVTT, RLSTT, RLMLT, RTT, RATM & 229 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 230 , RALPD, RBETD, RGAMD 231 IMPLICIT NONE 232 233 210 234 include "YOETHF.h" 211 235 -
LMDZ6/trunk/libf/phylmd/dyn1d/1DUTILS.h
r5272 r5274 1352 1352 ! sans WTG rajouter une advection horizontale 1353 1353 !---------------------------------------------------------------------- 1354 implicit none 1355 INCLUDE "YOMCST.h" 1354 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1355 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1356 , R_ecc, R_peri, R_incl & 1357 , RA, RG, R1SA & 1358 , RSIGMA & 1359 , R, RMD, RMV, RD, RV, RCPD & 1360 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1361 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1362 , RCW, RCS & 1363 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1364 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1365 , RALPD, RBETD, RGAMD 1366 implicit none 1367 1356 1368 ! argument 1357 1369 integer llm … … 1426 1438 ! sans WTG rajouter une advection horizontale 1427 1439 !---------------------------------------------------------------------- 1428 implicit none 1429 INCLUDE "YOMCST.h" 1440 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1441 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1442 , R_ecc, R_peri, R_incl & 1443 , RA, RG, R1SA & 1444 , RSIGMA & 1445 , R, RMD, RMV, RD, RV, RCPD & 1446 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1447 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1448 , RCW, RCS & 1449 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1450 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1451 , RALPD, RBETD, RGAMD 1452 implicit none 1453 1430 1454 ! argument 1431 1455 integer llm,nqtot … … 1507 1531 USE dimphy 1508 1532 1509 implicit none 1533 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1534 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1535 , R_ecc, R_peri, R_incl & 1536 , RA, RG, R1SA & 1537 , RSIGMA & 1538 , R, RMD, RMV, RD, RV, RCPD & 1539 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1540 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1541 , RCW, RCS & 1542 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1543 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1544 , RALPD, RBETD, RGAMD 1545 implicit none 1510 1546 1511 1547 ! ======================================================== … … 1526 1562 ! Declaration des constantes et des fonctions thermodynamiques 1527 1563 ! 1528 include "YOMCST.h" 1564 1529 1565 include "YOETHF.h" 1530 1566 ! … … 1590 1626 USE dimphy 1591 1627 1592 implicit none 1628 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1629 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1630 , R_ecc, R_peri, R_incl & 1631 , RA, RG, R1SA & 1632 , RSIGMA & 1633 , R, RMD, RMV, RD, RV, RCPD & 1634 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1635 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1636 , RCW, RCS & 1637 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1638 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1639 , RALPD, RBETD, RGAMD 1640 implicit none 1593 1641 1594 1642 ! ======================================================== … … 1620 1668 ! Declaration des constantes et des fonctions thermodynamiques 1621 1669 ! 1622 include "YOMCST.h" 1670 1623 1671 include "YOETHF.h" 1624 1672 ! … … 1747 1795 1748 1796 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 1797 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1798 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1799 , R_ecc, R_peri, R_incl & 1800 , RA, RG, R1SA & 1801 , RSIGMA & 1802 , R, RMD, RMV, RD, RV, RCPD & 1803 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1804 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1805 , RCW, RCS & 1806 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1807 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1808 , RALPD, RBETD, RGAMD 1749 1809 implicit none 1750 1810 1751 INCLUDE "YOMCST.h" 1811 1752 1812 1753 1813 -
LMDZ6/trunk/libf/phylmd/dyn1d/1Dconv.h
r5271 r5274 6 6 & Ts,imp_fcg,ts_fcg,Tp_fcg,Turb_fcg) 7 7 ! 8 implicit none 9 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 implicit none 21 10 22 !ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 11 23 ! cette routine permet d obtenir u_convg,v_convg,ht,hq et ainsi de … … 13 25 !cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 14 26 15 INCLUDE "YOMCST.h" 27 16 28 17 29 INTEGER klev -
LMDZ6/trunk/libf/phylmd/dyn1d/mod_1D_cases_read_std.f90
r5271 r5274 932 932 933 933 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 934 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 935 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 936 , R_ecc, R_peri, R_incl & 937 , RA, RG, R1SA & 938 , RSIGMA & 939 , R, RMD, RMV, RD, RV, RCPD & 940 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 941 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 942 , RCW, RCS & 943 , RLVTT, RLSTT, RLMLT, RTT, RATM & 944 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 945 , RALPD, RBETD, RGAMD 934 946 implicit none 935 947 936 INCLUDE "YOMCST.h" 948 937 949 938 950 -
LMDZ6/trunk/libf/phylmd/dyn1d/old_1DUTILS_read_interp.h
r5271 r5274 1463 1463 & ,ufa_astex,vfa_astex,div_prof,ts_prof,ug_prof,vg_prof & 1464 1464 & ,ufa_prof,vfa_prof) 1465 implicit none 1465 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1466 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1467 , R_ecc, R_peri, R_incl & 1468 , RA, RG, R1SA & 1469 , RSIGMA & 1470 , R, RMD, RMV, RD, RV, RCPD & 1471 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1472 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1473 , RCW, RCS & 1474 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1475 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1476 , RALPD, RBETD, RGAMD 1477 implicit none 1466 1478 1467 1479 !--------------------------------------------------------------------------------------- … … 1543 1555 &'day,annee_ref,day_ini_astex,timeit,it_astex1,it_astex2,SST:', & 1544 1556 &day,annee_ref,day_ini_astex,timeit/86400.,it_astex1, & 1545 &it_astex2,div_prof,ts_prof,ug_prof,vg_prof,ufa_prof,vfa_prof 1557 &it_astex2,div_prof,ts_prof,ug_prof,vg_prof,ufa_prof,vfa_prof 1546 1558 1547 1559 return … … 1815 1827 ! Time interpolation of a 2D field to the timestep corresponding to day 1816 1828 ! 1817 ! day: current julian day 1829 ! day: current julian day 1818 1830 ! day1: first day of the simulation 1819 1831 ! nt_gabls4: total nb of data in the forcing (e.g. 37 for gabls4) … … 2148 2160 close(ilesfile) 2149 2161 2150 ! Vertical coordinates half levels for eta-coordinates (plev = alpha + beta * psurf) 2162 ! Vertical coordinates half levels for eta-coordinates (plev = alpha + beta * psurf) 2151 2163 IF(nlev_max.EQ.19) THEN 2152 2164 open (ifile,file='proh.inp.19',status='old',iostat=ierr) … … 2250 2262 stop 'vg' 2251 2263 endif 2252 2264 2253 2265 ierr=nf90_inq_varid(nid,"wls",var3didin(9)) 2254 2266 if(ierr/=nf90_noerr) then … … 2282 2294 !dimensions lecture 2283 2295 ! call catchaxis(nid,ntime,nlevel,time,z,ierr) 2284 2296 2285 2297 ierr = NF90_GET_VAR(nid,var3didin(1),zz) 2286 2298 if(ierr/=nf90_noerr) then … … 2303 2315 endif 2304 2316 ! write(*,*)'lecture qt ok',qt 2305 2317 2306 2318 ierr = NF90_GET_VAR(nid,var3didin(4),u) 2307 2319 if(ierr/=nf90_noerr) then … … 2374 2386 ! write(*,*)'lecture thl_rad ok',thl_rad 2375 2387 2376 return 2388 return 2377 2389 end subroutine read_fire 2378 2390 !===================================================================== … … 2387 2399 nf90_inq_dimid,nf90_inquire_dimension 2388 2400 2389 implicit none 2390 INCLUDE "YOMCST.h" 2401 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2402 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2403 , R_ecc, R_peri, R_incl & 2404 , RA, RG, R1SA & 2405 , RSIGMA & 2406 , R, RMD, RMV, RD, RV, RCPD & 2407 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2408 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2409 , RCW, RCS & 2410 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2411 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2412 , RALPD, RBETD, RGAMD 2413 implicit none 2414 2391 2415 2392 2416 integer ntime,nlevel … … 2471 2495 stop 'lhf' 2472 2496 endif 2473 2497 2474 2498 ierr=nf90_inq_varid(nid,"lwup",var3didin(4)) 2475 2499 if(ierr/=nf90_noerr) then … … 2551 2575 !dimensions lecture 2552 2576 ! call catchaxis(nid,ntime,nlevel,time,z,ierr) 2553 2577 2554 2578 ierr = NF90_GET_VAR(nid,var3didin(1),zz) 2555 2579 if(ierr/=nf90_noerr) then … … 2558 2582 endif 2559 2583 ! write(*,*)'lecture zz ok',zz 2560 2584 2561 2585 ierr = NF90_GET_VAR(nid,var3didin(11),pres) 2562 2586 if(ierr/=nf90_noerr) then … … 2582 2606 endif 2583 2607 ! write(*,*)'lecture qv ok',qv 2584 2608 2585 2609 ierr = NF90_GET_VAR(nid,var3didin(14),u) 2586 2610 if(ierr/=nf90_noerr) then … … 2709 2733 ! write(*,*)'lecture omega ok',omega 2710 2734 2711 return 2735 return 2712 2736 end subroutine read_dice 2713 2737 !===================================================================== … … 2717 2741 !program reading initial profils and forcings of the Gabls4 case study 2718 2742 2743 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2744 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2745 , R_ecc, R_peri, R_incl & 2746 , RA, RG, R1SA & 2747 , RSIGMA & 2748 , R, RMD, RMV, RD, RV, RCPD & 2749 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2750 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2751 , RCW, RCS & 2752 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2753 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2754 , RALPD, RBETD, RGAMD 2719 2755 USE netcdf, ONLY: nf90_open,nf90_nowrite,nf90_noerr,nf90_strerror,nf90_inq_varid,nf90_get_var,& 2720 2756 nf90_inq_dimid,nf90_inquire_dimension … … 2727 2763 real*8 time(ntime) 2728 2764 2729 ! ATTENTION: visiblement quand on lit gabls4_driver.nc on recupere les donnees 2765 ! ATTENTION: visiblement quand on lit gabls4_driver.nc on recupere les donnees 2730 2766 ! dans un ordre inverse par rapport a la convention LMDZ 2731 2767 ! ==> il faut tout inverser (MPL 20141024) … … 2846 2882 !dimensions lecture 2847 2883 ! call catchaxis(nid,ntime,nlevel,time,z,ierr) 2848 2884 2849 2885 ierr = NF90_GET_VAR(nid,var3didin(1),zz_i) 2850 2886 if(ierr/=nf90_noerr) then … … 2852 2888 stop "getvarup" 2853 2889 endif 2854 2890 2855 2891 ierr = NF90_GET_VAR(nid,var3didin(2),depth_sn) 2856 2892 if(ierr/=nf90_noerr) then … … 2858 2894 stop "getvarup" 2859 2895 endif 2860 2896 2861 2897 ierr = NF90_GET_VAR(nid,var3didin(3),ug_i) 2862 2898 if(ierr/=nf90_noerr) then … … 2864 2900 stop "getvarup" 2865 2901 endif 2866 2902 2867 2903 ierr = NF90_GET_VAR(nid,var3didin(4),vg_i) 2868 2904 if(ierr/=nf90_noerr) then … … 2870 2906 stop "getvarup" 2871 2907 endif 2872 2908 2873 2909 ierr = NF90_GET_VAR(nid,var3didin(5),pf_i) 2874 2910 if(ierr/=nf90_noerr) then … … 2894 2930 stop "getvarup" 2895 2931 endif 2896 2932 2897 2933 ierr = NF90_GET_VAR(nid,var3didin(9),u_i) 2898 2934 if(ierr/=nf90_noerr) then … … 2900 2936 stop "getvarup" 2901 2937 endif 2902 2938 2903 2939 ierr = NF90_GET_VAR(nid,var3didin(10),v_i) 2904 2940 if(ierr/=nf90_noerr) then … … 2906 2942 stop "getvarup" 2907 2943 endif 2908 2944 2909 2945 ierr = NF90_GET_VAR(nid,var3didin(11),hadvt_i) 2910 2946 if(ierr/=nf90_noerr) then … … 2912 2948 stop "getvarup" 2913 2949 endif 2914 2950 2915 2951 ierr = NF90_GET_VAR(nid,var3didin(12),hadvq_i) 2916 2952 if(ierr/=nf90_noerr) then … … 2918 2954 stop "getvarup" 2919 2955 endif 2920 2956 2921 2957 ierr = NF90_GET_VAR(nid,var3didin(14),tsnow) 2922 2958 if(ierr/=nf90_noerr) then … … 2924 2960 stop "getvarup" 2925 2961 endif 2926 2962 2927 2963 ierr = NF90_GET_VAR(nid,var3didin(15),snow_dens) 2928 2964 if(ierr/=nf90_noerr) then … … 2952 2988 hadvq(k,:)=hadvq_i(nlevel+1-k,:) 2953 2989 enddo 2954 return 2990 return 2955 2991 end subroutine read_gabls4 2956 2992 !===================================================================== 2957 2993 2958 ! Reads CIRC input files 2994 ! Reads CIRC input files 2959 2995 2960 2996 SUBROUTINE read_circ(nlev_circ,cf,lwp,iwp,reliq,reice,t,z,p,pm,h2o,o3,sza) 2961 2997 2962 2998 parameter (ncm_1=49180) 2963 INCLUDE "YOMCST.h"2964 2999 2965 3000 real albsfc(ncm_1), albsfc_w(ncm_1) … … 2985 3020 open (15, file='cloud_input_case.txt', status='old') 2986 3021 open (16, file='sfcalbedo_input_case.txt', status='old') 2987 3022 2988 3023 ! Read scalar information 2989 3024 do iskip=1,5 … … 3018 3053 pm(il)=pm(il)*100. 3019 3054 enddo 3020 303 format (i8, 2f9.2, 10(2x,e13.7)) 3055 303 format (i8, 2f9.2, 10(2x,e13.7)) 3021 3056 close(13) 3022 3057 3023 3058 ! Read aerosol layer information 3024 3059 do iskip=1,3 … … 3033 3068 304 format (i8, f9.5, 2f8.3) 3034 3069 close(14) 3035 3070 3036 3071 ! Read cloud information 3037 3072 do iskip=1,3 … … 3057 3092 306 format(f10.1, 2f12.5, f14.8) 3058 3093 close(16) 3059 3060 return 3094 3095 return 3061 3096 end subroutine read_circ 3062 3097 !===================================================================== 3063 ! Reads RTMIP input files 3098 ! Reads RTMIP input files 3064 3099 3065 3100 SUBROUTINE read_rtmip(nlev_rtmip,play,plev,t,h2o,o3) 3066 3067 INCLUDE "YOMCST.h" 3101 3068 3102 3069 3103 real t(nlev_rtmip), pt(nlev_rtmip),pb(nlev_rtmip),h2o(nlev_rtmip), o3(nlev_rtmip) -
LMDZ6/trunk/libf/phylmd/dyn1d/old_lmdz1d.f90
r5273 r5274 50 50 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 51 51 USE dimsoil_mod_h, ONLY: nsoilmx 52 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 53 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 54 , R_ecc, R_peri, R_incl & 55 , RA, RG, R1SA & 56 , RSIGMA & 57 , R, RMD, RMV, RD, RV, RCPD & 58 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 59 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 60 , RCW, RCS & 61 , RLVTT, RLSTT, RLMLT, RTT, RATM & 62 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 63 , RALPD, RBETD, RGAMD 52 64 implicit none 53 65 54 INCLUDE "YOMCST.h" 66 55 67 !! INCLUDE "control.h" 56 68 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/dyn1d/scm.f90
r5273 r5274 46 46 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 47 47 USE dimsoil_mod_h, ONLY: nsoilmx 48 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 49 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 50 , R_ecc, R_peri, R_incl & 51 , RA, RG, R1SA & 52 , RSIGMA & 53 , R, RMD, RMV, RD, RV, RCPD & 54 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 55 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 56 , RCW, RCS & 57 , RLVTT, RLSTT, RLMLT, RTT, RATM & 58 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 59 , RALPD, RBETD, RGAMD 48 60 implicit none 49 61 50 INCLUDE "YOMCST.h" 62 51 63 !! INCLUDE "control.h" 52 64 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/ecumev6_flux.f90
r5268 r5274 102 102 ! 103 103 !USE MODI_ABOR1_SFX 104 ! 104 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 105 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 106 , R_ecc, R_peri, R_incl & 107 , RA, RG, R1SA & 108 , RSIGMA & 109 , R, RMD, RMV, RD, RV, RCPD & 110 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 111 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 112 , RCW, RCS & 113 , RLVTT, RLSTT, RLMLT, RTT, RATM & 114 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 115 , RALPD, RBETD, RGAMD 105 116 IMPLICIT NONE 106 117 ! … … 245 256 REAL :: qsat_seawater2,qsat_seawater 246 257 247 INCLUDE "YOMCST.h"248 258 INCLUDE "clesphys.h" 249 259 -
LMDZ6/trunk/libf/phylmd/ener_conserv.f90
r5268 r5274 31 31 32 32 33 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 34 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 35 , R_ecc, R_peri, R_incl & 36 , RA, RG, R1SA & 37 , RSIGMA & 38 , R, RMD, RMV, RD, RV, RCPD & 39 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 40 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 41 , RCW, RCS & 42 , RLVTT, RLSTT, RLMLT, RTT, RATM & 43 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 44 , RALPD, RBETD, RGAMD 33 45 IMPLICIT none 34 INCLUDE "YOMCST.h" 46 35 47 INCLUDE "YOETHF.h" 36 48 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/evappot.f90
r5268 r5274 2 2 & t_seri,q_seri,u_seri,v_seri,evap_pot) 3 3 4 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6 , R_ecc, R_peri, R_incl & 7 , RA, RG, R1SA & 8 , RSIGMA & 9 , R, RMD, RMV, RD, RV, RCPD & 10 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 11 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 12 , RCW, RCS & 13 , RLVTT, RLSTT, RLMLT, RTT, RATM & 14 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 15 , RALPD, RBETD, RGAMD 4 16 IMPLICIT NONE 5 17 6 INCLUDE "YOMCST.h" 18 7 19 INCLUDE "YOETHF.h" 8 20 INCLUDE "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/fisrtilp_tr.f90
r5268 r5274 11 11 USE dimphy 12 12 USE print_control_mod, ONLY: lunout 13 IMPLICIT NONE 13 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 14 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 15 , R_ecc, R_peri, R_incl & 16 , RA, RG, R1SA & 17 , RSIGMA & 18 , R, RMD, RMV, RD, RV, RCPD & 19 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 20 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 21 , RCW, RCS & 22 , RLVTT, RLSTT, RLMLT, RTT, RATM & 23 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 24 , RALPD, RBETD, RGAMD 25 IMPLICIT NONE 14 26 ! ====================================================================== 15 27 ! Auteur(s): Z.X. Li (LMD/CNRS) … … 19 31 ! ====================================================================== 20 32 ! ====================================================================== 21 include "YOMCST.h" 33 22 34 23 35 ! Arguments: -
LMDZ6/trunk/libf/phylmd/flott_gwd_rando_m.f90
r5271 r5274 19 19 20 20 !ONLINE: 21 use dimphy, only: klon, klev 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 33 use dimphy, only: klon, klev 22 34 use assert_m, only: assert 23 35 USE ioipsl_getin_p_mod, ONLY : getin_p … … 26 38 CHARACTER (LEN=80) :: abort_message 27 39 28 include "YOMCST.h" 40 29 41 include "clesphys.h" 30 42 ! OFFLINE: -
LMDZ6/trunk/libf/phylmd/flxtr.f90
r5268 r5274 5 5 paprs, kcbot, kctop, kdtop, x, dx) 6 6 USE dimphy 7 IMPLICIT NONE 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 IMPLICIT NONE 8 20 ! ===================================================================== 9 21 ! Objet : Melange convectif de traceurs a partir des flux de masse … … 25 37 ! ===================================================================== 26 38 27 include "YOMCST.h" 39 28 40 include "YOECUMF.h" 29 41 -
LMDZ6/trunk/libf/phylmd/fonte_neige_mod.F90
r5217 r5274 246 246 #endif 247 247 #endif 248 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 249 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 250 , R_ecc, R_peri, R_incl & 251 , RA, RG, R1SA & 252 , RSIGMA & 253 , R, RMD, RMV, RD, RV, RCPD & 254 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 255 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 256 , RCW, RCS & 257 , RLVTT, RLSTT, RLMLT, RTT, RATM & 258 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 259 , RALPD, RBETD, RGAMD 248 260 249 261 ! Routine de traitement de la fonte de la neige dans le cas du traitement … … 266 278 ! 267 279 INCLUDE "YOETHF.h" 268 INCLUDE "YOMCST.h"269 280 INCLUDE "FCTTRE.h" 270 281 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/freinage.f90
r5268 r5274 10 10 ! USE indice_sol_mod, only : nvm_orch 11 11 12 IMPLICIT NONE 12 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 13 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 14 , R_ecc, R_peri, R_incl & 15 , RA, RG, R1SA & 16 , RSIGMA & 17 , R, RMD, RMV, RD, RV, RCPD & 18 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 19 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 20 , RCW, RCS & 21 , RLVTT, RLSTT, RLMLT, RTT, RATM & 22 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 23 , RALPD, RBETD, RGAMD 24 IMPLICIT NONE 13 25 14 26 15 include "YOMCST.h" 27 16 28 include "clesphys.h" 17 29 include "YOEGWD.h" -
LMDZ6/trunk/libf/phylmd/geo2atm.f90
r5268 r5274 6 6 USE mod_phys_lmdz_para 7 7 USE mod_grid_phy_lmdz, only: grid_type, unstructured, regular_lonlat 8 IMPLICIT NONE 9 INCLUDE 'YOMCST.h' 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 21 10 22 CHARACTER (len = 6) :: clmodnam 11 23 CHARACTER (len = 20) :: modname = 'geo2atm' -
LMDZ6/trunk/libf/phylmd/hbtm2l.f90
r5268 r5274 4 4 SUBROUTINE hbtm2l(knon, paprs, pplay, t2m, t10m, q2m, q10m, ustar, flux_t, flux_q, u, v, t, q, pblh, therm, plcl, cape, & 5 5 cin, eauliq, ctei, d_qt, d_thv, dlt_2, xhis, posint, omega, diagok) 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 USE dimphy 7 19 IMPLICIT NONE … … 29 41 ! * re-ecriture complete Alain Mars 2012 dans LMDZ5V5 * 30 42 ! *************************************************************** 31 include "YOMCST.h"32 43 REAL rlvcp, reps 33 44 ! Arguments: -
LMDZ6/trunk/libf/phylmd/hbtm_mod.f90
r5268 r5274 1 1 module hbtm_mod 2 2 3 IMPLICIT NONE 3 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 5 , R_ecc, R_peri, R_incl & 6 , RA, RG, R1SA & 7 , RSIGMA & 8 , R, RMD, RMV, RD, RV, RCPD & 9 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 10 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 11 , RCW, RCS & 12 , RLVTT, RLSTT, RLMLT, RTT, RATM & 13 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 14 , RALPD, RBETD, RGAMD 15 IMPLICIT NONE 4 16 5 17 contains … … 42 54 43 55 44 include "YOMCST.h"45 56 REAL rlvcp, reps 46 57 ! Arguments: -
LMDZ6/trunk/libf/phylmd/hgardfou.F90
r2399 r5274 7 7 USE indice_sol_mod, ONLY: nbsrf 8 8 USE print_control_mod, ONLY: lunout 9 IMPLICIT NONE 9 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 10 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 11 , R_ecc, R_peri, R_incl & 12 , RA, RG, R1SA & 13 , RSIGMA & 14 , R, RMD, RMV, RD, RV, RCPD & 15 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 16 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 17 , RCW, RCS & 18 , RLVTT, RLSTT, RLMLT, RTT, RATM & 19 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 20 , RALPD, RBETD, RGAMD 21 IMPLICIT NONE 10 22 ! ====================================================================== 11 23 ! Verifier la temperature 12 24 ! ====================================================================== 13 include "YOMCST.h" 25 14 26 REAL t(klon, klev), tsol(klon, nbsrf) 15 27 CHARACTER(len=*), intent(in):: text -
LMDZ6/trunk/libf/phylmd/hines_gwd.f90
r5268 r5274 14 14 15 15 USE dimphy 16 IMPLICIT NONE 16 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 17 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 18 , R_ecc, R_peri, R_incl & 19 , RA, RG, R1SA & 20 , RSIGMA & 21 , R, RMD, RMV, RD, RV, RCPD & 22 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 23 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 24 , RCW, RCS & 25 , RLVTT, RLSTT, RLMLT, RTT, RATM & 26 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 27 , RALPD, RBETD, RGAMD 28 IMPLICIT NONE 17 29 18 30 include "YOEGWD.h" 19 include "YOMCST.h" 31 20 32 21 33 INTEGER nazmth -
LMDZ6/trunk/libf/phylmd/hydrol.f90
r5268 r5274 9 9 USE indice_sol_mod 10 10 11 IMPLICIT NONE 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 23 IMPLICIT NONE 12 24 ! ====================================================================== 13 25 ! Auteur(s): Z.X. Li (LMD/CNRS) … … 25 37 ! snow: couverture neigeuse 26 38 27 include "YOMCST.h" 39 28 40 29 41 REAL chasno ! epaisseur du sol: 0.15 m -
LMDZ6/trunk/libf/phylmd/inifis_mod.f90
r5268 r5274 8 8 USE init_print_control_mod, ONLY : init_print_control 9 9 USE print_control_mod, ONLY: lunout 10 IMPLICIT NONE 10 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 11 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 12 , R_ecc, R_peri, R_incl & 13 , RA, RG, R1SA & 14 , RSIGMA & 15 , R, RMD, RMV, RD, RV, RCPD & 16 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 17 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 18 , RCW, RCS & 19 , RLVTT, RLSTT, RLMLT, RTT, RATM & 20 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 21 , RALPD, RBETD, RGAMD 22 IMPLICIT NONE 11 23 12 include "YOMCST.h" 24 13 25 REAL,INTENT(IN) :: prad, pg, pr, pcpp, punjours 14 26 -
LMDZ6/trunk/libf/phylmd/iniorbit.f90
r5268 r5274 1 1 SUBROUTINE iniorbit(paphelie, pperiheli, pyear_day, pperi_day, pobliq) 2 IMPLICIT NONE 2 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 3 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 4 , R_ecc, R_peri, R_incl & 5 , RA, RG, R1SA & 6 , RSIGMA & 7 , R, RMD, RMV, RD, RV, RCPD & 8 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 9 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 10 , RCW, RCS & 11 , RLVTT, RLSTT, RLMLT, RTT, RATM & 12 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 13 , RALPD, RBETD, RGAMD 14 IMPLICIT NONE 3 15 4 16 ! ======================================================================= … … 35 47 36 48 include "planete.h" 37 include "YOMCST.h" 49 38 50 39 51 ! Arguments: -
LMDZ6/trunk/libf/phylmd/init_be.f90
r5268 r5274 8 8 USE geometry_mod, ONLY : longitude, latitude 9 9 10 IMPLICIT NONE 10 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 11 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 12 , R_ecc, R_peri, R_incl & 13 , RA, RG, R1SA & 14 , RSIGMA & 15 , R, RMD, RMV, RD, RV, RCPD & 16 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 17 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 18 , RCW, RCS & 19 , RLVTT, RLSTT, RLMLT, RTT, RATM & 20 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 21 , RALPD, RBETD, RGAMD 22 IMPLICIT NONE 11 23 !===================================================================== 12 ! Objet : prescription d'une source de Beryllium 7 24 ! Objet : prescription d'une source de Beryllium 7 13 25 ! pour 19 niveaux verticaux 14 26 ! (d'apres le diagramme de Lal and Peters, 1967) … … 16 28 ! 17 29 ! written by : O. Coindreau (CEA/LDG) 05/2005 18 ! last modified by : A. Jamelot (LMD/CEA) 04/03/2009 30 ! last modified by : A. Jamelot (LMD/CEA) 04/03/2009 19 31 !===================================================================== 20 32 21 INCLUDE "YOMCST.h" 33 22 34 INCLUDE "YOECUMF.h" 23 35 … … 62 74 WRITE(*,*)'PASSAGE init_be ...' 63 75 64 ! la source est maintenant d éfinie independemment de la valeur de klev.76 ! la source est maintenant d�finie independemment de la valeur de klev. 65 77 !!! Source actuellement definie pour klev = 19 et klev >= 39 66 78 !! IF (klev /= 19 .AND. klev<39) CALL abort_physic("init_be","Source du be7 necessite klev=19 ou klev>=39",1) -
LMDZ6/trunk/libf/phylmd/inlandsis/sisvat_ts2.f90
r5259 r5274 68 68 69 69 70 IMPLICIT NONE 70 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 71 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 72 , R_ecc, R_peri, R_incl & 73 , RA, RG, R1SA & 74 , RSIGMA & 75 , R, RMD, RMV, RD, RV, RCPD & 76 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 77 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 78 , RCW, RCS & 79 , RLVTT, RLSTT, RLMLT, RTT, RATM & 80 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 81 , RALPD, RBETD, RGAMD 82 IMPLICIT NONE 71 83 72 84 … … 74 86 ! + ================ 75 87 76 INCLUDE "YOMCST.h" 88 77 89 INCLUDE "YOETHF.h" 78 90 INCLUDE "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/iophys.F90
r4593 r5274 119 119 USE phys_cal_mod, ONLY : calend 120 120 121 IMPLICIT NONE 122 123 include "YOMCST.h" 121 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 122 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 123 , R_ecc, R_peri, R_incl & 124 , RA, RG, R1SA & 125 , RSIGMA & 126 , R, RMD, RMV, RD, RV, RCPD & 127 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 128 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 129 , RCW, RCS & 130 , RLVTT, RLSTT, RLMLT, RTT, RATM & 131 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 132 , RALPD, RBETD, RGAMD 133 IMPLICIT NONE 134 135 124 136 !======================================================================= 125 137 ! -
LMDZ6/trunk/libf/phylmd/lmdz_cloudth.f90
r5268 r5274 15 15 use lmdz_cloudth_ini, only: iflag_cloudth_vert,iflag_ratqs 16 16 17 IMPLICIT NONE 17 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 19 , R_ecc, R_peri, R_incl & 20 , RA, RG, R1SA & 21 , RSIGMA & 22 , R, RMD, RMV, RD, RV, RCPD & 23 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 24 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 25 , RCW, RCS & 26 , RLVTT, RLSTT, RLMLT, RTT, RATM & 27 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 28 , RALPD, RBETD, RGAMD 29 IMPLICIT NONE 18 30 19 31 … … 25 37 26 38 27 INCLUDE "YOMCST.h" 39 28 40 INCLUDE "YOETHF.h" 29 41 INCLUDE "FCTTRE.h" … … 267 279 use lmdz_cloudth_ini, only: iflag_cloudth_vert, vert_alpha 268 280 269 IMPLICIT NONE 270 271 INCLUDE "YOMCST.h" 281 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 282 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 283 , R_ecc, R_peri, R_incl & 284 , RA, RG, R1SA & 285 , RSIGMA & 286 , R, RMD, RMV, RD, RV, RCPD & 287 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 288 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 289 , RCW, RCS & 290 , RLVTT, RLSTT, RLMLT, RTT, RATM & 291 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 292 , RALPD, RBETD, RGAMD 293 IMPLICIT NONE 294 295 272 296 INCLUDE "YOETHF.h" 273 297 INCLUDE "FCTTRE.h" … … 588 612 use lmdz_cloudth_ini, only: iflag_cloudth_vert 589 613 590 IMPLICIT NONE 614 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 615 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 616 , R_ecc, R_peri, R_incl & 617 , RA, RG, R1SA & 618 , RSIGMA & 619 , R, RMD, RMV, RD, RV, RCPD & 620 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 621 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 622 , RCW, RCS & 623 , RLVTT, RLSTT, RLMLT, RTT, RATM & 624 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 625 , RALPD, RBETD, RGAMD 626 IMPLICIT NONE 591 627 592 628 … … 598 634 599 635 600 INCLUDE "YOMCST.h" 636 601 637 INCLUDE "YOETHF.h" 602 638 INCLUDE "FCTTRE.h" … … 822 858 use lmdz_cloudth_ini, only : vert_alpha,vert_alpha_th, sigma1s_factor, sigma1s_power , sigma2s_factor , sigma2s_power , cloudth_ratqsmin , iflag_cloudth_vert_noratqs 823 859 824 IMPLICIT NONE 825 826 827 828 INCLUDE "YOMCST.h" 860 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 861 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 862 , R_ecc, R_peri, R_incl & 863 , RA, RG, R1SA & 864 , RSIGMA & 865 , R, RMD, RMV, RD, RV, RCPD & 866 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 867 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 868 , RCW, RCS & 869 , RLVTT, RLSTT, RLMLT, RTT, RATM & 870 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 871 , RALPD, RBETD, RGAMD 872 IMPLICIT NONE 873 874 875 876 829 877 INCLUDE "YOETHF.h" 830 878 INCLUDE "FCTTRE.h" … … 1250 1298 use lmdz_cloudth_ini, only: iflag_cloudth_vert 1251 1299 1252 IMPLICIT NONE 1253 1254 1255 INCLUDE "YOMCST.h" 1300 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1301 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1302 , R_ecc, R_peri, R_incl & 1303 , RA, RG, R1SA & 1304 , RSIGMA & 1305 , R, RMD, RMV, RD, RV, RCPD & 1306 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1307 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1308 , RCW, RCS & 1309 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1310 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1311 , RALPD, RBETD, RGAMD 1312 IMPLICIT NONE 1313 1314 1315 1256 1316 INCLUDE "YOETHF.h" 1257 1317 INCLUDE "FCTTRE.h" … … 2140 2200 use phys_state_var_mod, ONLY : fm_therm, detr_therm, entr_therm 2141 2201 2142 IMPLICIT none 2143 2144 INCLUDE "YOMCST.h" 2202 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2203 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2204 , R_ecc, R_peri, R_incl & 2205 , RA, RG, R1SA & 2206 , RSIGMA & 2207 , R, RMD, RMV, RD, RV, RCPD & 2208 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2209 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2210 , RCW, RCS & 2211 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2212 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2213 , RALPD, RBETD, RGAMD 2214 IMPLICIT none 2215 2216 2145 2217 2146 2218 INTEGER, INTENT(IN) :: ind1,ind2, klev ! horizontal and vertical indices and dimensions -
LMDZ6/trunk/libf/phylmd/lmdz_lscp_old.f90
r5268 r5274 15 15 16 16 ! 17 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 18 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 19 , R_ecc, R_peri, R_incl & 20 , RA, RG, R1SA & 21 , RSIGMA & 22 , R, RMD, RMV, RD, RV, RCPD & 23 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 24 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 25 , RCW, RCS & 26 , RLVTT, RLSTT, RLMLT, RTT, RATM & 27 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 28 , RALPD, RBETD, RGAMD 17 29 USE icefrac_lsc_mod ! compute ice fraction (JBM 3/14) 18 30 USE lmdz_cloudth, only : cloudth, cloudth_v3, cloudth_v6 19 31 20 32 USE lmdz_lscp_ini, ONLY: prt_level, lunout 21 USE lmdz_lscp_ini, ONLY : fl_cor_ebil 33 USE lmdz_lscp_ini, ONLY : fl_cor_ebil 22 34 USE lmdz_lscp_ini, ONLY: iflag_t_glace,t_glace_min, t_glace_max, exposant_glace 23 35 USE lmdz_lscp_ini, ONLY : seuil_neb, rain_int_min, iflag_evap_prec, iflag_oldbug_fisrtilp,a_tr_sca 24 USE lmdz_lscp_ini, ONLY: iflag_cloudth_vert, iflag_rain_incloud_vol 36 USE lmdz_lscp_ini, ONLY: iflag_cloudth_vert, iflag_rain_incloud_vol 25 37 USE lmdz_lscp_ini, ONLY: coef_eva, ffallv_lsc, ffallv_con 26 38 USE lmdz_lscp_ini, ONLY: cld_tau_lsc, cld_tau_con, cld_lc_lsc, cld_lc_con 27 USE lmdz_lscp_ini, ONLY: reevap_ice, iflag_bergeron, iflag_fisrtilp_qsat, iflag_pdf 39 USE lmdz_lscp_ini, ONLY: reevap_ice, iflag_bergeron, iflag_fisrtilp_qsat, iflag_pdf 28 40 29 41 … … 40 52 ! P0> Thermalisation des precipitations venant de la couche du dessus 41 53 ! P1> Evaporation de la precipitation (qui vient du niveau k+1) 42 ! P2> Formation du nuage (en k) 54 ! P2> Formation du nuage (en k) 43 55 ! P2.A.0> Calcul des grandeurs nuageuses une pdf en creneau 44 ! P2.A.1> Avec les nouvelles PDFs, calcul des grandeurs nuageuses pour 56 ! P2.A.1> Avec les nouvelles PDFs, calcul des grandeurs nuageuses pour 45 57 ! les valeurs de T et Q initiales 46 58 ! P2.A.2> Prise en compte du couplage entre eau condensee et T. … … 50 62 ! P3> Formation de la precipitation (en k) 51 63 !====================================================================== 52 ! JLD: 64 ! JLD: 53 65 ! * Routine probablement fausse (au moins incoherente) si thermcep = .false. 54 ! * fl_cor_ebil doit etre > 0 ; 66 ! * fl_cor_ebil doit etre > 0 ; 55 67 ! fl_cor_ebil= 0 pour reproduire anciens bugs 56 68 !====================================================================== 57 include "YOMCST.h"58 69 include "YOETHF.h" 59 70 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/lmdz_lscp_tools.f90
r5268 r5274 519 519 520 520 521 IMPLICIT NONE 522 523 include "YOMCST.h" 521 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 522 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 523 , R_ecc, R_peri, R_incl & 524 , RA, RG, R1SA & 525 , RSIGMA & 526 , R, RMD, RMV, RD, RV, RCPD & 527 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 528 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 529 , RCW, RCS & 530 , RLVTT, RLSTT, RLMLT, RTT, RATM & 531 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 532 , RALPD, RBETD, RGAMD 533 IMPLICIT NONE 534 535 524 536 include "YOETHF.h" 525 537 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/lmdz_thermcell_alp.f90
r5268 r5274 19 19 &) 20 20 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 21 33 USE indice_sol_mod 22 34 USE lmdz_thermcell_main, ONLY : thermcell_tke_transport … … 29 41 ! Nicolas Rochetin et Jean-Yves Grandpeix 30 42 ! pour la fermeture stochastique. 2012 31 ! Fr édéric Hourdin :43 ! Fr�d�ric Hourdin : 32 44 ! netoyage informatique. 2022 33 ! 45 ! 34 46 !======================================================================= 35 47 !----------------------------------------------------------------------- … … 37 49 ! ------------- 38 50 39 INCLUDE "YOMCST.h"40 51 INCLUDE "YOETHF.h" 41 52 INCLUDE "FCTTRE.h" … … 81 92 INTEGER ig,k,l 82 93 integer nsrf 83 real rhobarz0(ngrid) ! Densit éau LCL94 real rhobarz0(ngrid) ! Densit� au LCL 84 95 logical ok_lcl(ngrid) ! Existence du LCL des thermiques 85 96 integer klcl(ngrid) ! Niveau du LCL 86 97 real interp(ngrid) ! Coef d'interpolation pour le LCL 87 98 !--Triggering 88 real, parameter :: su_cst=4e4 ! Surface unite: celle d'un updraft élémentaire99 real, parameter :: su_cst=4e4 ! Surface unite: celle d'un updraft �l�mentaire 89 100 real, parameter :: hcoef=1 ! Coefficient directeur pour le calcul de s2 90 real, parameter :: hmincoef=0.3 ! Coefficient directeur pour l'ordonn ée àl'origine pour le calcul de s291 real, parameter :: eps1=0.3 ! Fraction de surface occup ée par la population 1 : eps1=n1*s1/(fraca0*Sd)92 real, dimension(ngrid) :: hmin ! Ordonn ée àl'origine pour le calcul de s2101 real, parameter :: hmincoef=0.3 ! Coefficient directeur pour l'ordonn�e � l'origine pour le calcul de s2 102 real, parameter :: eps1=0.3 ! Fraction de surface occup�e par la population 1 : eps1=n1*s1/(fraca0*Sd) 103 real, dimension(ngrid) :: hmin ! Ordonn�e � l'origine pour le calcul de s2 93 104 real, dimension(ngrid) :: zmax_moy ! Hauteur moyenne des thermiques : zmax_moy = zlcl + 0.33 (zmax-zlcl) 94 105 real, parameter :: zmax_moy_coef=0.33 … … 100 111 real, dimension(ngrid,nlay) :: pbl_tke_max ! Profil de TKE moyenne 101 112 real, dimension(ngrid) :: pbl_tke_max0 ! TKE moyenne au LCL 102 real, dimension(ngrid,nlay) :: w_ls ! Vitesse verticale grande échelle (m/s)103 real, parameter :: coef_m=1. ! On consid ère un rendement pour alp_bl_fluct_m104 real, parameter :: coef_tke=1. ! On consid ère un rendement pour alp_bl_fluct_tke113 real, dimension(ngrid,nlay) :: w_ls ! Vitesse verticale grande �chelle (m/s) 114 real, parameter :: coef_m=1. ! On consid�re un rendement pour alp_bl_fluct_m 115 real, parameter :: coef_tke=1. ! On consid�re un rendement pour alp_bl_fluct_tke 105 116 real :: zdp 106 117 real, dimension(ngrid) :: alp_int,dp_int … … 171 182 !!jyg fin 172 183 173 !------------Calcul des propri étés du thermique au LCL184 !------------Calcul des propri�t�s du thermique au LCL 174 185 IF ( (iflag_trig_bl.ge.1) .or. (iflag_clos_bl.ge.1) ) THEN 175 186 … … 198 209 enddo 199 210 200 !-----Calcul de la TKE transport ée par les thermiques : therm_tke_max211 !-----Calcul de la TKE transport�e par les thermiques : therm_tke_max 201 212 call thermcell_tke_transport(ngrid,nlay,ptimestep,fm0,entr0, & ! in 202 213 & rg,pplev,therm_tke_max) ! out 203 214 ! print *,' thermcell_tke_transport -> ' !!jyg 204 215 205 !-----Calcul des profils verticaux de TKE hors thermiques : env_tke_max, et de la vitesse verticale grande échelle : W_ls216 !-----Calcul des profils verticaux de TKE hors thermiques : env_tke_max, et de la vitesse verticale grande �chelle : W_ls 206 217 do l=1,nlay 207 218 do ig=1,ngrid 208 pbl_tke_max(ig,l)=fraca(ig,l)*therm_tke_max(ig,l)+(1.-fraca(ig,l))*env_tke_max(ig,l) ! Recalcul de TKE moyenne apr és transport de TKE_TH209 env_tke_max(ig,l)=(pbl_tke_max(ig,l)-fraca(ig,l)*therm_tke_max(ig,l))/(1.-fraca(ig,l)) ! Recalcul de TKE dans l'environnement apr és transport de TKE_TH210 w_ls(ig,l)=-1.*omega(ig,l)/(RG*rhobarz(ig,l)) ! Vitesse verticale de grande échelle219 pbl_tke_max(ig,l)=fraca(ig,l)*therm_tke_max(ig,l)+(1.-fraca(ig,l))*env_tke_max(ig,l) ! Recalcul de TKE moyenne apr�s transport de TKE_TH 220 env_tke_max(ig,l)=(pbl_tke_max(ig,l)-fraca(ig,l)*therm_tke_max(ig,l))/(1.-fraca(ig,l)) ! Recalcul de TKE dans l'environnement apr�s transport de TKE_TH 221 w_ls(ig,l)=-1.*omega(ig,l)/(RG*rhobarz(ig,l)) ! Vitesse verticale de grande �chelle 211 222 enddo 212 223 enddo … … 253 264 254 265 255 !-----Epaisseur du nuage (depth) et d étermination de la queue du spectre de panaches (n2,s2) et du panache le plus gros (s_max)266 !-----Epaisseur du nuage (depth) et d�termination de la queue du spectre de panaches (n2,s2) et du panache le plus gros (s_max) 256 267 do ig=1,ngrid 257 268 zmax_moy(ig)=zlcl(ig)+zmax_moy_coef*(zmax(ig)-zlcl(ig)) … … 328 339 enddo 329 340 330 !-----S écuritéALP infinie341 !-----S�curit� ALP infinie 331 342 do ig=1,ngrid 332 343 if (fraca0(ig).gt.0.98) alp_bl_stat(ig)=2. -
LMDZ6/trunk/libf/phylmd/lmdz_thermcell_old.F90
r4590 r5274 6 6 fraca, wa_moy, r_aspect, l_mix, w2di, tho) 7 7 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 8 20 USE dimphy 9 21 USE write_field_phy … … 17 29 ! de "thermiques" explicitement representes 18 30 19 ! R éécriture à partir d'un listing papier àHabas, le 14/02/0020 21 ! le thermique est suppos é homogène et dissipé par mélange avec22 ! son environnement. la longueur l_mix contr ôle l'efficacitédu23 ! m élange24 25 ! Le calcul du transport des diff érentes espèces se fait en prenant31 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 32 33 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 34 ! son environnement. la longueur l_mix contr�le l'efficacit� du 35 ! m�lange 36 37 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 26 38 ! en compte: 27 39 ! 1. un flux de masse montant … … 36 48 ! ------------- 37 49 38 include "YOMCST.h"39 50 40 51 ! arguments: … … 434 445 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 435 446 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 436 ! d'une couche est égale àla hauteur de la couche alimentante.447 ! d'une couche est �gale � la hauteur de la couche alimentante. 437 448 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 438 449 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 470 481 ! print*,'10 OK convect8' 471 482 ! print*,'WA2 ',wa_moy 472 ! calcul de la fraction de la maille concern ée par l'ascendance en tenant483 ! calcul de la fraction de la maille concern�e par l'ascendance en tenant 473 484 ! compte de l'epluchage du thermique. 474 485 … … 719 730 , r_aspect, l_mix, w2di, tho) 720 731 732 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 733 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 734 , R_ecc, R_peri, R_incl & 735 , RA, RG, R1SA & 736 , RSIGMA & 737 , R, RMD, RMV, RD, RV, RCPD & 738 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 739 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 740 , RCW, RCS & 741 , RLVTT, RLSTT, RLMLT, RTT, RATM & 742 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 743 , RALPD, RBETD, RGAMD 721 744 USE dimphy 722 745 IMPLICIT NONE … … 727 750 ! de "thermiques" explicitement representes 728 751 729 ! R éécriture à partir d'un listing papier àHabas, le 14/02/00730 731 ! le thermique est suppos é homogène et dissipé par mélange avec732 ! son environnement. la longueur l_mix contr ôle l'efficacitédu733 ! m élange734 735 ! Le calcul du transport des diff érentes espèces se fait en prenant752 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 753 754 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 755 ! son environnement. la longueur l_mix contr�le l'efficacit� du 756 ! m�lange 757 758 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 736 759 ! en compte: 737 760 ! 1. un flux de masse montant … … 746 769 ! ------------- 747 770 748 include "YOMCST.h"749 771 include "YOETHF.h" 750 772 include "FCTTRE.h" … … 953 975 END DO 954 976 955 ! on met le first a true pour le premier passage de la journ ée977 ! on met le first a true pour le premier passage de la journ�e 956 978 DO ig = 1, klon 957 979 test(ig) = 0 … … 1324 1346 END DO 1325 1347 END DO 1326 ! Calcul de l'exc ès de température du àla diffusion turbulente1348 ! Calcul de l'exc�s de temp�rature du � la diffusion turbulente 1327 1349 DO ig = 1, ngrid 1328 1350 DO l = 1, klev … … 1342 1364 zw2(ig,l)<1E-10) THEN 1343 1365 ! AM 1344 ! test:on rajoute un exc ès de T dans couche alim1366 ! test:on rajoute un exc�s de T dans couche alim 1345 1367 ! ztla(ig,l)=zthl(ig,l)+dtheta(ig,l) 1346 1368 ztla(ig, l) = zthl(ig, l) 1347 ! test: on rajoute un exc ès de q dans la couche alim1369 ! test: on rajoute un exc�s de q dans la couche alim 1348 1370 ! zqta(ig,l)=po(ig,l)+0.001 1349 1371 zqta(ig, l) = po(ig, l) … … 1437 1459 ! if (((f_star(ig,l+1)+detr_star(ig,l)).gt.1.e-10)) then 1438 1460 ! AM on melange Tl et qt du thermique 1439 ! on rajoute un exc ès de T dans la couche alim1461 ! on rajoute un exc�s de T dans la couche alim 1440 1462 ! if (l.lt.lentr(ig)) then 1441 1463 ! ztla(ig,l)=(f_star(ig,l)*ztla(ig,l-1)+ … … 1448 1470 ! s /(f_star(ig,l+1)) 1449 1471 ! endif 1450 ! on rajoute un exc ès de q dans la couche alim1472 ! on rajoute un exc�s de q dans la couche alim 1451 1473 ! if (l.lt.lentr(ig)) then 1452 1474 ! zqta(ig,l)=(f_star(ig,l)*zqta(ig,l-1)+ … … 1689 1711 ! enddo 1690 1712 ! enddo 1691 ! calcul du d étrainement1713 ! calcul du d�trainement 1692 1714 DO ig = 1, klon 1693 1715 DO k = 1, klev … … 1916 1938 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 1917 1939 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 1918 ! d'une couche est égale àla hauteur de la couche alimentante.1940 ! d'une couche est �gale � la hauteur de la couche alimentante. 1919 1941 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 1920 1942 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 1960 1982 ! print*,'10 OK convect8' 1961 1983 ! print*,'WA2 ',wa_moy 1962 ! cal1cul de la fraction de la maille concern ée par l'ascendance en tenant1984 ! cal1cul de la fraction de la maille concern�e par l'ascendance en tenant 1963 1985 ! compte de l'epluchage du thermique. 1964 1986 … … 2320 2342 , r_aspect, l_mix, w2di, tho) 2321 2343 2344 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2345 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2346 , R_ecc, R_peri, R_incl & 2347 , RA, RG, R1SA & 2348 , RSIGMA & 2349 , R, RMD, RMV, RD, RV, RCPD & 2350 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2351 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2352 , RCW, RCS & 2353 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2354 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2355 , RALPD, RBETD, RGAMD 2322 2356 USE dimphy 2323 2357 IMPLICIT NONE … … 2328 2362 ! de "thermiques" explicitement representes 2329 2363 2330 ! R éécriture à partir d'un listing papier àHabas, le 14/02/002331 2332 ! le thermique est suppos é homogène et dissipé par mélange avec2333 ! son environnement. la longueur l_mix contr ôle l'efficacitédu2334 ! m élange2335 2336 ! Le calcul du transport des diff érentes espèces se fait en prenant2364 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 2365 2366 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 2367 ! son environnement. la longueur l_mix contr�le l'efficacit� du 2368 ! m�lange 2369 2370 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 2337 2371 ! en compte: 2338 2372 ! 1. un flux de masse montant … … 2347 2381 ! ------------- 2348 2382 2349 include "YOMCST.h"2350 2383 include "YOETHF.h" 2351 2384 include "FCTTRE.h" … … 2963 2996 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 2964 2997 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 2965 ! d'une couche est égale àla hauteur de la couche alimentante.2998 ! d'une couche est �gale � la hauteur de la couche alimentante. 2966 2999 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 2967 3000 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 2998 3031 ! print*,'10 OK convect8' 2999 3032 ! print*,'WA2 ',wa_moy 3000 ! calcul de la fraction de la maille concern ée par l'ascendance en tenant3033 ! calcul de la fraction de la maille concern�e par l'ascendance en tenant 3001 3034 ! compte de l'epluchage du thermique. 3002 3035 … … 3251 3284 , r_aspect, l_mix, w2di, tho) 3252 3285 3286 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 3287 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 3288 , R_ecc, R_peri, R_incl & 3289 , RA, RG, R1SA & 3290 , RSIGMA & 3291 , R, RMD, RMV, RD, RV, RCPD & 3292 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 3293 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 3294 , RCW, RCS & 3295 , RLVTT, RLSTT, RLMLT, RTT, RATM & 3296 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 3297 , RALPD, RBETD, RGAMD 3253 3298 USE dimphy 3254 3299 IMPLICIT NONE … … 3259 3304 ! de "thermiques" explicitement representes 3260 3305 3261 ! R éécriture à partir d'un listing papier àHabas, le 14/02/003262 3263 ! le thermique est suppos é homogène et dissipé par mélange avec3264 ! son environnement. la longueur l_mix contr ôle l'efficacitédu3265 ! m élange3266 3267 ! Le calcul du transport des diff érentes espèces se fait en prenant3306 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 3307 3308 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 3309 ! son environnement. la longueur l_mix contr�le l'efficacit� du 3310 ! m�lange 3311 3312 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 3268 3313 ! en compte: 3269 3314 ! 1. un flux de masse montant … … 3278 3323 ! ------------- 3279 3324 3280 include "YOMCST.h"3281 3325 3282 3326 ! arguments: … … 3741 3785 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 3742 3786 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 3743 ! d'une couche est égale àla hauteur de la couche alimentante.3787 ! d'une couche est �gale � la hauteur de la couche alimentante. 3744 3788 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 3745 3789 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 3779 3823 ! print*,'10 OK convect8' 3780 3824 ! print*,'WA2 ',wa_moy 3781 ! calcul de la fraction de la maille concern ée par l'ascendance en tenant3825 ! calcul de la fraction de la maille concern�e par l'ascendance en tenant 3782 3826 ! compte de l'epluchage du thermique. 3783 3827 … … 4126 4170 4127 4171 SUBROUTINE dqthermcell(ngrid, nlay, ptimestep, fm, entr, masse, q, dq, qa) 4172 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4173 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 4174 , R_ecc, R_peri, R_incl & 4175 , RA, RG, R1SA & 4176 , RSIGMA & 4177 , R, RMD, RMV, RD, RV, RCPD & 4178 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 4179 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 4180 , RCW, RCS & 4181 , RLVTT, RLSTT, RLMLT, RTT, RATM & 4182 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 4183 , RALPD, RBETD, RGAMD 4128 4184 USE dimphy 4129 4185 IMPLICIT NONE … … 4270 4326 DO ig = 1, ngrid 4271 4327 IF ((fm(ig,k+1)+detr(ig,k))*ptimestep>1.E-5*masse(ig,k)) THEN 4272 ! On it ère sur la valeur du coeff de freinage.4328 ! On it�re sur la valeur du coeff de freinage. 4273 4329 ! gamma0=rho(ig,k)*(zlev(ig,k+1)-zlev(ig,k)) 4274 4330 gamma0 = masse(ig, k)*sqrt(0.5*(fraca(ig,k+1)+fraca(ig, & 4275 4331 k)))*0.5/larga(ig) 4276 4332 ! gamma0=0. 4277 ! la premi ère fois on multiplie le coefficient de freinage4333 ! la premi�re fois on multiplie le coefficient de freinage 4278 4334 ! par le module du vent dans la couche en dessous. 4279 4335 dua = ua(ig, k-1) - u(ig, k-1) … … 4451 4507 DO ig = 1, ngrid 4452 4508 IF ((fm(ig,k+1)+detr(ig,k))*ptimestep>1.E-5*masse(ig,k)) THEN 4453 ! On it ère sur la valeur du coeff de freinage.4509 ! On it�re sur la valeur du coeff de freinage. 4454 4510 ! gamma0=rho(ig,k)*(zlev(ig,k+1)-zlev(ig,k)) 4455 4511 gamma0 = masse(ig, k)*sqrt(0.5*(fraca(ig,k+1)+fraca(ig, & … … 4460 4516 zf = 0. 4461 4517 zf2 = 1./(1.-zf) 4462 ! la premi ère fois on multiplie le coefficient de freinage4518 ! la premi�re fois on multiplie le coefficient de freinage 4463 4519 ! par le module du vent dans la couche en dessous. 4464 4520 dua = ua(ig, k-1) - u(ig, k-1) … … 4521 4577 4522 4578 USE dimphy 4579 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4580 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 4581 , R_ecc, R_peri, R_incl & 4582 , RA, RG, R1SA & 4583 , RSIGMA & 4584 , R, RMD, RMV, RD, RV, RCPD & 4585 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 4586 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 4587 , RCW, RCS & 4588 , RLVTT, RLSTT, RLMLT, RTT, RATM & 4589 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 4590 , RALPD, RBETD, RGAMD 4523 4591 IMPLICIT NONE 4524 4592 … … 4528 4596 ! de "thermiques" explicitement representes 4529 4597 4530 ! R éécriture à partir d'un listing papier àHabas, le 14/02/004531 4532 ! le thermique est suppos é homogène et dissipé par mélange avec4533 ! son environnement. la longueur l_mix contr ôle l'efficacitédu4534 ! m élange4535 4536 ! Le calcul du transport des diff érentes espèces se fait en prenant4598 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 4599 4600 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 4601 ! son environnement. la longueur l_mix contr�le l'efficacit� du 4602 ! m�lange 4603 4604 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 4537 4605 ! en compte: 4538 4606 ! 1. un flux de masse montant … … 4547 4615 ! ------------- 4548 4616 4549 include "YOMCST.h"4550 4617 4551 4618 ! arguments: … … 5023 5090 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 5024 5091 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 5025 ! d'une couche est égale àla hauteur de la couche alimentante.5092 ! d'une couche est �gale � la hauteur de la couche alimentante. 5026 5093 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 5027 5094 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 5068 5135 ! print*,'10 OK convect8' 5069 5136 ! print*,'WA2 ',wa_moy 5070 ! calcul de la fraction de la maille concern ée par l'ascendance en tenant5137 ! calcul de la fraction de la maille concern�e par l'ascendance en tenant 5071 5138 ! compte de l'epluchage du thermique. 5072 5139 … … 5350 5417 , r_aspect, l_mix, w2di, tho) 5351 5418 5419 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5420 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 5421 , R_ecc, R_peri, R_incl & 5422 , RA, RG, R1SA & 5423 , RSIGMA & 5424 , R, RMD, RMV, RD, RV, RCPD & 5425 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 5426 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 5427 , RCW, RCS & 5428 , RLVTT, RLSTT, RLMLT, RTT, RATM & 5429 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 5430 , RALPD, RBETD, RGAMD 5352 5431 USE dimphy 5353 5432 IMPLICIT NONE … … 5358 5437 ! de "thermiques" explicitement representes 5359 5438 5360 ! R éécriture à partir d'un listing papier àHabas, le 14/02/005361 5362 ! le thermique est suppos é homogène et dissipé par mélange avec5363 ! son environnement. la longueur l_mix contr ôle l'efficacitédu5364 ! m élange5365 5366 ! Le calcul du transport des diff érentes espèces se fait en prenant5439 ! R��criture � partir d'un listing papier � Habas, le 14/02/00 5440 5441 ! le thermique est suppos� homog�ne et dissip� par m�lange avec 5442 ! son environnement. la longueur l_mix contr�le l'efficacit� du 5443 ! m�lange 5444 5445 ! Le calcul du transport des diff�rentes esp�ces se fait en prenant 5367 5446 ! en compte: 5368 5447 ! 1. un flux de masse montant … … 5377 5456 ! ------------- 5378 5457 5379 include "YOMCST.h"5380 5458 5381 5459 ! arguments: … … 5677 5755 END IF 5678 5756 END DO 5679 ! d étermination du lalim correspondant5757 ! d�termination du lalim correspondant 5680 5758 DO k = 1, klev - 1 5681 5759 DO ig = 1, ngrid … … 5869 5947 ! write(8,*)zmax(ig),lmax(ig),lentr(ig),lmin(ig) 5870 5948 END DO 5871 ! on stope apr ès les calculs de zmax et wmax5949 ! on stope apr�s les calculs de zmax et wmax 5872 5950 RETURN 5873 5951 5874 5952 ! print*,'avant fermeture' 5875 5953 ! Fermeture,determination de f 5876 ! Attention! entrainement normalis éou pas?5954 ! Attention! entrainement normalis� ou pas? 5877 5955 DO ig = 1, ngrid 5878 5956 entr_star2(ig) = 0. … … 5899 5977 END DO 5900 5978 ! print*,'apres fermeture' 5901 ! on stoppe apr ès la fermeture5979 ! on stoppe apr�s la fermeture 5902 5980 RETURN 5903 5981 ! Calcul de l'entrainement … … 5907 5985 END DO 5908 5986 END DO 5909 ! on stoppe apr ès le calcul de entr5987 ! on stoppe apr�s le calcul de entr 5910 5988 ! RETURN 5911 5989 ! CR:test pour entrainer moins que la masse … … 5937 6015 ! calcul de la largeur de chaque ascendance dans le cas conservatif. 5938 6016 ! dans ce cas simple, on suppose que la largeur de l'ascendance provenant 5939 ! d'une couche est égale àla hauteur de la couche alimentante.6017 ! d'une couche est �gale � la hauteur de la couche alimentante. 5940 6018 ! La vitesse maximale dans l'ascendance est aussi prise comme estimation 5941 6019 ! de la vitesse d'entrainement horizontal dans la couche alimentante. … … 5982 6060 ! print*,'10 OK convect8' 5983 6061 ! print*,'WA2 ',wa_moy 5984 ! calcul de la fraction de la maille concern ée par l'ascendance en tenant6062 ! calcul de la fraction de la maille concern�e par l'ascendance en tenant 5985 6063 ! compte de l'epluchage du thermique. 5986 6064 … … 6337 6415 6338 6416 USE dimphy 6339 IMPLICIT NONE 6340 6341 include "YOMCST.h" 6417 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6418 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6419 , R_ecc, R_peri, R_incl & 6420 , RA, RG, R1SA & 6421 , RSIGMA & 6422 , R, RMD, RMV, RD, RV, RCPD & 6423 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 6424 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 6425 , RCW, RCS & 6426 , RLVTT, RLSTT, RLMLT, RTT, RATM & 6427 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 6428 , RALPD, RBETD, RGAMD 6429 IMPLICIT NONE 6430 6431 6342 6432 6343 6433 INTEGER ngrid, nlay -
LMDZ6/trunk/libf/phylmd/lmdz_thermcell_qsat.f90
r5268 r5274 3 3 4 4 subroutine thermcell_qsat(klon,active,pplev,ztemp,zqta,zqsat) 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 implicit none 6 18 7 INCLUDE "YOMCST.h" 19 8 20 INCLUDE "YOETHF.h" 9 21 INCLUDE "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/lsc_scav.f90
r5268 r5274 12 12 USE infotrac_phy,ONLY : nbtr 13 13 USE iophy 14 IMPLICIT NONE 14 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 15 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 16 , R_ecc, R_peri, R_incl & 17 , RA, RG, R1SA & 18 , RSIGMA & 19 , R, RMD, RMV, RD, RV, RCPD & 20 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 21 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 22 , RCW, RCS & 23 , RLVTT, RLSTT, RLMLT, RTT, RATM & 24 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 25 , RALPD, RBETD, RGAMD 26 IMPLICIT NONE 15 27 !===================================================================== 16 28 ! Objet : depot humide (lessivage et evaporation) de traceurs … … 21 33 22 34 include "chem.h" 23 include "YOMCST.h" 35 24 36 include "YOECUMF.h" 25 37 -
LMDZ6/trunk/libf/phylmd/macv2sp.f90
r5268 r5274 20 20 !!USE YOMCST, ONLY : RD, RG 21 21 ! 22 IMPLICIT NONE 22 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 23 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 24 , R_ecc, R_peri, R_incl & 25 , RA, RG, R1SA & 26 , RSIGMA & 27 , R, RMD, RMV, RD, RV, RCPD & 28 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 29 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 30 , RCW, RCS & 31 , RLVTT, RLSTT, RLMLT, RTT, RATM & 32 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 33 , RALPD, RBETD, RGAMD 34 IMPLICIT NONE 23 35 ! 24 include "YOMCST.h" 36 25 37 ! 26 38 REAL,DIMENSION(klon),INTENT(IN) :: pphis ! Geopotentiel de surface -
LMDZ6/trunk/libf/phylmd/methox.f90
r5268 r5274 63 63 & RALPHA3, RLOGPPH 64 64 65 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 66 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 67 , R_ecc, R_peri, R_incl & 68 , RA, RG, R1SA & 69 , RSIGMA & 70 , R, RMD, RMV, RD, RV, RCPD & 71 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 72 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 73 , RCW, RCS & 74 , RLVTT, RLSTT, RLMLT, RTT, RATM & 75 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 76 , RALPD, RBETD, RGAMD 65 77 IMPLICIT NONE 66 78 67 INCLUDE "YOMCST.h" 79 68 80 69 81 INTEGER,INTENT(IN) :: KLON -
LMDZ6/trunk/libf/phylmd/moyglo_aire.f90
r5268 r5274 4 4 SUBROUTINE moyglo_pondaire(nhori, champ, aire, ok_msk, msk, moyglo) 5 5 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 USE dimphy 7 19 IMPLICIT NONE … … 62 74 SUBROUTINE moyglo_pondaima(nhori, nvert, champ, aire, pbord, moyglo) 63 75 USE dimphy 76 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 77 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 78 , R_ecc, R_peri, R_incl & 79 , RA, RG, R1SA & 80 , RSIGMA & 81 , R, RMD, RMV, RD, RV, RCPD & 82 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 83 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 84 , RCW, RCS & 85 , RLVTT, RLSTT, RLMLT, RTT, RATM & 86 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 87 , RALPD, RBETD, RGAMD 64 88 IMPLICIT NONE 65 89 ! ================================================================== … … 72 96 73 97 ! ================================================================== 74 include "YOMCST.h"75 98 INTEGER i, k, nhori, nvert 76 99 REAL champ(klon, klev), aire(klon) … … 105 128 SUBROUTINE moyglo_pondmass(nhori, nvert, champ, aire, pbord, moyglo) 106 129 USE dimphy 130 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 131 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 132 , R_ecc, R_peri, R_incl & 133 , RA, RG, R1SA & 134 , RSIGMA & 135 , R, RMD, RMV, RD, RV, RCPD & 136 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 137 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 138 , RCW, RCS & 139 , RLVTT, RLSTT, RLMLT, RTT, RATM & 140 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 141 , RALPD, RBETD, RGAMD 107 142 IMPLICIT NONE 108 143 ! ================================================================== … … 115 150 116 151 ! ================================================================== 117 include "YOMCST.h"118 152 INTEGER i, k, nhori, nvert 119 153 REAL champ(klon, klev), aire(klon) -
LMDZ6/trunk/libf/phylmd/nflxtr.f90
r5268 r5274 4 4 SUBROUTINE nflxtr(pdtime,pmfu,pmfd,pen_u,pde_u,pen_d,pde_d,pplay,paprs,x,dx) 5 5 USE dimphy 6 IMPLICIT NONE 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 18 IMPLICIT NONE 7 19 !===================================================================== 8 ! Objet : Melange convectif de traceurs a partir des flux de masse 20 ! Objet : Melange convectif de traceurs a partir des flux de masse 9 21 ! Date : 13/12/1996 -- 13/01/97 10 22 ! Auteur: O. Boucher (LOA) sur inspiration de Z. X. Li (LMD), 11 23 ! Brinkop et Sausen (1996) et Boucher et al. (1996). 12 ! ATTENTION : meme si cette routine se veut la plus generale possible, 13 ! elle a herite de certaines notations et conventions du 24 ! ATTENTION : meme si cette routine se veut la plus generale possible, 25 ! elle a herite de certaines notations et conventions du 14 26 ! schema de Tiedtke (1993). 15 27 ! 1. En particulier, les couches sont numerotees de haut en bas !!! 16 28 ! Ceci est valable pour les flux 17 29 ! mais pas pour les entrees x, pplay, paprs !!!! 18 ! 2. pmfu est positif, pmfd est negatif 19 ! 3. Tous les flux d'entrainements et de detrainements sont positifs 20 ! contrairement au schema de Tiedtke d'ou les changements de signe!!!! 30 ! 2. pmfu est positif, pmfd est negatif 31 ! 3. Tous les flux d'entrainements et de detrainements sont positifs 32 ! contrairement au schema de Tiedtke d'ou les changements de signe!!!! 21 33 !===================================================================== 22 34 ! 23 include "YOMCST.h" 35 24 36 include "YOECUMF.h" 25 37 -
LMDZ6/trunk/libf/phylmd/nonlocal.f90
r5268 r5274 6 6 pcfh, pcfm, cgh, cgq) 7 7 USE dimphy 8 IMPLICIT NONE 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 9 21 ! ====================================================================== 10 22 ! Laurent Li (LMD/CNRS), le 30 septembre 1998 … … 20 32 ! model. J. of Climate, vol. 6, 1825-1842. 21 33 ! ====================================================================== 22 include "YOMCST.h" 34 23 35 24 36 ! Arguments: -
LMDZ6/trunk/libf/phylmd/nuage.f90
r5268 r5274 4 4 pct, pctlwp, ok_aie, mass_solu_aero, mass_solu_aero_pi, bl95_b0, bl95_b1, distcltop, & 5 5 temp_cltop, cldtaupi, re, fl) 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 USE dimphy 7 19 USE lmdz_lscp_tools, only: icefrac_lscp … … 38 50 ! ====================================================================== 39 51 40 include "YOMCST.h"41 52 include "nuage.h" ! JBM 3/14 42 53 include "clesphys.h" … … 260 271 SUBROUTINE diagcld1(paprs, pplay, rain, snow, kbot, ktop, diafra, dialiq) 261 272 USE dimphy 262 IMPLICIT NONE 273 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 274 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 275 , R_ecc, R_peri, R_incl & 276 , RA, RG, R1SA & 277 , RSIGMA & 278 , R, RMD, RMV, RD, RV, RCPD & 279 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 280 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 281 , RCW, RCS & 282 , RLVTT, RLSTT, RLMLT, RTT, RATM & 283 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 284 , RALPD, RBETD, RGAMD 285 IMPLICIT NONE 263 286 264 287 ! Laurent Li (LMD/CNRS), le 12 octobre 1998 … … 269 292 ! ces nuages. Je dois avouer que c'est une frustration. 270 293 271 include "YOMCST.h" 294 272 295 273 296 ! Arguments d'entree: … … 342 365 SUBROUTINE diagcld2(paprs, pplay, t, q, diafra, dialiq) 343 366 USE dimphy 344 IMPLICIT NONE 345 346 include "YOMCST.h" 367 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 368 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 369 , R_ecc, R_peri, R_incl & 370 , RA, RG, R1SA & 371 , RSIGMA & 372 , R, RMD, RMV, RD, RV, RCPD & 373 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 374 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 375 , RCW, RCS & 376 , RLVTT, RLSTT, RLMLT, RTT, RATM & 377 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 378 , RALPD, RBETD, RGAMD 379 IMPLICIT NONE 380 381 347 382 348 383 ! Arguments d'entree: -
LMDZ6/trunk/libf/phylmd/ocean_cpl_mod.f90
r5268 r5274 67 67 USE indice_sol_mod 68 68 USE phys_output_var_mod, ONLY : sens_prec_liq_o, sens_prec_sol_o, lat_prec_liq_o, lat_prec_sol_o 69 USE cpl_mod, ONLY : gath2cpl, cpl_receive_ocean_fields, & 69 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 70 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 71 , R_ecc, R_peri, R_incl & 72 , RA, RG, R1SA & 73 , RSIGMA & 74 , R, RMD, RMV, RD, RV, RCPD & 75 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 76 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 77 , RCW, RCS & 78 , RLVTT, RLSTT, RLMLT, RTT, RATM & 79 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 80 , RALPD, RBETD, RGAMD 81 USE cpl_mod, ONLY : gath2cpl, cpl_receive_ocean_fields, & 70 82 cpl_send_ocean_fields 71 83 use config_ocean_skin_m, only: activate_ocean_skin 72 84 73 INCLUDE "YOMCST.h" 85 74 86 INCLUDE "clesphys.h" 75 87 ! … … 254 266 ! some fields to the coupler. 255 267 ! 256 USE dimphy, ONLY : klon 268 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 269 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 270 , R_ecc, R_peri, R_incl & 271 , RA, RG, R1SA & 272 , RSIGMA & 273 , R, RMD, RMV, RD, RV, RCPD & 274 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 275 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 276 , RCW, RCS & 277 , RLVTT, RLSTT, RLMLT, RTT, RATM & 278 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 279 , RALPD, RBETD, RGAMD 280 USE dimphy, ONLY : klon 257 281 USE cpl_mod 258 282 USE calcul_fluxs_mod … … 260 284 USE phys_output_var_mod, ONLY : sens_prec_liq_o, sens_prec_sol_o, lat_prec_liq_o, lat_prec_sol_o 261 285 262 INCLUDE "YOMCST.h" 286 263 287 INCLUDE "clesphys.h" 264 288 -
LMDZ6/trunk/libf/phylmd/ocean_forced_mod.F90
r5273 r5274 50 50 #endif 51 51 #endif 52 53 INCLUDE "YOMCST.h" 52 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 53 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 54 , R_ecc, R_peri, R_incl & 55 , RA, RG, R1SA & 56 , RSIGMA & 57 , R, RMD, RMV, RD, RV, RCPD & 58 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 59 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 60 , RCW, RCS & 61 , RLVTT, RLSTT, RLMLT, RTT, RATM & 62 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 63 , RALPD, RBETD, RGAMD 54 64 INCLUDE "clesphys.h" 55 65 INCLUDE "flux_arp.h" … … 276 286 #endif 277 287 #endif 278 USE dimsoil_mod_h, ONLY: nsoilmx 288 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 289 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 290 , R_ecc, R_peri, R_incl & 291 , RA, RG, R1SA & 292 , RSIGMA & 293 , R, RMD, RMV, RD, RV, RCPD & 294 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 295 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 296 , RCW, RCS & 297 , RLVTT, RLSTT, RLMLT, RTT, RATM & 298 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 299 , RALPD, RBETD, RGAMD 300 USE dimsoil_mod_h, ONLY: nsoilmx 279 301 280 302 ! INCLUDE "indicesol.h" 281 INCLUDE "YOMCST.h" 303 282 304 INCLUDE "clesphys.h" 283 305 INCLUDE "flux_arp.h" -
LMDZ6/trunk/libf/phylmd/ocean_slab_mod.f90
r5268 r5274 682 682 tsurf_new, dflux_s, dflux_l, swnet) 683 683 684 USE calcul_fluxs_mod 685 686 INCLUDE "YOMCST.h" 684 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 685 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 686 , R_ecc, R_peri, R_incl & 687 , RA, RG, R1SA & 688 , RSIGMA & 689 , R, RMD, RMV, RD, RV, RCPD & 690 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 691 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 692 , RCW, RCS & 693 , RLVTT, RLSTT, RLMLT, RTT, RATM & 694 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 695 , RALPD, RBETD, RGAMD 696 USE calcul_fluxs_mod 697 698 687 699 INCLUDE "clesphys.h" 688 700 -
LMDZ6/trunk/libf/phylmd/orbite.f90
r5268 r5274 4 4 ! ====================================================================== 5 5 SUBROUTINE orbite(xjour, longi, dist) 6 IMPLICIT NONE 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 18 IMPLICIT NONE 7 19 ! ====================================================================== 8 20 ! Auteur(s): Z.X. Li (LMD/CNRS) (adapte du GCM du LMD) date: 19930818 … … 18 30 REAL xjour, longi, dist 19 31 ! ====================================================================== 20 include "YOMCST.h" 32 21 33 22 34 ! -- Variables dynamiques locales … … 48 60 SUBROUTINE angle(longi, lati, frac, muzero) 49 61 USE dimphy 50 IMPLICIT NONE 62 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 63 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 64 , R_ecc, R_peri, R_incl & 65 , RA, RG, R1SA & 66 , RSIGMA & 67 , R, RMD, RMV, RD, RV, RCPD & 68 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 69 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 70 , RCW, RCS & 71 , RLVTT, RLSTT, RLMLT, RTT, RATM & 72 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 73 , RALPD, RBETD, RGAMD 74 IMPLICIT NONE 51 75 ! ====================================================================== 52 76 ! Auteur(s): Z.X. Li (LMD/CNRS) date: 19930818 … … 65 89 REAL longi 66 90 REAL lati(klon), frac(klon), muzero(klon) 67 include "YOMCST.h" 91 68 92 REAL lat, omega, lon_sun, lat_sun 69 93 REAL pi_local, incl … … 104 128 SUBROUTINE zenang(longi, gmtime, pdtrad1, pdtrad2, lat, long, pmu0, frac) 105 129 USE dimphy 106 IMPLICIT NONE 130 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 131 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 132 , R_ecc, R_peri, R_incl & 133 , RA, RG, R1SA & 134 , RSIGMA & 135 , R, RMD, RMV, RD, RV, RCPD & 136 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 137 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 138 , RCW, RCS & 139 , RLVTT, RLSTT, RLMLT, RTT, RATM & 140 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 141 , RALPD, RBETD, RGAMD 142 IMPLICIT NONE 107 143 ! ============================================================= 108 144 ! Auteur : O. Boucher (LMD/CNRS) … … 114 150 ! fournit des moyennes de pmu0 et non des valeurs 115 151 ! instantanees, du coup frac prend toutes les valeurs 116 ! entre 0 et 1. La routine integre entre gmtime+pdtrad1 et 152 ! entre 0 et 1. La routine integre entre gmtime+pdtrad1 et 117 153 ! gmtime+pdtrad2 avec pdtrad1 et pdtrad2 exprimes en secondes. 118 154 ! Date : premiere version le 13 decembre 1994 … … 131 167 ! frac-----OUTPUT: ensoleillement moyen entre gmtime+pdtrad1 et gmtime+pdtrad2 132 168 ! ================================================================ 133 include "YOMCST.h" 169 134 170 ! ================================================================ 135 171 REAL, INTENT (IN) :: longi, gmtime, pdtrad1, pdtrad2 … … 236 272 SUBROUTINE zenith(longi, gmtime, lat, long, pmu0, fract) 237 273 USE dimphy 238 IMPLICIT NONE 274 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 275 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 276 , R_ecc, R_peri, R_incl & 277 , RA, RG, R1SA & 278 , RSIGMA & 279 , R, RMD, RMV, RD, RV, RCPD & 280 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 281 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 282 , RCW, RCS & 283 , RLVTT, RLSTT, RLMLT, RTT, RATM & 284 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 285 , RALPD, RBETD, RGAMD 286 IMPLICIT NONE 239 287 240 288 ! Auteur(s): Z.X. Li (LMD/ENS) … … 253 301 254 302 ! ==================================================================== 255 include "YOMCST.h" 303 256 304 ! ==================================================================== 257 305 REAL longi, gmtime -
LMDZ6/trunk/libf/phylmd/orografi.f90
r5268 r5274 7 7 8 8 USE dimphy 9 IMPLICIT NONE 9 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 10 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 11 , R_ecc, R_peri, R_incl & 12 , RA, RG, R1SA & 13 , RSIGMA & 14 , R, RMD, RMV, RD, RV, RCPD & 15 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 16 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 17 , RCW, RCS & 18 , RLVTT, RLSTT, RLMLT, RTT, RATM & 19 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 20 , RALPD, RBETD, RGAMD 21 IMPLICIT NONE 10 22 ! ====================================================================== 11 23 ! Auteur(s): F.Lott (LMD/CNRS) date: 19950201 … … 24 36 ! d_v-----output-R-increment de la vitesse v 25 37 ! ====================================================================== 26 include "YOMCST.h" 38 27 39 28 40 ! ARGUMENTS … … 119 131 , pulow, pvlow, pvom, pvol, pte) 120 132 133 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 134 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 135 , R_ecc, R_peri, R_incl & 136 , RA, RG, R1SA & 137 , RSIGMA & 138 , R, RMD, RMV, RD, RV, RCPD & 139 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 140 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 141 , RCW, RCS & 142 , RLVTT, RLSTT, RLMLT, RTT, RATM & 143 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 144 , RALPD, RBETD, RGAMD 121 145 USE dimphy 122 146 IMPLICIT NONE … … 169 193 170 194 171 include "YOMCST.h"172 195 include "YOEGWD.h" 173 196 ! ----------------------------------------------------------------------- … … 397 420 ! ----------------------------------------------------------------------- 398 421 USE dimphy 399 IMPLICIT NONE 400 401 402 include "YOMCST.h" 422 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 423 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 424 , R_ecc, R_peri, R_incl & 425 , RA, RG, R1SA & 426 , RSIGMA & 427 , R, RMD, RMV, RD, RV, RCPD & 428 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 429 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 430 , RCW, RCS & 431 , RLVTT, RLSTT, RLMLT, RTT, RATM & 432 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 433 , RALPD, RBETD, RGAMD 434 IMPLICIT NONE 435 436 437 403 438 include "YOEGWD.h" 404 439 … … 842 877 ! ----------------------------------------------------------------------- 843 878 USE dimphy 844 IMPLICIT NONE 845 include "YOMCST.h" 879 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 880 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 881 , R_ecc, R_peri, R_incl & 882 , RA, RG, R1SA & 883 , RSIGMA & 884 , R, RMD, RMV, RD, RV, RCPD & 885 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 886 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 887 , RCW, RCS & 888 , RLVTT, RLSTT, RLMLT, RTT, RATM & 889 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 890 , RALPD, RBETD, RGAMD 891 IMPLICIT NONE 892 846 893 include "YOEGWD.h" 847 894 … … 967 1014 ! ----------------------------------------------------------------------- 968 1015 USE dimphy 969 IMPLICIT NONE 970 971 972 973 974 include "YOMCST.h" 1016 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1017 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1018 , R_ecc, R_peri, R_incl & 1019 , RA, RG, R1SA & 1020 , RSIGMA & 1021 , R, RMD, RMV, RD, RV, RCPD & 1022 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1023 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1024 , RCW, RCS & 1025 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1026 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1027 , RALPD, RBETD, RGAMD 1028 IMPLICIT NONE 1029 1030 1031 1032 1033 975 1034 include "YOEGWD.h" 976 1035 … … 1182 1241 1183 1242 USE dimphy 1184 IMPLICIT NONE 1243 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1244 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1245 , R_ecc, R_peri, R_incl & 1246 , RA, RG, R1SA & 1247 , RSIGMA & 1248 , R, RMD, RMV, RD, RV, RCPD & 1249 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1250 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1251 , RCW, RCS & 1252 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1253 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1254 , RALPD, RBETD, RGAMD 1255 IMPLICIT NONE 1185 1256 ! ====================================================================== 1186 1257 ! Auteur(s): F.Lott (LMD/CNRS) date: 19950201 … … 1199 1270 ! d_v-----output-R-increment de la vitesse v 1200 1271 ! ====================================================================== 1201 include "YOMCST.h" 1272 1202 1273 1203 1274 ! ARGUMENTS … … 1309 1380 1310 1381 USE dimphy 1311 IMPLICIT NONE 1312 1313 1314 include "YOMCST.h" 1382 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1383 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1384 , R_ecc, R_peri, R_incl & 1385 , RA, RG, R1SA & 1386 , RSIGMA & 1387 , R, RMD, RMV, RD, RV, RCPD & 1388 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1389 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1390 , RCW, RCS & 1391 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1392 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1393 , RALPD, RBETD, RGAMD 1394 IMPLICIT NONE 1395 1396 1397 1315 1398 include "YOEGWD.h" 1316 1399 ! ----------------------------------------------------------------------- -
LMDZ6/trunk/libf/phylmd/orografi_strato.f90
r5268 r5274 3 3 pustr, pvstr, d_t, d_u, d_v) 4 4 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 USE dimphy 6 18 IMPLICIT NONE … … 62 74 63 75 ! ====================================================================== 64 include "YOMCST.h"65 76 include "YOEGWD.h" 66 77 … … 159 170 , pulow, pvlow, pvom, pvol, pte) 160 171 172 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 173 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 174 , R_ecc, R_peri, R_incl & 175 , RA, RG, R1SA & 176 , RSIGMA & 177 , R, RMD, RMV, RD, RV, RCPD & 178 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 179 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 180 , RCW, RCS & 181 , RLVTT, RLSTT, RLMLT, RTT, RATM & 182 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 183 , RALPD, RBETD, RGAMD 161 184 USE dimphy 162 185 IMPLICIT NONE … … 239 262 240 263 241 include "YOMCST.h"242 264 include "YOEGWD.h" 243 265 … … 544 566 ! ----------------------------------------------------------------------- 545 567 USE dimphy 546 IMPLICIT NONE 547 548 549 include "YOMCST.h" 568 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 569 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 570 , R_ecc, R_peri, R_incl & 571 , RA, RG, R1SA & 572 , RSIGMA & 573 , R, RMD, RMV, RD, RV, RCPD & 574 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 575 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 576 , RCW, RCS & 577 , RLVTT, RLSTT, RLMLT, RTT, RATM & 578 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 579 , RALPD, RBETD, RGAMD 580 IMPLICIT NONE 581 582 583 550 584 include "YOEGWD.h" 551 585 … … 997 1031 ! ----------------------------------------------------------------------- 998 1032 USE dimphy 999 IMPLICIT NONE 1000 1001 include "YOMCST.h" 1033 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1034 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1035 , R_ecc, R_peri, R_incl & 1036 , RA, RG, R1SA & 1037 , RSIGMA & 1038 , R, RMD, RMV, RD, RV, RCPD & 1039 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1040 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1041 , RCW, RCS & 1042 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1043 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1044 , RALPD, RBETD, RGAMD 1045 IMPLICIT NONE 1046 1047 1002 1048 include "YOEGWD.h" 1003 1049 … … 1114 1160 1115 1161 USE dimphy 1116 IMPLICIT NONE 1117 1118 include "YOMCST.h" 1162 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1163 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1164 , R_ecc, R_peri, R_incl & 1165 , RA, RG, R1SA & 1166 , RSIGMA & 1167 , R, RMD, RMV, RD, RV, RCPD & 1168 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1169 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1170 , RCW, RCS & 1171 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1172 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1173 , RALPD, RBETD, RGAMD 1174 IMPLICIT NONE 1175 1176 1119 1177 include "YOEGWD.h" 1120 1178 … … 1290 1348 pvlow, pustr, pvstr, d_t, d_u, d_v) 1291 1349 1350 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1351 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1352 , R_ecc, R_peri, R_incl & 1353 , RA, RG, R1SA & 1354 , RSIGMA & 1355 , R, RMD, RMV, RD, RV, RCPD & 1356 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1357 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1358 , RCW, RCS & 1359 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1360 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1361 , RALPD, RBETD, RGAMD 1292 1362 USE dimphy 1293 1363 IMPLICIT NONE … … 1350 1420 ! ====================================================================== 1351 1421 1352 include "YOMCST.h"1353 1422 include "YOEGWD.h" 1354 1423 … … 1505 1574 1506 1575 USE dimphy 1507 IMPLICIT NONE 1508 1509 1510 include "YOMCST.h" 1576 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1577 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1578 , R_ecc, R_peri, R_incl & 1579 , RA, RG, R1SA & 1580 , RSIGMA & 1581 , R, RMD, RMV, RD, RV, RCPD & 1582 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1583 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1584 , RCW, RCS & 1585 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1586 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1587 , RALPD, RBETD, RGAMD 1588 IMPLICIT NONE 1589 1590 1591 1511 1592 include "YOEGWD.h" 1512 1593 ! ----------------------------------------------------------------------- -
LMDZ6/trunk/libf/phylmd/paramlmdz_phy_mod.F90
r2590 r5274 17 17 USE mod_phys_lmdz_transfert_para, ONLY: gather, bcast 18 18 19 IMPLICIT NONE 19 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 20 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 21 , R_ecc, R_peri, R_incl & 22 , RA, RG, R1SA & 23 , RSIGMA & 24 , R, RMD, RMV, RD, RV, RCPD & 25 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 26 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 27 , RCW, RCS & 28 , RLVTT, RLSTT, RLMLT, RTT, RATM & 29 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 30 , RALPD, RBETD, RGAMD 31 IMPLICIT NONE 20 32 21 33 include "clesphys.h" 22 include "YOMCST.h" 34 23 35 24 36 REAL, INTENT(OUT) :: dtime … … 154 166 #endif 155 167 156 IMPLICIT NONE 168 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 169 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 170 , R_ecc, R_peri, R_incl & 171 , RA, RG, R1SA & 172 , RSIGMA & 173 , R, RMD, RMV, RD, RV, RCPD & 174 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 175 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 176 , RCW, RCS & 177 , RLVTT, RLSTT, RLMLT, RTT, RATM & 178 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 179 , RALPD, RBETD, RGAMD 180 IMPLICIT NONE 157 181 158 182 include "clesphys.h" 159 include "YOMCST.h" 183 160 184 161 185 INTEGER, INTENT(IN) :: itap, nid_ctesGCM -
LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90
r5273 r5274 416 416 USE dimsoil_mod_h, ONLY: nsoilmx 417 417 418 IMPLICIT NONE 419 INCLUDE "YOMCST.h" 418 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 419 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 420 , R_ecc, R_peri, R_incl & 421 , RA, RG, R1SA & 422 , RSIGMA & 423 , R, RMD, RMV, RD, RV, RCPD & 424 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 425 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 426 , RCW, RCS & 427 , RLVTT, RLSTT, RLMLT, RTT, RATM & 428 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 429 , RALPD, RBETD, RGAMD 430 IMPLICIT NONE 431 420 432 INCLUDE "YOETHF.h" 421 433 INCLUDE "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/phyaqua_mod.f90
r5273 r5274 39 39 USE phys_cal_mod , ONLY: calend, year_len_phy => year_len 40 40 USE dimsoil_mod_h, ONLY: nsoilmx 41 IMPLICIT NONE 42 43 include "YOMCST.h" 41 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 42 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 43 , R_ecc, R_peri, R_incl & 44 , RA, RG, R1SA & 45 , RSIGMA & 46 , R, RMD, RMV, RD, RV, RCPD & 47 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 48 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 49 , RCW, RCS & 50 , RLVTT, RLSTT, RLMLT, RTT, RATM & 51 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 52 , RALPD, RBETD, RGAMD 53 IMPLICIT NONE 54 55 44 56 include "clesphys.h" 45 57 … … 395 407 ! ==================================================================== 396 408 SUBROUTINE zenang_an(cycle_diurne, gmtime, rlat, rlon, rmu0, fract) 409 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 410 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 411 , R_ecc, R_peri, R_incl & 412 , RA, RG, R1SA & 413 , RSIGMA & 414 , R, RMD, RMV, RD, RV, RCPD & 415 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 416 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 417 , RCW, RCS & 418 , RLVTT, RLSTT, RLMLT, RTT, RATM & 419 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 420 , RALPD, RBETD, RGAMD 397 421 USE dimphy 398 422 IMPLICIT NONE … … 428 452 ! frac-----OUTPUT: ensoleillement moyen entre gmtime et gmtime+pdtrad 429 453 ! ================================================================ 430 include "YOMCST.h"431 454 ! ================================================================ 432 455 LOGICAL cycle_diurne -
LMDZ6/trunk/libf/phylmd/phyetat0_mod.f90
r5273 r5274 46 46 47 47 48 IMPLICIT none 48 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 49 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 50 , R_ecc, R_peri, R_incl & 51 , RA, RG, R1SA & 52 , RSIGMA & 53 , R, RMD, RMV, RD, RV, RCPD & 54 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 55 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 56 , RCW, RCS & 57 , RLVTT, RLSTT, RLMLT, RTT, RATM & 58 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 59 , RALPD, RBETD, RGAMD 60 IMPLICIT none 49 61 !====================================================================== 50 62 ! Auteur(s) Z.X. Li (LMD/CNRS) date: 19930818 … … 54 66 include "alpale.h" 55 67 include "compbl.h" 56 include "YOMCST.h" 68 57 69 !====================================================================== 58 70 CHARACTER*(*) fichnom -
LMDZ6/trunk/libf/phylmd/phys_output_mod.F90
r5252 r5274 59 59 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_STRATAER 60 60 61 IMPLICIT NONE 61 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 62 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 63 , R_ecc, R_peri, R_incl & 64 , RA, RG, R1SA & 65 , RSIGMA & 66 , R, RMD, RMV, RD, RV, RCPD & 67 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 68 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 69 , RCW, RCS & 70 , RLVTT, RLSTT, RLMLT, RTT, RATM & 71 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 72 , RALPD, RBETD, RGAMD 73 IMPLICIT NONE 62 74 include "clesphys.h" 63 include "YOMCST.h" 75 64 76 65 77 ! ug Nouveaux arguments n\'ecessaires au histwrite_mod: -
LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90
r5267 r5274 476 476 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_STRATAER 477 477 478 IMPLICIT NONE 478 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 479 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 480 , R_ecc, R_peri, R_incl & 481 , RA, RG, R1SA & 482 , RSIGMA & 483 , R, RMD, RMV, RD, RV, RCPD & 484 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 485 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 486 , RCW, RCS & 487 , RLVTT, RLSTT, RLMLT, RTT, RATM & 488 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 489 , RALPD, RBETD, RGAMD 490 IMPLICIT NONE 479 491 480 492 INCLUDE "clesphys.h" 481 493 INCLUDE "alpale.h" 482 494 INCLUDE "compbl.h" 483 INCLUDE "YOMCST.h" 495 484 496 485 497 ! Input -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r5273 r5274 358 358 reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra 359 359 USE output_physiqex_mod, ONLY: output_physiqex 360 360 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 361 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 362 , R_ecc, R_peri, R_incl & 363 , RA, RG, R1SA & 364 , RSIGMA & 365 , R, RMD, RMV, RD, RV, RCPD & 366 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 367 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 368 , RCW, RCS & 369 , RLVTT, RLSTT, RLMLT, RTT, RATM & 370 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 371 , RALPD, RBETD, RGAMD 361 372 362 373 IMPLICIT NONE … … 1171 1182 ! the ozone fields, old method. 1172 1183 1173 include "YOMCST.h"1174 1184 include "YOETHF.h" 1175 1185 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/phytrac_mod.f90
r5268 r5274 151 151 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_STRATAER 152 152 153 IMPLICIT NONE 154 155 INCLUDE "YOMCST.h" 153 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 154 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 155 , R_ecc, R_peri, R_incl & 156 , RA, RG, R1SA & 157 , RSIGMA & 158 , R, RMD, RMV, RD, RV, RCPD & 159 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 160 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 161 , RCW, RCS & 162 , RLVTT, RLSTT, RLMLT, RTT, RATM & 163 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 164 , RALPD, RBETD, RGAMD 165 IMPLICIT NONE 166 167 156 168 INCLUDE "clesphys.h" 157 169 !========================================================================== -
LMDZ6/trunk/libf/phylmd/pppmer.f90
r5268 r5274 64 64 !<http://intra.cnrm.meteo.fr/eac/ARPCLI5.2/doci/code/arpcli5.2/arp/module/yomsta.F90.php#yomsta> , ONLY : RDTDZ1 65 65 66 IMPLICIT NONE 66 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 67 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 68 , R_ecc, R_peri, R_incl & 69 , RA, RG, R1SA & 70 , RSIGMA & 71 , R, RMD, RMV, RD, RV, RCPD & 72 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 73 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 74 , RCW, RCS & 75 , RLVTT, RLSTT, RLMLT, RTT, RATM & 76 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 77 , RALPD, RBETD, RGAMD 78 IMPLICIT NONE 67 79 68 include "YOMCST.h" 80 69 81 !IM INTEGER(KIND=JPIM),INTENT(IN) :: KPROMA 70 82 !IM INTEGER(KIND=JPIM),INTENT(IN) :: KSTART -
LMDZ6/trunk/libf/phylmd/qcheck.f90
r5268 r5274 1 1 FUNCTION qcheck(klon,klev,paprs,q,ql,aire) 2 IMPLICIT none 2 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 3 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 4 , R_ecc, R_peri, R_incl & 5 , RA, RG, R1SA & 6 , RSIGMA & 7 , R, RMD, RMV, RD, RV, RCPD & 8 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 9 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 10 , RCW, RCS & 11 , RLVTT, RLSTT, RLMLT, RTT, RATM & 12 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 13 , RALPD, RBETD, RGAMD 14 IMPLICIT none 3 15 ! 4 16 ! Calculer et imprimer l'eau totale. A utiliser pour verifier 5 17 ! la conservation de l'eau 6 18 ! 7 include "YOMCST.h" 19 8 20 INTEGER,INTENT(IN) :: klon,klev 9 21 REAL,INTENT(IN) :: paprs(klon,klev+1), q(klon,klev), ql(klon,klev) -
LMDZ6/trunk/libf/phylmd/radiation_AR4.f90
r5268 r5274 7 7 USE dimphy 8 8 USE print_control_mod, ONLY: lunout 9 IMPLICIT NONE 10 11 include "YOMCST.h" 9 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 10 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 11 , R_ecc, R_peri, R_incl & 12 , RA, RG, R1SA & 13 , RSIGMA & 14 , R, RMD, RMV, RD, RV, RCPD & 15 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 16 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 17 , RCW, RCS & 18 , RLVTT, RLSTT, RLMLT, RTT, RATM & 19 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 20 , RALPD, RBETD, RGAMD 21 IMPLICIT NONE 22 23 12 24 13 25 ! ------------------------------------------------------------------ … … 313 325 USE radiation_ar4_param, ONLY: zpdh2o, zpdumg, zprh2o, zprumg, rtdh2o, & 314 326 rtdumg, rth2o, rtumg 315 IMPLICIT NONE 327 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 328 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 329 , R_ecc, R_peri, R_incl & 330 , RA, RG, R1SA & 331 , RSIGMA & 332 , R, RMD, RMV, RD, RV, RCPD & 333 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 334 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 335 , RCW, RCS & 336 , RLVTT, RLSTT, RLMLT, RTT, RATM & 337 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 338 , RALPD, RBETD, RGAMD 339 IMPLICIT NONE 316 340 include "radepsi.h" 317 341 include "radopt.h" 318 include "YOMCST.h" 342 319 343 320 344 ! * ARGUMENTS: … … 2124 2148 USE dimphy 2125 2149 USE print_control_mod, ONLY: lunout 2126 IMPLICIT NONE 2150 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2151 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2152 , R_ecc, R_peri, R_incl & 2153 , RA, RG, R1SA & 2154 , RSIGMA & 2155 , R, RMD, RMV, RD, RV, RCPD & 2156 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2157 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2158 , RCW, RCS & 2159 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2160 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2161 , RALPD, RBETD, RGAMD 2162 IMPLICIT NONE 2127 2163 include "raddimlw.h" 2128 include "YOMCST.h" 2164 2129 2165 2130 2166 ! ----------------------------------------------------------------------- … … 2315 2351 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_REPROBUS 2316 2352 2317 IMPLICIT NONE 2353 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2354 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2355 , R_ecc, R_peri, R_incl & 2356 , RA, RG, R1SA & 2357 , RSIGMA & 2358 , R, RMD, RMV, RD, RV, RCPD & 2359 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2360 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2361 , RCW, RCS & 2362 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2363 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2364 , RALPD, RBETD, RGAMD 2365 IMPLICIT NONE 2318 2366 include "raddimlw.h" 2319 include "YOMCST.h" 2367 2320 2368 include "radepsi.h" 2321 2369 include "radopt.h" … … 2678 2726 pfluc, pbint, pbsui, pcts, pcntrb) 2679 2727 USE dimphy 2680 IMPLICIT NONE 2728 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 2729 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 2730 , R_ecc, R_peri, R_incl & 2731 , RA, RG, R1SA & 2732 , RSIGMA & 2733 , R, RMD, RMV, RD, RV, RCPD & 2734 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 2735 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 2736 , RCW, RCS & 2737 , RLVTT, RLSTT, RLMLT, RTT, RATM & 2738 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 2739 , RALPD, RBETD, RGAMD 2740 IMPLICIT NONE 2681 2741 include "raddimlw.h" 2682 include "YOMCST.h" 2742 2683 2743 2684 2744 ! PURPOSE. … … 4540 4600 pgbtop, pcntrb, pcts, pfluc) 4541 4601 USE dimphy 4542 IMPLICIT NONE 4602 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4603 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 4604 , R_ecc, R_peri, R_incl & 4605 , RA, RG, R1SA & 4606 , RSIGMA & 4607 , R, RMD, RMV, RD, RV, RCPD & 4608 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 4609 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 4610 , RCW, RCS & 4611 , RLVTT, RLSTT, RLMLT, RTT, RATM & 4612 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 4613 , RALPD, RBETD, RGAMD 4614 IMPLICIT NONE 4543 4615 include "raddimlw.h" 4544 include "YOMCST.h" 4616 4545 4617 4546 4618 ! ----------------------------------------------------------------------- -
LMDZ6/trunk/libf/phylmd/radlwsw_m.F90
r5252 r5274 86 86 USE interface_lmdz_ecrad 87 87 #endif 88 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 89 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 90 , R_ecc, R_peri, R_incl & 91 , RA, RG, R1SA & 92 , RSIGMA & 93 , R, RMD, RMV, RD, RV, RCPD & 94 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 95 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 96 , RCW, RCS & 97 , RLVTT, RLSTT, RLMLT, RTT, RATM & 98 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 99 , RALPD, RBETD, RGAMD 88 100 89 101 !====================================================================== … … 191 203 ! ============== 192 204 include "YOETHF.h" 193 include "YOMCST.h"194 205 include "clesphys.h" 195 206 -
LMDZ6/trunk/libf/phylmd/readaerosol_interp.f90
r5268 r5274 23 23 USE print_control_mod, ONLY: lunout 24 24 25 IMPLICIT NONE 26 27 INCLUDE "YOMCST.h" 25 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 26 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 27 , R_ecc, R_peri, R_incl & 28 , RA, RG, R1SA & 29 , RSIGMA & 30 , R, RMD, RMV, RD, RV, RCPD & 31 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 32 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 33 , RCW, RCS & 34 , RLVTT, RLSTT, RLMLT, RTT, RATM & 35 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 36 , RALPD, RBETD, RGAMD 37 IMPLICIT NONE 38 39 28 40 INCLUDE "chem.h" 29 41 INCLUDE "clesphys.h" -
LMDZ6/trunk/libf/phylmd/readaerosolstrato.f90
r5268 r5274 17 17 USE print_control_mod, ONLY: prt_level,lunout 18 18 USE lmdz_xios 19 implicit none 20 21 include "YOMCST.h" 19 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 20 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 21 , R_ecc, R_peri, R_incl & 22 , RA, RG, R1SA & 23 , RSIGMA & 24 , R, RMD, RMV, RD, RV, RCPD & 25 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 26 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 27 , RCW, RCS & 28 , RLVTT, RLSTT, RLMLT, RTT, RATM & 29 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 30 , RALPD, RBETD, RGAMD 31 implicit none 32 33 22 34 23 35 ! Variable input -
LMDZ6/trunk/libf/phylmd/readchlorophyll.f90
r5268 r5274 17 17 USE print_control_mod, ONLY: prt_level,lunout 18 18 19 IMPLICIT NONE 19 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 20 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 21 , R_ecc, R_peri, R_incl & 22 , RA, RG, R1SA & 23 , RSIGMA & 24 , R, RMD, RMV, RD, RV, RCPD & 25 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 26 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 27 , RCW, RCS & 28 , RLVTT, RLSTT, RLMLT, RTT, RATM & 29 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 30 , RALPD, RBETD, RGAMD 31 IMPLICIT NONE 20 32 21 INCLUDE "YOMCST.h" 33 22 34 23 35 ! Variable input -
LMDZ6/trunk/libf/phylmd/reevap.f90
r5268 r5274 5 5 USE add_phys_tend_mod, only : fl_cor_ebil 6 6 7 IMPLICIT none 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 IMPLICIT none 8 20 !>====================================================================== 9 21 … … 16 28 17 29 !--------Stochastic Boundary Layer Triggering: ALE_BL-------- 18 !---Propri\'et\'es du thermiques au LCL 19 include "YOMCST.h" 30 !---Propri\'et\'es du thermiques au LCL 31 20 32 include "YOETHF.h" 21 33 include "FCTTRE.h" -
LMDZ6/trunk/libf/phylmd/regr_pr_time_av_m.f90
r5268 r5274 128 128 USE phys_cal_mod, ONLY: calend, year_len, days_elapsed, jH_cur 129 129 USE geometry_mod, ONLY: ind_cell_glo 130 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 131 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 132 , R_ecc, R_peri, R_incl & 133 , RA, RG, R1SA & 134 , RSIGMA & 135 , R, RMD, RMV, RD, RV, RCPD & 136 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 137 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 138 , RCW, RCS & 139 , RLVTT, RLSTT, RLMLT, RTT, RATM & 140 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 141 , RALPD, RBETD, RGAMD 130 142 !------------------------------------------------------------------------------- 131 143 ! Arguments: … … 148 160 ! Local variables: 149 161 include "clesphys.h" 150 include "YOMCST.h" 162 151 163 CHARACTER(LEN=80) :: sub 152 164 CHARACTER(LEN=320) :: str -
LMDZ6/trunk/libf/phylmd/screenc_mod.f90
r5268 r5274 19 19 ustar, testar, qstar, okri, ri1, & 20 20 pref, delu, delte, delq, s_pblh, prain, tsol, pat1) 21 IMPLICIT NONE 22 !----------------------------------------------------------------------- 23 ! 24 ! Objet : calcul "correcteur" des anomalies du vent, de la temperature 25 ! potentielle et de l'humidite relative au niveau de reference zref et 26 ! par rapport au 1er niveau (pour u) ou a la surface (pour theta et q) 21 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 22 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 23 , R_ecc, R_peri, R_incl & 24 , RA, RG, R1SA & 25 , RSIGMA & 26 , R, RMD, RMV, RD, RV, RCPD & 27 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 28 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 29 , RCW, RCS & 30 , RLVTT, RLSTT, RLMLT, RTT, RATM & 31 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 32 , RALPD, RBETD, RGAMD 33 IMPLICIT NONE 34 !----------------------------------------------------------------------- 35 ! 36 ! Objet : calcul "correcteur" des anomalies du vent, de la temperature 37 ! potentielle et de l'humidite relative au niveau de reference zref et 38 ! par rapport au 1er niveau (pour u) ou a la surface (pour theta et q) 27 39 ! a partir des equations de Louis. 28 40 ! … … 47 59 ! testar--input-R- facteur d'echelle pour la temperature potentielle 48 60 ! qstar---input-R- facteur d'echelle pour l'humidite relative 49 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 61 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 50 62 ! et zref par rapport au Ri entre la sfce et la 1ere couche 51 ! ri1-----input-R- nb. Richardson entre la surface et la 1ere couche 63 ! ri1-----input-R- nb. Richardson entre la surface et la 1ere couche 52 64 ! 53 65 ! pref----input-R- pression au niveau de reference … … 57 69 ! 58 70 INTEGER, intent(in) :: klon, knon, nsrf 59 LOGICAL, intent(in) :: zxli, okri 71 LOGICAL, intent(in) :: zxli, okri 60 72 REAL, dimension(klon), intent(in) :: speed, temp, q_zref 61 73 REAL, intent(in) :: zref … … 63 75 REAL, dimension(klon), intent(in) :: qsurf, psol 64 76 REAL, dimension(klon), intent(inout):: z0m, z0h 65 REAL, dimension(klon), intent(in) :: ustar, testar, qstar, ri1 66 67 REAL, dimension(klon), intent(inout) :: s_pblh 68 REAL, dimension(klon), intent(in) :: prain 69 REAL, dimension(klon), intent(in) :: tsol 70 REAL, DIMENSION(klon), INTENT(IN) :: pat1 !pression premier lev 71 ! 72 REAL, dimension(klon), intent(out) :: pref, delu, delte, delq 73 !----------------------------------------------------------------------- 74 include "YOMCST.h" 77 REAL, dimension(klon), intent(in) :: ustar, testar, qstar, ri1 78 79 REAL, dimension(klon), intent(inout) :: s_pblh 80 REAL, dimension(klon), intent(in) :: prain 81 REAL, dimension(klon), intent(in) :: tsol 82 REAL, DIMENSION(klon), INTENT(IN) :: pat1 !pression premier lev 83 ! 84 REAL, dimension(klon), intent(out) :: pref, delu, delte, delq 85 !----------------------------------------------------------------------- 86 75 87 include "flux_arp.h" 76 88 ! … … 122 134 ri1, iri1, & 123 135 pref, delm, delh, zri1, s_pblh, prain, tsol, pat1) 124 IMPLICIT NONE 125 !----------------------------------------------------------------------- 126 ! 127 ! Objet : calcul "correcteur" des anomalies du vent, de la temperature 128 ! potentielle et de l'humidite relative au niveau de reference zref et 129 ! par rapport au 1er niveau (pour u) ou a la surface (pour theta et q) 136 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 137 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 138 , R_ecc, R_peri, R_incl & 139 , RA, RG, R1SA & 140 , RSIGMA & 141 , R, RMD, RMV, RD, RV, RCPD & 142 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 143 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 144 , RCW, RCS & 145 , RLVTT, RLSTT, RLMLT, RTT, RATM & 146 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 147 , RALPD, RBETD, RGAMD 148 IMPLICIT NONE 149 !----------------------------------------------------------------------- 150 ! 151 ! Objet : calcul "correcteur" des anomalies du vent, de la temperature 152 ! potentielle et de l'humidite relative au niveau de reference zref et 153 ! par rapport au 1er niveau (pour u) ou a la surface (pour theta et q) 130 154 ! a partir des equations de Louis. 131 155 ! … … 150 174 ! testar--input-R- facteur d'echelle pour la temperature potentielle 151 175 ! qstar---input-R- facteur d'echelle pour l'humidite relative 152 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 176 ! okri----input-L- TRUE si on veut tester le nb. Richardson entre la sfce 153 177 ! et zref par rapport au Ri entre la sfce et la 1ere couche 154 ! ri1-----input-R- nb. Richardson entre la surface et la 1ere couche 178 ! ri1-----input-R- nb. Richardson entre la surface et la 1ere couche 155 179 ! 156 180 ! pref----input-R- pression au niveau de reference … … 160 184 ! 161 185 INTEGER, intent(in) :: klon, knon, nsrf 162 LOGICAL, intent(in) :: zxli, okri 186 LOGICAL, intent(in) :: zxli, okri 163 187 REAL, dimension(klon), intent(in) :: speed, temp, q_zref 164 188 REAL, intent(in) :: zref 165 189 REAL, dimension(klon), intent(in) :: ts, qsurf, psol 166 190 REAL, dimension(klon), intent(inout) :: z0m, z0h 167 REAL, dimension(klon), intent(in) :: cdrm, cdrh, ri1 168 REAL, dimension(klon), intent(inout) :: s_pblh 169 REAL, dimension(klon), intent(in) :: prain 170 REAL, dimension(klon), intent(in) :: tsol 171 REAL, DIMENSION(klon), INTENT(IN) :: pat1 !pression premier lev 191 REAL, dimension(klon), intent(in) :: cdrm, cdrh, ri1 192 REAL, dimension(klon), intent(inout) :: s_pblh 193 REAL, dimension(klon), intent(in) :: prain 194 REAL, dimension(klon), intent(in) :: tsol 195 REAL, DIMENSION(klon), INTENT(IN) :: pat1 !pression premier lev 172 196 INTEGER, INTENT(IN) :: iri1 ! Richardson de la 1ere couche 173 197 ! 174 198 REAL, dimension(klon), intent(out) :: pref, delm, delh, zri1 175 !171220 REAL, dimension(klon) :: cdram, cdrah, zri1 199 !171220 REAL, dimension(klon) :: cdram, cdrah, zri1 176 200 REAL, dimension(klon) :: cdram, cdrah 177 201 !----------------------------------------------------------------------- 178 include "YOMCST.h" 202 179 203 include "flux_arp.h" 180 204 ! -
LMDZ6/trunk/libf/phylmd/simu_airs.f90
r5268 r5274 1136 1136 USE m_simu_airs 1137 1137 1138 IMPLICIT NONE 1139 1140 include "YOMCST.h" 1138 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1139 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1140 , R_ecc, R_peri, R_incl & 1141 , RA, RG, R1SA & 1142 , RSIGMA & 1143 , R, RMD, RMV, RD, RV, RCPD & 1144 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1145 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1146 , RCW, RCS & 1147 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1148 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1149 , RALPD, RBETD, RGAMD 1150 IMPLICIT NONE 1151 1152 1141 1153 1142 1154 INTEGER,intent(in) :: itap -
LMDZ6/trunk/libf/phylmd/soil.f90
r5273 r5274 5 5 lon, lat, ptsoil, pcapcal, pfluxgrd) 6 6 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 7 19 USE dimphy 8 20 USE mod_phys_lmdz_para … … 43 55 ! with F0 = A + B (Ts(t)) 44 56 ! Capcal = B*dt 45 ! 57 ! 46 58 ! Interface: 47 59 ! ---------- … … 59 71 ! pcapcal(klon) surfacic specific heat (W*m-2*s*K-1) 60 72 ! pfluxgrd(klon) surface diffusive flux from ground (Wm-2) 61 ! 73 ! 62 74 !======================================================================= 63 INCLUDE "YOMCST.h"64 75 INCLUDE "comsoil.h" 65 76 !----------------------------------------------------------------------- -
LMDZ6/trunk/libf/phylmd/solarlong.f90
r5268 r5274 4 4 USE print_control_mod, ONLY: lunout 5 5 6 IMPLICIT NONE 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 18 IMPLICIT NONE 7 19 8 20 ! ======================================================================= … … 46 58 47 59 include "planete.h" 48 include "YOMCST.h" 60 49 61 50 62 ! arguments: -
LMDZ6/trunk/libf/phylmd/stdlevvar_mod.f90
r5268 r5274 5 5 ! of temperature, specific humidity and wind at a reference level 6 6 ! 7 USE cdrag_mod 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 9 , R_ecc, R_peri, R_incl & 10 , RA, RG, R1SA & 11 , RSIGMA & 12 , R, RMD, RMV, RD, RV, RCPD & 13 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 14 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 15 , RCW, RCS & 16 , RLVTT, RLSTT, RLMLT, RTT, RATM & 17 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 18 , RALPD, RBETD, RGAMD 19 USE cdrag_mod 8 20 USE screenp_mod 9 21 USE screenc_mod … … 23 35 !------------------------------------------------------------------------- 24 36 ! 25 ! Objet : calcul de la temperature et l'humidite relative a 2m et du 37 ! Objet : calcul de la temperature et l'humidite relative a 2m et du 26 38 ! module du vent a 10m a partir des relations de Dyer-Businger et 27 39 ! des equations de Louis. 28 40 ! 29 ! Reference : Hess, Colman et McAvaney (1995) 41 ! Reference : Hess, Colman et McAvaney (1995) 30 42 ! 31 43 ! I. Musat, 01.07.2002 … … 72 84 !------------------------------------------------------------------------- 73 85 include "flux_arp.h" 74 include "YOMCST.h"75 86 !IM PLUS 76 87 include "YOETHF.h" … … 319 330 n2mout) 320 331 ! 332 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 333 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 334 , R_ecc, R_peri, R_incl & 335 , RA, RG, R1SA & 336 , RSIGMA & 337 , R, RMD, RMV, RD, RV, RCPD & 338 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 339 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 340 , RCW, RCS & 341 , RLVTT, RLSTT, RLMLT, RTT, RATM & 342 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 343 , RALPD, RBETD, RGAMD 321 344 USE ioipsl_getin_p_mod, ONLY : getin_p 322 345 IMPLICIT NONE 323 346 !------------------------------------------------------------------------- 324 347 ! 325 ! Objet : calcul de la temperature et l'humidite relative a 2m et du 348 ! Objet : calcul de la temperature et l'humidite relative a 2m et du 326 349 ! module du vent a 10m a partir des relations de Dyer-Businger et 327 350 ! des equations de Louis. 328 351 ! 329 ! Reference : Hess, Colman et McAvaney (1995) 352 ! Reference : Hess, Colman et McAvaney (1995) 330 353 ! 331 354 ! I. Musat, 01.07.2002 … … 381 404 !------------------------------------------------------------------------- 382 405 include "flux_arp.h" 383 include "YOMCST.h"384 406 !IM PLUS 385 407 include "YOETHF.h" -
LMDZ6/trunk/libf/phylmd/stratocu_if.f90
r5268 r5274 4 4 USE indice_sol_mod 5 5 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 IMPLICIT NONE 7 19 … … 27 39 REAL, DIMENSION(klon, 4), INTENT(IN) :: pctsrf 28 40 REAL, DIMENSION(klon, klev), INTENT(IN) :: t 29 41 30 42 REAL, DIMENSION(klon), INTENT(OUT) :: weak_inversion 31 43 ! … … 42 54 REAL dthmin(klon), zdthdp 43 55 44 INCLUDE "YOMCST.h" 56 45 57 46 58 ! -
LMDZ6/trunk/libf/phylmd/stratosphere_mask.f90
r5268 r5274 37 37 USE print_control_mod, ONLY: lunout, prt_level 38 38 39 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 40 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 41 , R_ecc, R_peri, R_incl & 42 , RA, RG, R1SA & 43 , RSIGMA & 44 , R, RMD, RMV, RD, RV, RCPD & 45 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 46 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 47 , RCW, RCS & 48 , RLVTT, RLSTT, RLMLT, RTT, RATM & 49 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 50 , RALPD, RBETD, RGAMD 39 51 IMPLICIT NONE 40 52 41 INCLUDE "YOMCST.h" 53 42 54 43 55 REAL, INTENT(IN) :: missing_val ! missing value, also XIOS … … 111 123 ! reference: Reichler, T., M. Dameris, and R. Sausen (GRL, 10.1029/2003GL018240, 2003) 112 124 125 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 126 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 127 , R_ecc, R_peri, R_incl & 128 , RA, RG, R1SA & 129 , RSIGMA & 130 , R, RMD, RMV, RD, RV, RCPD & 131 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 132 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 133 , RCW, RCS & 134 , RLVTT, RLSTT, RLMLT, RTT, RATM & 135 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 136 , RALPD, RBETD, RGAMD 113 137 implicit none 114 138 115 include "YOMCST.h" 139 116 140 117 141 integer,intent(in) :: level -
LMDZ6/trunk/libf/phylmd/suphel.f90
r5268 r5274 4 4 SUBROUTINE suphel 5 5 6 IMPLICIT NONE 7 8 include "YOMCST.h" 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 18 IMPLICIT NONE 19 20 9 21 include "YOETHF.h" 10 22 ! IM cf. JLD -
LMDZ6/trunk/libf/phylmd/surf_land_bucket_mod.F90
r5273 r5274 44 44 #endif 45 45 #endif 46 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 47 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 48 , R_ecc, R_peri, R_incl & 49 , RA, RG, R1SA & 50 , RSIGMA & 51 , R, RMD, RMV, RD, RV, RCPD & 52 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 53 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 54 , RCW, RCS & 55 , RLVTT, RLSTT, RLMLT, RTT, RATM & 56 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 57 , RALPD, RBETD, RGAMD 46 58 USE dimsoil_mod_h, ONLY: nsoilmx 47 59 !**************************************************************************************** 48 ! Bucket calculations for surface. 60 ! Bucket calculations for surface. 49 61 ! 50 62 INCLUDE "clesphys.h" 51 INCLUDE "YOMCST.h"52 63 53 64 ! Input variables -
LMDZ6/trunk/libf/phylmd/surf_land_mod.F90
r5273 r5274 73 73 #endif 74 74 75 USE print_control_mod, ONLY: lunout 75 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 76 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 77 , R_ecc, R_peri, R_incl & 78 , RA, RG, R1SA & 79 , RSIGMA & 80 , R, RMD, RMV, RD, RV, RCPD & 81 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 82 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 83 , RCW, RCS & 84 , RLVTT, RLSTT, RLMLT, RTT, RATM & 85 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 86 , RALPD, RBETD, RGAMD 87 USE print_control_mod, ONLY: lunout 76 88 USE dimsoil_mod_h, ONLY: nsoilmx 77 INCLUDE "YOMCST.h" 89 78 90 INCLUDE "clesphys.h" 79 91 INCLUDE "dimpft.h" -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r4894 r5274 61 61 USE time_phylmdz_mod, ONLY: itau_phy 62 62 #endif 63 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 64 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 65 , R_ecc, R_peri, R_incl & 66 , RA, RG, R1SA & 67 , RSIGMA & 68 , R, RMD, RMV, RD, RV, RCPD & 69 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 70 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 71 , RCW, RCS & 72 , RLVTT, RLSTT, RLMLT, RTT, RATM & 73 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 74 , RALPD, RBETD, RGAMD 63 75 ! 64 76 ! Cette routine sert d'interface entre le modele atmospherique et le … … 113 125 ! qsurf air moisture at surface 114 126 ! 115 INCLUDE "YOMCST.h"116 127 INCLUDE "dimpft.h" 117 128 ! … … 254 265 IF ( .NOT. ALLOCATED(albedo_keep)) THEN 255 266 !ym ALLOCATE(albedo_keep(klon)) 256 !ym bizarre que non allou éen knon precedement267 !ym bizarre que non allou� en knon precedement 257 268 ALLOCATE(albedo_keep(knon)) 258 269 ALLOCATE(zlev(knon)) -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_nofrein_mod.F90
r4894 r5274 60 60 USE time_phylmdz_mod, ONLY: itau_phy 61 61 #endif 62 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 63 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 64 , R_ecc, R_peri, R_incl & 65 , RA, RG, R1SA & 66 , RSIGMA & 67 , R, RMD, RMV, RD, RV, RCPD & 68 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 69 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 70 , RCW, RCS & 71 , RLVTT, RLSTT, RLMLT, RTT, RATM & 72 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 73 , RALPD, RBETD, RGAMD 62 74 ! 63 75 ! Cette routine sert d'interface entre le modele atmospherique et le … … 113 125 ! qsurf air moisture at surface 114 126 ! 115 INCLUDE "YOMCST.h"116 127 INCLUDE "dimpft.h" 117 128 INCLUDE "compbl.h" … … 242 253 IF ( .NOT. ALLOCATED(albedo_keep)) THEN 243 254 !ym ALLOCATE(albedo_keep(klon)) 244 !ym bizarre que non allou éen knon precedement255 !ym bizarre que non allou� en knon precedement 245 256 ALLOCATE(albedo_keep(knon)) 246 257 ALLOCATE(zlev(knon)) -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_nolic_mod.F90
r4894 r5274 57 57 USE time_phylmdz_mod, ONLY: itau_phy 58 58 #endif 59 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 60 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 61 , R_ecc, R_peri, R_incl & 62 , RA, RG, R1SA & 63 , RSIGMA & 64 , R, RMD, RMV, RD, RV, RCPD & 65 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 66 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 67 , RCW, RCS & 68 , RLVTT, RLSTT, RLMLT, RTT, RATM & 69 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 70 , RALPD, RBETD, RGAMD 59 71 ! 60 72 ! Cette routine sert d'interface entre le modele atmospherique et le … … 109 121 ! qsurf air moisture at surface 110 122 ! 111 INCLUDE "YOMCST.h"112 123 INCLUDE "dimpft.h" 113 124 ! … … 247 258 IF ( .NOT. ALLOCATED(albedo_keep)) THEN 248 259 !ym ALLOCATE(albedo_keep(klon)) 249 !ym bizarre que non allou éen knon precedement260 !ym bizarre que non allou� en knon precedement 250 261 ALLOCATE(albedo_keep(knon)) 251 262 ALLOCATE(zlev(knon)) -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_noopenmp_mod.F90
r4894 r5274 106 106 USE time_phylmdz_mod, ONLY: itau_phy 107 107 #endif 108 IMPLICIT NONE 109 110 INCLUDE "YOMCST.h" 108 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 109 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 110 , R_ecc, R_peri, R_incl & 111 , RA, RG, R1SA & 112 , RSIGMA & 113 , R, RMD, RMV, RD, RV, RCPD & 114 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 115 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 116 , RCW, RCS & 117 , RLVTT, RLSTT, RLMLT, RTT, RATM & 118 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 119 , RALPD, RBETD, RGAMD 120 IMPLICIT NONE 121 122 111 123 INCLUDE "dimpft.h" 112 124 ! -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_nounstruct_mod.F90
r4894 r5274 56 56 USE time_phylmdz_mod, ONLY: itau_phy 57 57 #endif 58 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 59 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 60 , R_ecc, R_peri, R_incl & 61 , RA, RG, R1SA & 62 , RSIGMA & 63 , R, RMD, RMV, RD, RV, RCPD & 64 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 65 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 66 , RCW, RCS & 67 , RLVTT, RLSTT, RLMLT, RTT, RATM & 68 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 69 , RALPD, RBETD, RGAMD 58 70 ! 59 71 ! Cette routine sert d'interface entre le modele atmospherique et le … … 109 121 ! qsurf air moisture at surface 110 122 ! 111 INCLUDE "YOMCST.h"112 123 INCLUDE "dimpft.h" 113 124 … … 233 244 IF ( .NOT. ALLOCATED(albedo_keep)) THEN 234 245 !ym ALLOCATE(albedo_keep(klon)) 235 !ym bizarre que non allou éen knon precedement246 !ym bizarre que non allou� en knon precedement 236 247 ALLOCATE(albedo_keep(knon)) 237 248 ALLOCATE(zlev(knon)) -
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_noz0h_mod.F90
r4894 r5274 58 58 USE time_phylmdz_mod, ONLY: itau_phy 59 59 #endif 60 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 61 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 62 , R_ecc, R_peri, R_incl & 63 , RA, RG, R1SA & 64 , RSIGMA & 65 , R, RMD, RMV, RD, RV, RCPD & 66 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 67 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 68 , RCW, RCS & 69 , RLVTT, RLSTT, RLMLT, RTT, RATM & 70 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 71 , RALPD, RBETD, RGAMD 60 72 ! 61 73 ! Cette routine sert d'interface entre le modele atmospherique et le … … 111 123 ! qsurf air moisture at surface 112 124 ! 113 INCLUDE "YOMCST.h" 114 INCLUDE "dimpft.h" 125 INCLUDE "dimpft.h" 115 126 INCLUDE "compbl.h" 116 127 ! … … 237 248 IF ( .NOT. ALLOCATED(albedo_keep)) THEN 238 249 !ym ALLOCATE(albedo_keep(klon)) 239 !ym bizarre que non allou éen knon precedement250 !ym bizarre que non allou� en knon precedement 240 251 ALLOCATE(albedo_keep(knon)) 241 252 ALLOCATE(zlev(knon)) -
LMDZ6/trunk/libf/phylmd/surf_landice_mod.F90
r5273 r5274 49 49 50 50 !FC 51 USE ioipsl_getin_p_mod, ONLY : getin_p 51 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 52 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 53 , R_ecc, R_peri, R_incl & 54 , RA, RG, R1SA & 55 , RSIGMA & 56 , R, RMD, RMV, RD, RV, RCPD & 57 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 58 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 59 , RCW, RCS & 60 , RLVTT, RLSTT, RLMLT, RTT, RATM & 61 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 62 , RALPD, RBETD, RGAMD 63 USE ioipsl_getin_p_mod, ONLY : getin_p 52 64 USE lmdz_blowing_snow_ini, ONLY : c_esalt_bs, zeta_bs, pbst_bs, prt_bs, rhoice_bs, rhohard_bs 53 65 USE lmdz_blowing_snow_ini, ONLY : rhofresh_bs, tau_eqsalt_bs, tau_dens0_bs, tau_densmin_bs … … 59 71 60 72 ! INCLUDE "indicesol.h" 61 INCLUDE "YOMCST.h" 73 62 74 INCLUDE "clesphys.h" 63 75 -
LMDZ6/trunk/libf/phylmd/surf_ocean_mod.F90
r5022 r5274 43 43 #endif 44 44 #endif 45 USE limit_read_mod 45 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 46 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 47 , R_ecc, R_peri, R_incl & 48 , RA, RG, R1SA & 49 , RSIGMA & 50 , R, RMD, RMV, RD, RV, RCPD & 51 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 52 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 53 , RCW, RCS & 54 , RLVTT, RLSTT, RLMLT, RTT, RATM & 55 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 56 , RALPD, RBETD, RGAMD 57 USE limit_read_mod 46 58 USE config_ocean_skin_m, ONLY: activate_ocean_skin 47 59 ! 48 ! This subroutine will make a call to ocean_XXX_noice according to the ocean mode (force, 49 ! slab or couple). The calculations of albedo and rugosity for the ocean surface are 50 ! done in here because they are identical for the different modes of ocean. 51 52 53 INCLUDE "YOMCST.h" 60 ! This subroutine will make a call to ocean_XXX_noice according to the ocean mode (force, 61 ! slab or couple). The calculations of albedo and rugosity for the ocean surface are 62 ! done in here because they are identical for the different modes of ocean. 63 64 65 54 66 55 67 include "clesphys.h" … … 142 154 143 155 REAL, intent(out):: tkt(:) ! (knon) 144 ! épaisseur (m) de la couche de diffusion thermique (microlayer)156 ! �paisseur (m) de la couche de diffusion thermique (microlayer) 145 157 ! cool skin thickness 146 158 147 159 REAL, intent(out):: tks(:) ! (knon) 148 ! épaisseur (m) de la couche de diffusion de masse (microlayer)160 ! �paisseur (m) de la couche de diffusion de masse (microlayer) 149 161 150 162 REAL, intent(out):: taur(:) ! (knon) -
LMDZ6/trunk/libf/phylmd/surf_seaice_mod.F90
r5273 r5274 37 37 USE infotrac_phy, ONLY : ntiso,niso 38 38 #endif 39 USE dimsoil_mod_h, ONLY: nsoilmx 40 41 ! 42 ! This subroutine will make a call to ocean_XXX_ice according to the ocean mode (force, 39 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 40 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 41 , R_ecc, R_peri, R_incl & 42 , RA, RG, R1SA & 43 , RSIGMA & 44 , R, RMD, RMV, RD, RV, RCPD & 45 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 46 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 47 , RCW, RCS & 48 , RLVTT, RLSTT, RLMLT, RTT, RATM & 49 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 50 , RALPD, RBETD, RGAMD 51 USE dimsoil_mod_h, ONLY: nsoilmx 52 53 ! 54 ! This subroutine will make a call to ocean_XXX_ice according to the ocean mode (force, 43 55 ! slab or couple). The calculation of rugosity for the sea-ice surface is also done 44 56 ! in here because it is the same calculation for the different modes of ocean. … … 46 58 INCLUDE "clesphys.h" 47 59 48 INCLUDE "YOMCST.h" 60 49 61 ! for rd and retv 50 62 -
LMDZ6/trunk/libf/phylmd/sw_aeroAR4.f90
r5268 r5274 24 24 USE print_control_mod, ONLY: lunout 25 25 USE aero_mod, ONLY : naero_grp 26 IMPLICIT NONE 27 28 INCLUDE "YOMCST.h" 26 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 27 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 28 , R_ecc, R_peri, R_incl & 29 , RA, RG, R1SA & 30 , RSIGMA & 31 , R, RMD, RMV, RD, RV, RCPD & 32 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 33 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 34 , RCW, RCS & 35 , RLVTT, RLSTT, RLMLT, RTT, RATM & 36 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 37 , RALPD, RBETD, RGAMD 38 IMPLICIT NONE 39 40 29 41 INCLUDE "clesphys.h" 30 42 ! -
LMDZ6/trunk/libf/phylmd/tend_to_tke.f90
r5268 r5274 37 37 USE indice_sol_mod, ONLY: nbsrf 38 38 39 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 40 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 41 , R_ecc, R_peri, R_incl & 42 , RA, RG, R1SA & 43 , RSIGMA & 44 , R, RMD, RMV, RD, RV, RCPD & 45 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 46 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 47 , RCW, RCS & 48 , RLVTT, RLSTT, RLMLT, RTT, RATM & 49 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 50 , RALPD, RBETD, RGAMD 39 51 IMPLICIT NONE 40 INCLUDE "YOMCST.h" 52 41 53 42 54 ! Declarations -
LMDZ6/trunk/libf/phylmd/tilft43.f90
r5268 r5274 3 3 4 4 SUBROUTINE tlift43(p, t, q, qs, gz, icb, nk, tvp, tpk, clw, nd, nl, kk) 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 7 , R_ecc, R_peri, R_incl & 8 , RA, RG, R1SA & 9 , RSIGMA & 10 , R, RMD, RMV, RD, RV, RCPD & 11 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 12 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 13 , RCW, RCS & 14 , RLVTT, RLSTT, RLMLT, RTT, RATM & 15 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 16 , RALPD, RBETD, RGAMD 5 17 IMPLICIT NONE 6 18 REAL gz(nd), tpk(nd), clw(nd), p(nd) … … 9 21 REAL cpd, cpv, cl, g, rowl, gravity, cpvmcl, eps, epsi 10 22 REAL ah0, cpp, cpinv, tg, qg, alv, s, ahg, tc, denom, es 11 INTEGER i, nst, nsb, j 23 INTEGER i, nst, nsb, j 12 24 ! *** ASSIGN VALUES OF THERMODYNAMIC CONSTANTS *** 13 25 … … 22 34 ! ! ROWL=1000.0 23 35 ! ajouts: 24 include "YOMCST.h"25 36 cpd = rcpd 26 37 cpv = rcpv -
LMDZ6/trunk/libf/phylmd/time_phylmdz_mod.f90
r5268 r5274 38 38 USE ioipsl_getin_p_mod, ONLY : getin_p 39 39 USE phys_cal_mod, ONLY: phys_cal_init 40 IMPLICIT NONE 41 INCLUDE 'YOMCST.h' 42 INTEGER, INTENT(IN) :: annee_ref_ 43 INTEGER, INTENT(IN) :: day_ref_ 44 INTEGER, INTENT(IN) :: day_ini_ 45 REAL, INTENT(IN) :: start_time_ 46 INTEGER, INTENT(IN) :: ndays_ 47 REAL, INTENT(IN) :: pdtphys_ 48 40 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 41 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 42 , R_ecc, R_peri, R_incl & 43 , RA, RG, R1SA & 44 , RSIGMA & 45 , R, RMD, RMV, RD, RV, RCPD & 46 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 47 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 48 , RCW, RCS & 49 , RLVTT, RLSTT, RLMLT, RTT, RATM & 50 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 51 , RALPD, RBETD, RGAMD 52 IMPLICIT NONE 53 54 INTEGER, INTENT(IN) :: annee_ref_ 55 INTEGER, INTENT(IN) :: day_ref_ 56 INTEGER, INTENT(IN) :: day_ini_ 57 REAL, INTENT(IN) :: start_time_ 58 INTEGER, INTENT(IN) :: ndays_ 59 REAL, INTENT(IN) :: pdtphys_ 60 49 61 annee_ref = annee_ref_ 50 62 day_ref = day_ref_ … … 53 65 ndays = ndays_ 54 66 pdtphys = pdtphys_ 55 67 56 68 ! Initialize module variable not inherited from dynamics 57 69 day_step_phy = NINT(rday/pdtphys) 58 70 day_end = day_ini + ndays 59 71 60 72 raz_date = 0 61 73 CALL getin_p('raz_date', raz_date) 62 74 63 75 current_time=0. 64 76 65 77 CALL phys_cal_init(annee_ref,day_ref) 66 78 67 79 END SUBROUTINE init_time 68 80 … … 72 84 itau_phy=itau_phy_ 73 85 IF (raz_date==1) itau_phy=0 74 86 75 87 itaufin_phy=itau_phy+NINT(ndays/pdtphys) 76 88 77 89 END SUBROUTINE init_iteration 78 90 … … 82 94 USE phys_cal_mod, ONLY: phys_cal_update 83 95 USE print_control_mod, ONLY: lunout 96 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 97 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 98 , R_ecc, R_peri, R_incl & 99 , RA, RG, R1SA & 100 , RSIGMA & 101 , R, RMD, RMV, RD, RV, RCPD & 102 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 103 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 104 , RCW, RCS & 105 , RLVTT, RLSTT, RLMLT, RTT, RATM & 106 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 107 , RALPD, RBETD, RGAMD 84 108 IMPLICIT NONE 85 INCLUDE 'YOMCST.h' 109 86 110 REAL,INTENT(IN) :: pdtphys_ 87 111 REAL :: julian_date -
LMDZ6/trunk/libf/phylmd/tlift.f90
r5268 r5274 4 4 SUBROUTINE tlift(p, t, rr, rs, gz, plcl, icb, nk, tvp, tpk, clw, nd, nl, & 5 5 dtvpdt1, dtvpdq1) 6 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 8 , R_ecc, R_peri, R_incl & 9 , RA, RG, R1SA & 10 , RSIGMA & 11 , R, RMD, RMV, RD, RV, RCPD & 12 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 13 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 14 , RCW, RCS & 15 , RLVTT, RLSTT, RLMLT, RTT, RATM & 16 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 17 , RALPD, RBETD, RGAMD 6 18 IMPLICIT NONE 7 19 ! Argument NK ajoute (jyg) = Niveau de depart de la … … 51 63 ! on utilise les constantes thermo du Centre Europeen: (SB) 52 64 53 include "YOMCST.h"54 65 gravity = rg !sb: Pr que gravite ne devienne pas humidite! 55 66 -
LMDZ6/trunk/libf/phylmd/tracco2i_mod.f90
r5268 r5274 50 50 USE indice_sol_mod, ONLY: nbsrf, is_ter, is_lic, is_oce, is_sic 51 51 52 IMPLICIT NONE 52 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 53 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 54 , R_ecc, R_peri, R_incl & 55 , RA, RG, R1SA & 56 , RSIGMA & 57 , R, RMD, RMV, RD, RV, RCPD & 58 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 59 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 60 , RCW, RCS & 61 , RLVTT, RLSTT, RLMLT, RTT, RATM & 62 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 63 , RALPD, RBETD, RGAMD 64 IMPLICIT NONE 53 65 54 66 INCLUDE "clesphys.h" 55 INCLUDE "YOMCST.h" 67 56 68 57 69 ! Input argument … … 355 367 USE carbon_cycle_mod, ONLY : fco2_ff, fco2_bb, fco2_land, fco2_ocean 356 368 357 IMPLICIT NONE 358 359 INCLUDE "YOMCST.h" 369 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 370 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 371 , R_ecc, R_peri, R_incl & 372 , RA, RG, R1SA & 373 , RSIGMA & 374 , R, RMD, RMV, RD, RV, RCPD & 375 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 376 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 377 , RCW, RCS & 378 , RLVTT, RLSTT, RLMLT, RTT, RATM & 379 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 380 , RALPD, RBETD, RGAMD 381 IMPLICIT NONE 382 383 360 384 LOGICAL,INTENT(IN) :: debutphy 361 385 -
LMDZ6/trunk/libf/phylmd/traclmdz_mod.f90
r5268 r5274 309 309 tr_seri, source, d_tr_cl,d_tr_dec, zmasse) !RomP 310 310 311 USE dimphy 311 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 312 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 313 , R_ecc, R_peri, R_incl & 314 , RA, RG, R1SA & 315 , RSIGMA & 316 , R, RMD, RMV, RD, RV, RCPD & 317 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 318 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 319 , RCW, RCS & 320 , RLVTT, RLSTT, RLMLT, RTT, RATM & 321 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 322 , RALPD, RBETD, RGAMD 323 USE dimphy 312 324 USE infotrac_phy, ONLY: nbtr, pbl_flg 313 325 USE strings_mod, ONLY: int2str … … 316 328 USE indice_sol_mod 317 329 318 INCLUDE "YOMCST.h" 330 319 331 320 332 !========================================================================== -
LMDZ6/trunk/libf/phylmd/transp.f90
r5268 r5274 6 6 7 7 USE dimphy 8 IMPLICIT NONE 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 9 21 ! ====================================================================== 10 22 ! Auteur(s): Z.X.Li (LMD/CNRS) … … 13 25 ! ====================================================================== 14 26 15 include "YOMCST.h" 27 16 28 17 29 !--inputs -
LMDZ6/trunk/libf/phylmd/transp_lay.f90
r5268 r5274 6 6 7 7 USE dimphy 8 IMPLICIT NONE 8 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 9 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 10 , R_ecc, R_peri, R_incl & 11 , RA, RG, R1SA & 12 , RSIGMA & 13 , R, RMD, RMV, RD, RV, RCPD & 14 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 15 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 16 , RCW, RCS & 17 , RLVTT, RLSTT, RLMLT, RTT, RATM & 18 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 19 , RALPD, RBETD, RGAMD 20 IMPLICIT NONE 9 21 ! ====================================================================== 10 22 ! Auteur(s): Z.X.Li (LMD/CNRS) … … 13 25 ! ====================================================================== 14 26 15 include "YOMCST.h" 27 16 28 17 29 REAL paprs(klon, klev+1), tsol(klon) -
LMDZ6/trunk/libf/phylmd/tropopause_m.f90
r5268 r5274 1 1 MODULE tropopause_m 2 2 3 IMPLICIT NONE 3 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 5 , R_ecc, R_peri, R_incl & 6 , RA, RG, R1SA & 7 , RSIGMA & 8 , R, RMD, RMV, RD, RV, RCPD & 9 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 10 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 11 , RCW, RCS & 12 , RLVTT, RLSTT, RLMLT, RTT, RATM & 13 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 14 , RALPD, RBETD, RGAMD 15 IMPLICIT NONE 4 16 PRIVATE 5 17 PUBLIC :: dyn_tropopause … … 32 44 !------------------------------------------------------------------------------- 33 45 ! Local variables: 34 include "YOMCST.h" 46 35 47 REAL, PARAMETER :: DynPTrMin =8.E+3 !--- Thresholds for minimum and maximum 36 48 REAL, PARAMETER :: DynPTrMax =4.E+4 ! dynamical tropopause pressure (Pa). -
LMDZ6/trunk/libf/phylmd/wx_pbl_mod.f90
r5268 r5274 31 31 ! 32 32 33 USE wx_pbl_var_mod 33 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 34 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 35 , R_ecc, R_peri, R_incl & 36 , RA, RG, R1SA & 37 , RSIGMA & 38 , R, RMD, RMV, RD, RV, RCPD & 39 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 40 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 41 , RCW, RCS & 42 , RLVTT, RLSTT, RLMLT, RTT, RATM & 43 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 44 , RALPD, RBETD, RGAMD 45 USE wx_pbl_var_mod 34 46 35 47 USE print_control_mod, ONLY: prt_level,lunout 36 48 USE indice_sol_mod, ONLY: is_oce 37 49 ! 38 INCLUDE "YOMCST.h" 50 39 51 INCLUDE "FCTTRE.h" 40 52 INCLUDE "YOETHF.h" … … 168 180 ! 169 181 170 USE wx_pbl_var_mod 182 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 183 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 184 , R_ecc, R_peri, R_incl & 185 , RA, RG, R1SA & 186 , RSIGMA & 187 , R, RMD, RMV, RD, RV, RCPD & 188 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 189 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 190 , RCW, RCS & 191 , RLVTT, RLSTT, RLMLT, RTT, RATM & 192 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 193 , RALPD, RBETD, RGAMD 194 USE wx_pbl_var_mod 171 195 172 196 USE print_control_mod, ONLY: prt_level,lunout 173 197 ! 174 INCLUDE "YOMCST.h" 198 175 199 INCLUDE "FCTTRE.h" 176 200 INCLUDE "YOETHF.h" … … 568 592 ! 569 593 570 USE wx_pbl_var_mod 594 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 595 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 596 , R_ecc, R_peri, R_incl & 597 , RA, RG, R1SA & 598 , RSIGMA & 599 , R, RMD, RMV, RD, RV, RCPD & 600 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 601 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 602 , RCW, RCS & 603 , RLVTT, RLSTT, RLMLT, RTT, RATM & 604 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 605 , RALPD, RBETD, RGAMD 606 USE wx_pbl_var_mod 571 607 572 608 USE print_control_mod, ONLY: prt_level,lunout 573 609 USE indice_sol_mod, ONLY: is_oce 574 610 ! 575 INCLUDE "YOMCST.h" 611 576 612 ! 577 613 INTEGER, INTENT(IN) :: knon ! number of grid cells … … 723 759 ! 724 760 725 USE wx_pbl_var_mod 761 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 762 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 763 , R_ecc, R_peri, R_incl & 764 , RA, RG, R1SA & 765 , RSIGMA & 766 , R, RMD, RMV, RD, RV, RCPD & 767 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 768 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 769 , RCW, RCS & 770 , RLVTT, RLSTT, RLMLT, RTT, RATM & 771 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 772 , RALPD, RBETD, RGAMD 773 USE wx_pbl_var_mod 726 774 727 775 USE print_control_mod, ONLY: prt_level,lunout 728 776 ! 729 INCLUDE "YOMCST.h" 777 730 778 INCLUDE "FCTTRE.h" 731 779 INCLUDE "YOETHF.h" … … 967 1015 ! 968 1016 969 USE wx_pbl_var_mod 1017 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 1018 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 1019 , R_ecc, R_peri, R_incl & 1020 , RA, RG, R1SA & 1021 , RSIGMA & 1022 , R, RMD, RMV, RD, RV, RCPD & 1023 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 1024 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 1025 , RCW, RCS & 1026 , RLVTT, RLSTT, RLMLT, RTT, RATM & 1027 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 1028 , RALPD, RBETD, RGAMD 1029 USE wx_pbl_var_mod 970 1030 971 1031 USE print_control_mod, ONLY: prt_level,lunout 972 1032 ! 973 INCLUDE "YOMCST.h" 1033 974 1034 INCLUDE "FCTTRE.h" 975 1035 INCLUDE "YOETHF.h" -
LMDZ6/trunk/libf/phylmd/wx_pbl_var_mod.f90
r5268 r5274 315 315 ) 316 316 ! 317 USE print_control_mod, ONLY: prt_level,lunout 317 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 318 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 319 , R_ecc, R_peri, R_incl & 320 , RA, RG, R1SA & 321 , RSIGMA & 322 , R, RMD, RMV, RD, RV, RCPD & 323 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 324 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 325 , RCW, RCS & 326 , RLVTT, RLSTT, RLMLT, RTT, RATM & 327 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 328 , RALPD, RBETD, RGAMD 329 USE print_control_mod, ONLY: prt_level,lunout 318 330 USE indice_sol_mod, ONLY: is_oce 319 331 ! 320 INCLUDE "YOMCST.h" 332 321 333 INCLUDE "FCTTRE.h" 322 334 INCLUDE "YOETHF.h" -
LMDZ6/trunk/libf/phylmd/yamada_c.F90
r4593 r5274 9 9 USE ioipsl_getin_p_mod, ONLY : getin_p 10 10 11 IMPLICIT NONE 12 INCLUDE "YOMCST.h" 11 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 12 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 13 , R_ecc, R_peri, R_incl & 14 , RA, RG, R1SA & 15 , RSIGMA & 16 , R, RMD, RMV, RD, RV, RCPD & 17 , RMO3, RMCO2, RMC, RMCH4, RMN2O, RMCFC11, RMCFC12 & 18 , RCPV, RCVD, RCVV, RKAPPA, RETV, eps_w & 19 , RCW, RCS & 20 , RLVTT, RLSTT, RLMLT, RTT, RATM & 21 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 22 , RALPD, RBETD, RGAMD 23 IMPLICIT NONE 24 13 25 ! 14 26 ! timestep : pas de temps
Note: See TracChangeset
for help on using the changeset viewer.