- Timestamp:
- Oct 28, 2024, 1:11:48 PM (4 weeks ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 1 deleted
- 147 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/abort_gcm.F90
r5271 r5282 6 6 SUBROUTINE abort_gcm(modname, message, ierr) 7 7 8 USE IOIPSL 8 USE iniprint_mod_h 9 USE IOIPSL 9 10 !! ug Pour les sorties XIOS 10 11 USE wxios 11 12 12 INCLUDE "iniprint.h"13 13 14 14 ! -
LMDZ6/trunk/libf/dyn3d/advtrac.f90
r5281 r5282 9 9 ! M.A Filiberti (04/2002) 10 10 ! 11 USE iniprint_mod_h 11 12 USE comgeom2_mod_h 12 13 USE comdissip_mod_h … … 22 23 ! 23 24 24 25 include "description.h"26 include "iniprint.h"27 25 28 26 !--------------------------------------------------------------------------- -
LMDZ6/trunk/libf/dyn3d/bilan_dyn.f90
r5281 r5282 10 10 ! vQ..A=Cp T + L * ... 11 11 12 USE iniprint_mod_h 12 13 USE comgeom2_mod_h 13 14 USE IOIPSL … … 23 24 24 25 25 include "iniprint.h"26 26 27 27 !==================================================================== -
LMDZ6/trunk/libf/dyn3d/conf_gcm.f90
r5280 r5282 4 4 SUBROUTINE conf_gcm( tapedef, etatinit ) 5 5 6 USE iniprint_mod_h 6 7 USE comdissnew_mod_h 7 8 USE control_mod … … 39 40 40 41 41 include "iniprint.h"42 42 43 43 ! local: -
LMDZ6/trunk/libf/dyn3d/dynetat0.f90
r5281 r5282 6 6 ! Purpose: Initial state reading. 7 7 !------------------------------------------------------------------------------- 8 USE iniprint_mod_h 8 9 USE comgeom2_mod_h 9 10 USE infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, & … … 31 32 32 33 33 include "description.h" 34 include "iniprint.h" 35 !=============================================================================== 34 !=============================================================================== 36 35 ! Arguments: 37 36 CHARACTER(LEN=*), INTENT(IN) :: fichnom !--- FILE NAME -
LMDZ6/trunk/libf/dyn3d/dynredem.f90
r5281 r5282 23 23 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 24 24 USE comgeom2_mod_h 25 USE iniprint_mod_h 25 26 IMPLICIT NONE 26 27 27 28 include "description.h" 29 include "iniprint.h" 30 !=============================================================================== 28 !=============================================================================== 31 29 ! Arguments: 32 30 CHARACTER(LEN=*), INTENT(IN) :: fichnom !--- FILE NAME … … 174 172 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 175 173 USE comgeom_mod_h 174 USE iniprint_mod_h 176 175 IMPLICIT NONE 177 176 178 177 179 include "description.h" 180 include "iniprint.h" 181 !=============================================================================== 178 !=============================================================================== 182 179 ! Arguments: 183 180 CHARACTER(LEN=*), INTENT(IN) :: fichnom !-- FILE NAME -
LMDZ6/trunk/libf/dyn3d/fluxstokenc.f90
r5281 r5282 6 6 ! This routine is designed to work with ioipsl 7 7 8 USE comgeom_mod_h 8 USE iniprint_mod_h 9 USE comgeom_mod_h 9 10 USE IOIPSL 10 11 ! … … 22 23 23 24 include "tracstoke.h" 24 include "iniprint.h"25 25 26 26 REAL :: time_step,t_wrt, t_ops -
LMDZ6/trunk/libf/dyn3d/friction.f90
r5281 r5282 4 4 !======================================================================= 5 5 SUBROUTINE friction(ucov,vcov,pdt) 6 USE iniprint_mod_h 6 7 USE comgeom2_mod_h 7 8 USE control_mod … … 26 27 27 28 28 include "iniprint.h"29 29 include "academic.h" 30 30 -
LMDZ6/trunk/libf/dyn3d/gcm.f90
r5281 r5282 5 5 ! 6 6 PROGRAM gcm 7 USE iniprint_mod_h 7 8 USE comgeom_mod_h 8 9 USE comdissnew_mod_h … … 58 59 ! Declarations: 59 60 ! ------------- 60 include "description.h"61 include "iniprint.h"62 61 include "tracstoke.h" 63 62 … … 116 115 abort_message = 'last timestep reached' 117 116 modname = 'gcm' 118 descript = 'Run GCM LMDZ'119 117 lafin = .FALSE. 120 118 dynhist_file = 'dyn_hist.nc' -
LMDZ6/trunk/libf/dyn3d/guide_mod.f90
r5281 r5282 8 8 ! F. Codron 01/09 9 9 !======================================================================= 10 USE iniprint_mod_h 10 11 USE getparam, only: ini_getparam, fin_getparam, getpar 11 12 USE Write_Field … … 368 369 369 370 370 INCLUDE "iniprint.h"371 371 372 372 -
LMDZ6/trunk/libf/dyn3d/iniacademic.f90
r5281 r5282 4 4 SUBROUTINE iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0) 5 5 6 USE iniprint_mod_h 6 7 USE comgeom_mod_h 7 8 USE filtreg_mod, ONLY: inifilr … … 38 39 39 40 include "academic.h" 40 include "iniprint.h"41 41 42 42 ! Arguments: -
LMDZ6/trunk/libf/dyn3d/integrd.f90
r5281 r5282 7 7 ) 8 8 9 USE iniprint_mod_h 9 10 USE comgeom_mod_h 10 11 use control_mod, only : planet_type … … 37 38 38 39 39 include "iniprint.h"40 40 41 41 ! Arguments: -
LMDZ6/trunk/libf/dyn3d/leapfrog.F90
r5281 r5282 6 6 SUBROUTINE leapfrog(ucov,vcov,teta,ps,masse,phis,q,time_0) 7 7 !IM : pour sortir les param. du modele dans un fis. netcdf 110106 8 USE iniprint_mod_h 8 9 USE comgeom_mod_h 9 10 USE comdissnew_mod_h … … 61 62 ! Declarations: 62 63 ! ------------- 63 include "description.h"64 include "iniprint.h"65 64 include "academic.h" 66 65 -
LMDZ6/trunk/libf/dyn3d/sw_case_williamson91_6.f90
r5281 r5282 26 26 ! 27 27 !======================================================================= 28 USE iniprint_mod_h 28 29 USE comgeom_mod_h 29 30 USE comconst_mod, ONLY: cpp, omeg, rad … … 40 41 41 42 42 include "iniprint.h"43 43 44 44 ! Arguments: -
LMDZ6/trunk/libf/dyn3d/top_bound.F90
r5281 r5282 4 4 SUBROUTINE top_bound(vcov,ucov,teta,masse,dt) 5 5 6 USE comgeom2_mod_h 6 USE iniprint_mod_h 7 USE comgeom2_mod_h 7 8 USE comdissipn_mod_h 8 9 USE comconst_mod, ONLY: iflag_top_bound, mode_top_bound, & … … 58 59 59 60 60 INCLUDE "iniprint.h"61 61 62 62 ! Arguments: -
LMDZ6/trunk/libf/dyn3d/vlsplt.F90
r5281 r5282 142 142 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 143 143 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 144 USE iniprint_mod_h 144 145 IMPLICIT NONE 145 146 ! 146 147 147 148 148 include "iniprint.h"149 149 ! 150 150 ! -
LMDZ6/trunk/libf/dyn3d_common/adaptdt.f90
r5281 r5282 14 14 15 15 16 17 include "description.h"18 16 19 17 !---------------------------------------------------------- -
LMDZ6/trunk/libf/dyn3d_common/advn.F90
r5281 r5282 15 15 ! 16 16 ! -------------------------------------------------------------------- 17 USE iniprint_mod_h 17 18 USE comgeom_mod_h 18 19 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 23 24 24 25 25 include "iniprint.h"26 26 27 27 ! … … 147 147 ! 148 148 ! -------------------------------------------------------------------- 149 USE iniprint_mod_h 149 150 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 150 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &151 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 151 152 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 152 153 IMPLICIT NONE 153 154 ! 154 155 156 INCLUDE "iniprint.h"157 155 ! 158 156 ! … … 268 266 ! -------------------------------------------------------------------- 269 267 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 270 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &268 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 271 269 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 270 USE iniprint_mod_h 272 271 IMPLICIT NONE 273 ! 274 275 276 INCLUDE "iniprint.h" 272 277 273 ! 278 274 ! … … 367 363 ! -------------------------------------------------------------------- 368 364 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 369 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &365 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 370 366 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 367 USE iniprint_mod_h 371 368 IMPLICIT NONE 372 !373 374 375 INCLUDE "iniprint.h"376 369 ! 377 370 ! … … 492 485 ! -------------------------------------------------------------------- 493 486 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 494 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &487 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 495 488 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 489 USE iniprint_mod_h 496 490 IMPLICIT NONE 497 491 ! 498 492 499 493 500 include "iniprint.h"501 494 ! 502 495 ! … … 759 752 ! 760 753 ! -------------------------------------------------------------------- 754 USE iniprint_mod_h 761 755 USE comgeom_mod_h 762 756 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 767 761 768 762 769 INCLUDE "iniprint.h"770 763 ! 771 764 ! … … 893 886 ! 894 887 ! -------------------------------------------------------------------- 888 USE iniprint_mod_h 895 889 USE comgeom_mod_h 896 890 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 901 895 902 896 903 INCLUDE "iniprint.h"904 897 ! 905 898 ! -
LMDZ6/trunk/libf/dyn3d_common/diagedyn.f90
r5281 r5282 53 53 !====================================================================== 54 54 55 USE iniprint_mod_h 55 56 USE comgeom_mod_h 56 57 USE control_mod, ONLY : planet_type … … 63 64 64 65 65 INCLUDE "iniprint.h"66 66 67 67 ! Ehouarn: for now set these parameters to what is in Earth physics... -
LMDZ6/trunk/libf/dyn3d_common/disvert.f90
r5272 r5282 3 3 SUBROUTINE disvert() 4 4 5 USE iniprint_mod_h 5 6 use ioipsl, only: getin 6 7 use new_unit_m, only: new_unit … … 17 18 18 19 19 include "iniprint.h"20 20 21 21 !------------------------------------------------------------------------------- -
LMDZ6/trunk/libf/dyn3d_common/disvert_noterre.f90
r5272 r5282 6 6 ! On l'utilise aussi pour Venus et Titan, legerment modifiee. 7 7 8 USE iniprint_mod_h 8 9 use IOIPSL 9 10 … … 20 21 21 22 22 include "iniprint.h"23 23 ! 24 24 !======================================================================= -
LMDZ6/trunk/libf/dyn3d_common/infotrac.f90
r5271 r5282 117 117 118 118 SUBROUTINE init_infotrac 119 USE iniprint_mod_h 119 120 USE control_mod, ONLY: planet_type 120 121 USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_trac … … 142 143 ! Declarations: 143 144 144 INCLUDE "iniprint.h"145 145 146 146 !------------------------------------------------------------------------------------------------------------------------------ -
LMDZ6/trunk/libf/dyn3d_common/iniconst.f90
r5272 r5282 4 4 SUBROUTINE iniconst 5 5 6 USE iniprint_mod_h 6 7 USE control_mod 7 8 use IOIPSL … … 10 11 unsim, pi, r, kappa, cpp, dtvr, dtphys 11 12 USE comvert_mod, ONLY: disvert_type, pressure_exner 12 13 13 14 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 14 15 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & … … 23 24 24 25 25 include "iniprint.h"26 26 27 27 character(len=*),parameter :: modname="iniconst" -
LMDZ6/trunk/libf/dyn3d_common/inidissip.f90
r5280 r5282 11 11 ! ------------- 12 12 13 USE iniprint_mod_h 13 14 USE comdissipn_mod_h 14 15 USE control_mod, only : dissip_period,iperiod … … 23 24 24 25 25 include "iniprint.h"26 26 27 27 LOGICAL,INTENT(in) :: lstardis -
LMDZ6/trunk/libf/dyn3d_common/initdynav.f90
r5281 r5282 3 3 subroutine initdynav(day0,anne0,tstep,t_ops,t_wrt) 4 4 5 USE iniprint_mod_h 5 6 USE comgeom_mod_h 6 7 USE IOIPSL … … 39 40 40 41 41 42 include "description.h"43 include "iniprint.h"44 42 45 43 ! Arguments -
LMDZ6/trunk/libf/dyn3d_common/initfluxsto.f90
r5281 r5282 6 6 fileid,filevid,filedid) 7 7 8 USE comgeom_mod_h 8 USE iniprint_mod_h 9 USE comgeom_mod_h 9 10 USE IOIPSL 10 11 USE comconst_mod, ONLY: pi … … 45 46 ! Declarations 46 47 47 48 include "description.h"49 include "iniprint.h"50 48 51 49 ! Arguments -
LMDZ6/trunk/libf/dyn3d_common/inithist.f90
r5281 r5282 4 4 subroutine inithist(day0,anne0,tstep,t_ops,t_wrt) 5 5 6 USE comgeom_mod_h 6 USE iniprint_mod_h 7 USE comgeom_mod_h 7 8 USE IOIPSL 8 9 USE infotrac, ONLY : nqtot … … 44 45 ! Declarations 45 46 46 47 include "description.h"48 include "iniprint.h"49 47 50 48 ! Arguments -
LMDZ6/trunk/libf/dyn3d_common/interpre.f90
r5281 r5282 17 17 18 18 19 20 include "description.h"21 19 22 20 !--------------------------------------------------- -
LMDZ6/trunk/libf/dyn3d_common/sortvarc.f90
r5281 r5282 6 6 vcov ) 7 7 8 USE iniprint_mod_h 8 9 USE comgeom_mod_h 9 10 USE control_mod, ONLY: resetvarc … … 36 37 37 38 38 INCLUDE "iniprint.h"39 39 40 40 ! Arguments: -
LMDZ6/trunk/libf/dyn3d_common/traceurpole.f90
r5281 r5282 11 11 implicit none 12 12 13 14 15 include "description.h"16 13 17 14 -
LMDZ6/trunk/libf/dyn3d_common/writedynav.f90
r5281 r5282 3 3 subroutine writedynav(time, vcov, ucov, teta, ppk, phi, q, masse, ps, phis) 4 4 5 USE iniprint_mod_h 5 6 USE comgeom_mod_h 6 7 USE ioipsl … … 33 34 ! Declarations 34 35 35 36 include "description.h"37 include "iniprint.h"38 36 39 37 ! Arguments -
LMDZ6/trunk/libf/dyn3d_common/writehist.f90
r5281 r5282 3 3 ! 4 4 subroutine writehist(time,vcov,ucov,teta,phi,q,masse,ps,phis) 5 USE iniprint_mod_h 5 6 USE comgeom_mod_h 6 7 USE ioipsl … … 35 36 ! 36 37 ! Declarations 37 38 include "description.h"39 include "iniprint.h"40 38 41 39 ! -
LMDZ6/trunk/libf/dyn3dmem/abort_gcm.f90
r5268 r5282 6 6 SUBROUTINE abort_gcm(modname, message, ierr) 7 7 8 USE iniprint_mod_h 8 9 USE IOIPSL 9 10 10 11 USE parallel_lmdz 11 INCLUDE "iniprint.h"12 12 13 13 ! -
LMDZ6/trunk/libf/dyn3dmem/advtrac_loc.f90
r5281 r5282 30 30 31 31 32 include "description.h" 33 ! include "iniprint.h" 32 ! include "iniprint.h" 34 33 35 34 !--------------------------------------------------------------------------- -
LMDZ6/trunk/libf/dyn3dmem/bilan_dyn_loc.f90
r5281 r5282 10 10 ! vQ..A=Cp T + L * ... 11 11 12 USE iniprint_mod_h 12 13 USE comgeom2_mod_h 13 14 USE IOIPSL … … 27 28 28 29 29 include "iniprint.h"30 30 31 31 !==================================================================== -
LMDZ6/trunk/libf/dyn3dmem/call_calfis_mod.f90
r5272 r5282 68 68 CALL allocate_u(dqfi,llm,nqtot,d) 69 69 CALL allocate_u(dpfi,d) 70 70 71 71 END SUBROUTINE call_calfis_allocate 72 73 72 73 74 74 SUBROUTINE call_calfis(itau,lafin,ucov_dyn,vcov_dyn,teta_dyn,masse_dyn,ps_dyn, & 75 75 phis_dyn,q_dyn,flxw_dyn) … … 94 94 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS, CPPKEY_DEBUGIO 95 95 USE strings_mod, ONLY: int2str 96 96 USE iniprint_mod_h 97 97 IMPLICIT NONE 98 INCLUDE "iniprint.h"99 98 100 99 INTEGER,INTENT(IN) :: itau ! (time) iteration step number -
LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90
r5280 r5282 4 4 SUBROUTINE conf_gcm( tapedef, etatinit ) 5 5 6 USE iniprint_mod_h 6 7 USE comdissnew_mod_h 7 8 USE control_mod … … 44 45 45 46 46 include "iniprint.h"47 47 48 48 ! local: -
LMDZ6/trunk/libf/dyn3dmem/dynetat0_loc.f90
r5281 r5282 6 6 ! Purpose: Initial state reading. 7 7 !------------------------------------------------------------------------------- 8 USE iniprint_mod_h 8 9 USE comgeom_mod_h 9 10 USE parallel_lmdz … … 31 32 32 33 33 include "description.h" 34 include "iniprint.h" 35 !=============================================================================== 34 !=============================================================================== 36 35 ! Arguments: 37 36 CHARACTER(LEN=*), INTENT(IN) :: fichnom !--- FILE NAME -
LMDZ6/trunk/libf/dyn3dmem/dynredem_loc.f90
r5281 r5282 27 27 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 28 28 USE comgeom_mod_h 29 USE iniprint_mod_h 29 30 IMPLICIT NONE 30 31 31 include "description.h" 32 include "iniprint.h" 33 !=============================================================================== 32 !=============================================================================== 34 33 ! Arguments: 35 34 CHARACTER(LEN=*), INTENT(IN) :: fichnom !--- FILE NAME … … 180 179 181 180 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 182 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, &181 USE paramet_mod_h, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & 183 182 ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm 183 USE iniprint_mod_h 184 184 IMPLICIT NONE 185 185 186 186 187 include "description.h" 188 include "iniprint.h" 189 !=============================================================================== 187 !=============================================================================== 190 188 ! Arguments: 191 189 CHARACTER(LEN=*), INTENT(IN) :: fichnom !-- FILE NAME -
LMDZ6/trunk/libf/dyn3dmem/friction_loc.f90
r5281 r5282 4 4 !======================================================================= 5 5 SUBROUTINE friction_loc(ucov,vcov,pdt) 6 USE iniprint_mod_h 6 7 USE comgeom2_mod_h 7 8 USE parallel_lmdz … … 27 28 28 29 29 include "iniprint.h"30 30 include "academic.h" 31 31 -
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
r5281 r5282 13 13 ! USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys 14 14 !#endif 15 USE iniprint_mod_h 15 16 USE comgeom_mod_h 16 17 USE comdissnew_mod_h … … 62 63 ! Declarations: 63 64 ! ------------- 64 include "description.h"65 include "iniprint.h"66 65 include "tracstoke.h" 67 66 … … 122 121 abort_message = 'last timestep reached' 123 122 modname = 'gcm' 124 descript = 'Run GCM LMDZ'125 123 lafin = .FALSE. 126 124 dynhist_file = 'dyn_hist' -
LMDZ6/trunk/libf/dyn3dmem/iniacademic_loc.f90
r5281 r5282 4 4 SUBROUTINE iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0) 5 5 6 USE iniprint_mod_h 6 7 USE comgeom_mod_h 7 8 USE filtreg_mod, ONLY: inifilr … … 39 40 40 41 include "academic.h" 41 include "iniprint.h"42 42 43 43 ! Arguments: -
LMDZ6/trunk/libf/dyn3dmem/initdynav_loc.f90
r5281 r5282 5 5 6 6 ! This routine needs IOIPSL 7 USE comgeom_mod_h 7 USE iniprint_mod_h 8 USE comgeom_mod_h 8 9 USE IOIPSL 9 10 … … 50 51 51 52 52 include "description.h"53 include "iniprint.h"54 55 53 ! Arguments 56 54 ! -
LMDZ6/trunk/libf/dyn3dmem/initfluxsto_p.f90
r5281 r5282 7 7 8 8 ! This routine needs IOIPSL 9 USE comgeom_mod_h 9 USE iniprint_mod_h 10 USE comgeom_mod_h 10 11 USE IOIPSL 11 12 … … 50 51 ! Declarations 51 52 52 53 include "description.h"54 include "iniprint.h"55 53 56 54 ! Arguments -
LMDZ6/trunk/libf/dyn3dmem/inithist_loc.f90
r5281 r5282 5 5 6 6 ! This routine needs IOIPSL 7 USE comgeom_mod_h 7 USE iniprint_mod_h 8 USE comgeom_mod_h 8 9 USE IOIPSL 9 10 … … 47 48 ! Declarations 48 49 49 50 include "description.h"51 include "iniprint.h"52 50 53 51 ! Arguments -
LMDZ6/trunk/libf/dyn3dmem/integrd_loc.f90
r5281 r5282 5 5 ( nq,vcovm1,ucovm1,tetam1,psm1,massem1, & 6 6 dv,du,dteta,dq,dp,vcov,ucov,teta,q,ps0,masse,phis) !,finvmaold) 7 USE iniprint_mod_h 7 8 USE comgeom_mod_h 8 9 USE parallel_lmdz … … 40 41 41 42 42 include "iniprint.h"43 43 44 44 ! Arguments: -
LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.f90
r5281 r5282 2 2 masse0,phis0,q0,time_0) 3 3 4 USE comgeom_mod_h 4 USE iniprint_mod_h 5 USE comgeom_mod_h 5 6 USE comdissnew_mod_h 6 7 USE misc_mod … … 77 78 ! Declarations: 78 79 ! ------------- 79 include "description.h"80 include "iniprint.h"81 80 include "academic.h" 82 81 -
LMDZ6/trunk/libf/dyn3dmem/parallel_lmdz.F90
r5272 r5282 83 83 84 84 subroutine init_parallel 85 USE vampir 85 USE iniprint_mod_h 86 USE vampir 86 87 USE lmdz_mpi 87 88 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 91 92 92 93 93 INCLUDE "iniprint.h"94 94 95 95 integer :: ierr … … 648 648 649 649 subroutine Gather_Field(Field,ij,ll,rank) 650 USE iniprint_mod_h 650 651 USE lmdz_mpi 651 652 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 655 656 656 657 657 INCLUDE "iniprint.h"658 658 INTEGER :: ij,ll,rank 659 659 REAL, dimension(ij,ll) :: Field -
LMDZ6/trunk/libf/dyn3dmem/qminimum_loc.f90
r5272 r5282 3 3 ! 4 4 SUBROUTINE qminimum_loc( q,nqtot,deltap ) 5 USE iniprint_mod_h 5 6 USE parallel_lmdz 6 7 USE infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, addPhase, & … … 17 18 18 19 19 include "iniprint.h"20 20 ! 21 21 INTEGER :: nqtot ! CRisi: on remplace nq par nqtot -
LMDZ6/trunk/libf/dyn3dmem/sw_case_williamson91_6_loc.f90
r5281 r5282 26 26 ! 27 27 !======================================================================= 28 USE iniprint_mod_h 28 29 USE comgeom_mod_h 29 30 USE parallel_lmdz … … 41 42 42 43 43 include "iniprint.h"44 44 45 45 ! Arguments: -
LMDZ6/trunk/libf/dyn3dmem/top_bound_loc.f90
r5281 r5282 3 3 ! 4 4 SUBROUTINE top_bound_loc(vcov,ucov,teta,masse,dt) 5 USE iniprint_mod_h 5 6 USE comgeom2_mod_h 6 7 USE comdissipn_mod_h … … 58 59 59 60 60 INCLUDE "iniprint.h"61 61 62 62 ! Arguments: -
LMDZ6/trunk/libf/dyn3dmem/vlsplt_loc.F90
r5281 r5282 13 13 ! 14 14 ! -------------------------------------------------------------------- 15 USE iniprint_mod_h 15 16 USE parallel_lmdz 16 17 USE infotrac, ONLY : nqtot,tracers, & ! CRisi & … … 23 24 24 25 25 include "iniprint.h"26 26 ! 27 27 ! … … 887 887 ! 888 888 ! -------------------------------------------------------------------- 889 USE iniprint_mod_h 889 890 USE parallel_lmdz 890 891 USE vlz_mod … … 899 900 900 901 901 include "iniprint.h"902 902 ! 903 903 ! -
LMDZ6/trunk/libf/dyn3dmem/vlspltqs_loc.F90
r5281 r5282 422 422 ! 423 423 ! -------------------------------------------------------------------- 424 USE iniprint_mod_h 424 425 USE comgeom_mod_h 425 426 USE parallel_lmdz … … 434 435 435 436 436 include "iniprint.h"437 437 ! 438 438 ! -
LMDZ6/trunk/libf/dyn3dmem/writedyn_xios.f90
r5281 r5282 5 5 & masse,ps,phis) 6 6 7 USE iniprint_mod_h 7 8 USE comgeom_mod_h 8 9 USE lmdz_xios … … 40 41 41 42 42 include "description.h" 43 include "iniprint.h" 44 45 ! 43 ! 46 44 ! Arguments 47 45 ! -
LMDZ6/trunk/libf/dyn3dmem/writedynav_loc.f90
r5281 r5282 6 6 7 7 ! This routine needs IOIPSL 8 USE iniprint_mod_h 8 9 USE comgeom_mod_h 9 10 USE ioipsl … … 49 50 50 51 51 include "description.h"52 include "iniprint.h"53 54 52 ! 55 53 ! Arguments -
LMDZ6/trunk/libf/dyn3dmem/writehist_loc.f90
r5281 r5282 6 6 7 7 ! This routine needs IOIPSL 8 USE iniprint_mod_h 8 9 USE comgeom_mod_h 9 10 USE ioipsl … … 49 50 50 51 51 include "description.h"52 include "iniprint.h"53 54 52 ! 55 53 ! Arguments -
LMDZ6/trunk/libf/dynphy_lonlat/calfis.f90
r5281 r5282 29 29 ! Auteur : P. Le Van, F. Hourdin 30 30 ! ......... 31 USE iniprint_mod_h 31 32 USE comgeom2_mod_h 32 33 USE infotrac, ONLY: nqtot, tracers … … 95 96 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm ) 96 97 97 include "iniprint.h"98 98 99 99 ! Arguments : -
LMDZ6/trunk/libf/dynphy_lonlat/calfis_loc.F90
r5281 r5282 51 51 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS 52 52 #ifdef CPP_PARA 53 USE iniprint_mod_h 53 54 USE comgeom2_mod_h 54 55 USE dimensions_mod, ONLY: iim, jjm, llm, ndm … … 112 113 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm ) 113 114 114 include "iniprint.h"115 115 ! Arguments : 116 116 ! ----------- -
LMDZ6/trunk/libf/dynphy_lonlat/inigeomphy_mod.f90
r5268 r5282 9 9 nbp, communicator, & 10 10 rlatu,rlatv,rlonu,rlonv,aire,cu,cv) 11 USE iniprint_mod_h 11 12 USE mod_grid_phy_lmdz, ONLY: klon_glo, & ! number of atmospheric columns (on full grid) 12 13 regular_lonlat, & ! regular longitude-latitude grid type … … 34 35 ! ======================================================================= 35 36 36 include "iniprint.h"37 37 38 38 INTEGER, INTENT (IN) :: nlayer ! number of atmospheric layers -
LMDZ6/trunk/libf/dynphy_lonlat/phydev/iniphysiq_mod.f90
r5268 r5282 11 11 rlatu,rlatv,rlonu,rlonv,aire,cu,cv, & 12 12 prad,pg,pr,pcpp,iflag_phys) 13 USE iniprint_mod_h 13 14 USE dimphy, ONLY: init_dimphy 14 15 USE inigeomphy_mod, ONLY: inigeomphy … … 22 23 ! 23 24 !======================================================================= 24 ! Initialisation of the physical constants and some positional and 25 ! Initialisation of the physical constants and some positional and 25 26 ! geometrical arrays for the physics 26 27 !======================================================================= 27 28 29 include "iniprint.h" 28 29 30 30 31 31 REAL,INTENT(IN) :: prad ! radius of the planet (m) -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90
r5281 r5282 39 39 #endif 40 40 41 USE iniprint_mod_h 41 42 USE comgeom2_mod_h 42 43 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, kappa, omeg, r, rad, & … … 56 57 57 58 58 include "iniprint.h"59 59 60 60 REAL :: masque(iip1,jjp1) !--- CONTINENTAL MASK -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/etat0dyn_netcdf.F90
r5281 r5282 46 46 USE comdissnew_mod_h 47 47 USE comgeom2_mod_h 48 USE iniprint_mod_h 48 49 IMPLICIT NONE 49 50 … … 51 52 PUBLIC :: etat0dyn_netcdf 52 53 53 include "iniprint.h"54 54 55 55 -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.f90
r5281 r5282 58 58 USE dimsoil_mod_h, ONLY: nsoilmx 59 59 USE comgeom2_mod_h 60 USE clesphys_mod_h 61 USE iniprint_mod_h 60 62 PRIVATE 61 63 PUBLIC :: etat0phys_netcdf 62 64 63 include "iniprint.h"64 include "clesphys.h"65 65 REAL, SAVE :: deg2rad 66 66 REAL, SAVE, ALLOCATABLE :: tsol(:) -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r5281 r5282 38 38 USE bands, ONLY : distrib_phys 39 39 #endif 40 USE iniprint_mod_h 40 41 USE comgeom_mod_h 41 42 USE mod_phys_lmdz_omp_data, ONLY: klon_omp … … 55 56 56 57 57 include "iniprint.h"58 58 include "tracstoke.h" 59 59 -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/init_ssrf_m.f90
r5281 r5282 3 3 !******************************************************************************* 4 4 5 USE iniprint_mod_h 5 6 USE comgeom2_mod_h 6 7 USE indice_sol_mod, ONLY: is_ter, is_oce, is_oce, is_lic, epsfra … … 20 21 PRIVATE 21 22 PUBLIC :: start_init_subsurf 22 include "iniprint.h"23 23 24 24 CONTAINS -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/limit_netcdf.F90
r5281 r5282 70 70 !------------------------------------------------------------------------------- 71 71 #ifndef CPP_1D 72 USE iniprint_mod_h 72 73 USE comgeom2_mod_h 73 74 USE indice_sol_mod … … 89 90 !------------------------------------------------------------------------------- 90 91 ! Arguments: 91 include "iniprint.h"92 92 93 93 -
LMDZ6/trunk/libf/misc/iniprint_mod_h.f90
r5281 r5282 1 ! 2 ! $Header$ 3 ! 4 ! 5 ! gestion des impressions de sorties et de débogage 6 ! lunout: unité du fichier dans lequel se font les sorties 7 ! (par defaut 6, la sortie standard) 8 ! prt_level: niveau d'impression souhaité (0 = minimum) 9 ! 10 INTEGER lunout, prt_level 11 COMMON /comprint/ lunout, prt_level 1 ! Replaces iniprint.h 2 3 MODULE iniprint_mod_h 4 ! gestion des impressions de sorties et de débogage 5 ! lunout: unité du fichier dans lequel se font les sorties 6 ! (par defaut 6, la sortie standard) 7 ! prt_level: niveau d'impression souhaité (0 = minimum) 8 9 IMPLICIT NONE; PRIVATE 10 PUBLIC lunout, prt_level 11 12 INTEGER :: lunout, prt_level 13 14 END MODULE iniprint_mod_h -
LMDZ6/trunk/libf/misc/wxios.F90
r5206 r5282 509 509 CHARACTER (len=*), INTENT(IN), OPTIONAL :: positif 510 510 REAL, DIMENSION(axis_size, 2), INTENT(IN), OPTIONAL :: bnds 511 511 512 512 ! TYPE(xios_axisgroup) :: axgroup 513 513 ! TYPE(xios_axis) :: ax 514 ! CHARACTER(len=50) :: axis_id 515 514 ! CHARACTER(len=50) :: axis_id 515 516 516 ! IF (len_trim(axisgroup_id).gt.len(axis_id)) THEN 517 517 ! WRITE(lunout,*) "wxios_add_vaxis: error, size of axis_id too small!!" … … 520 520 ! ENDIF 521 521 ! axis_id=trim(axisgroup_id) 522 522 523 523 !On récupère le groupe d'axes qui va bien: 524 524 !CALL xios_get_axisgroup_handle(axisgroup_id, axgroup) 525 525 526 526 !On ajoute l'axe correspondant à ce fichier: 527 527 !CALL xios_add_axis(axgroup, ax, TRIM(ADJUSTL(axis_id))) 528 528 529 529 !Et on le parametrise: 530 530 !CALL xios_set_axis_attr_hdl(ax, size=axis_size, value=axis_value) 531 531 532 532 ! Ehouarn: New way to declare axis, without axis_group: 533 533 if (PRESENT(positif) .AND. PRESENT(bnds)) then … … 552 552 553 553 END SUBROUTINE wxios_add_vaxis 554 555 554 555 556 556 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 557 557 ! Pour déclarer un fichier !!!!!!!!!!!!!!!!!!! … … 564 564 CHARACTER(len=*), INTENT(IN) :: ffreq 565 565 INTEGER, INTENT(IN) :: flvl 566 566 567 567 TYPE(xios_file) :: x_file 568 568 TYPE(xios_filegroup) :: x_fg 569 569 TYPE(xios_duration) :: nffreq 570 570 571 571 !On regarde si le fichier n'est pas défini par XML: 572 572 IF (.NOT.xios_is_valid_file(fname)) THEN … … 574 574 CALL xios_get_handle("defile", x_fg) 575 575 CALL xios_add_child(x_fg, x_file, fname) 576 576 577 577 !On reformate la fréquence: 578 578 CALL reformadate(ffreq, nffreq) 579 579 580 580 !On configure: 581 581 CALL xios_set_attr(x_file, name="X"//fname,& 582 582 output_freq=nffreq, output_level=flvl, enabled=.TRUE.) 583 583 584 584 IF (xios_is_valid_file("X"//fname)) THEN 585 585 IF (prt_level >= 10) THEN … … 599 599 END IF 600 600 END SUBROUTINE wxios_add_file 601 601 602 602 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 603 603 ! Pour créer un champ !!!!!!!!!!!!!!!!!!!! … … 605 605 SUBROUTINE wxios_add_field(fieldname, fieldgroup, fieldlongname, fieldunit) 606 606 USE netcdf, only: nf90_fill_real 607 608 IMPLICIT NONE 609 I NCLUDE 'iniprint.h'607 USE iniprint_mod_h 608 609 IMPLICIT NONE 610 610 611 611 CHARACTER(len=*), INTENT(IN) :: fieldname -
LMDZ6/trunk/libf/phylmd/Dust/phys_output_write_spl_mod.F90
r5274 r5282 4 4 MODULE phys_output_write_spl_mod 5 5 6 !JE20150620<< 7 !JE20150620>> 8 !JE20150620<< 9 10 USE time_phylmdz_mod, ONLY: day_step_phy, start_time, itau_phy 6 7 USE time_phylmdz_mod, ONLY: day_step_phy, start_time, itau_phy 11 8 12 9 USE phytracr_spl_mod, ONLY : ok_chimeredust, id_prec, id_fine, id_coss, & … … 68 65 flux_sparam_sscoa,u10m_ss,v10m_ss 69 66 70 USE dustemission_mod, ONLY : m1dflux, m2dflux, m3dflux 67 USE dustemission_mod, ONLY : m1dflux, m2dflux, m3dflux 71 68 72 69 ! USE phytrac_mod, ONLY : d_tr_cl, d_tr_th, d_tr_cv, d_tr_lessi_impa, & … … 80 77 ! Author: Ulysse GERARD (effective implementation) 81 78 82 CONTAINS 79 CONTAINS 83 80 84 81 ! ug Routine pour définir (lors du premier passageà) ET sortir les variables … … 195 192 o_ptconvth, o_lmaxth, o_dtvdf, & 196 193 o_dtdis, o_dqvdf, o_dteva, o_dqeva, & 197 o_ptconv, o_ratqs, o_dtthe, & 194 o_ptconv, o_ratqs, o_dtthe, & 198 195 o_duthe, o_dvthe, o_ftime_th, & 199 196 o_f_th, o_e_th, o_w_th, o_q_th, & … … 409 406 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 410 407 , RALPD, RBETD, RGAMD 408 USE clesphys_mod_h 409 USE iniprint_mod_h 411 410 IMPLICIT NONE 412 411 413 412 ! INCLUDE "temps.h" 414 INCLUDE "clesphys.h"415 413 INCLUDE "alpale.h" 416 414 INCLUDE "compbl.h" 417 415 418 416 419 include "iniprint.h"420 417 421 418 ! Input -
LMDZ6/trunk/libf/phylmd/Dust/splaeropt_6bands_rrtm.f90
r5268 r5282 6 6 tau_allaer, piz_allaer, cg_allaer ) 7 7 8 USE clesphys_mod_h 8 9 USE dimphy 9 10 USE aero_mod … … 16 17 IMPLICIT NONE 17 18 18 INCLUDE "clesphys.h"19 19 ! 20 20 ! Input arguments: -
LMDZ6/trunk/libf/phylmd/Dust/splaeropt_lw_rrtm.f90
r5268 r5282 8 8 SUBROUTINE SPLAEROPT_LW_RRTM(ok_alw,zdm,tr_seri) 9 9 10 USE clesphys_mod_h 10 11 USE dimphy 11 12 USE aero_mod … … 16 17 IMPLICIT NONE 17 18 18 INCLUDE "clesphys.h"19 19 ! 20 20 ! Input arguments: -
LMDZ6/trunk/libf/phylmd/Dust/splaerosol_optic_rrtm.f90
r5268 r5282 11 11 ! 12 12 13 USE clesphys_mod_h 13 14 USE dimphy 14 15 USE aero_mod … … 18 19 IMPLICIT NONE 19 20 20 INCLUDE "clesphys.h"21 21 22 22 -
LMDZ6/trunk/libf/phylmd/StratAer/calcaerosolstrato_rrtm.f90
r5272 r5282 4 4 SUBROUTINE calcaerosolstrato_rrtm(pplay,t_seri,paprs,debut) 5 5 6 USE clesphys_mod_h 7 USE iniprint_mod_h 6 8 USE phys_state_var_mod, ONLY: tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm, tau_aero_lw_rrtm 7 9 USE phys_local_var_mod, ONLY: mdw, tausum_aero, tausum_strat, tau_strat_550, tau_strat_1020, stratomask … … 17 19 18 20 19 INCLUDE "clesphys.h"20 21 21 INCLUDE "iniprint.h"22 22 23 23 ! Variable input -
LMDZ6/trunk/libf/phylmd/acama_gwd_rando_m.f90
r5274 r5282 4 4 module ACAMA_GWD_rando_m 5 5 6 implicit none 6 USE clesphys_mod_h 7 implicit none 7 8 8 9 contains … … 12 13 13 14 ! Parametrization of the momentum flux deposition due to a discrete 14 ! number of gravity waves. 15 ! number of gravity waves. 15 16 ! Author: F. Lott, A. de la Camara 16 17 ! July, 24th, 2014 … … 39 40 40 41 41 include "clesphys.h"42 42 ! OFFLINE: 43 43 ! include "dimensions_mod.f90" -
LMDZ6/trunk/libf/phylmd/add_phys_tend_mod.f90
r5274 r5282 99 99 !====================================================================== 100 100 101 USE clesphys_mod_h 101 102 USE dimphy, ONLY: klon, klev 102 103 USE phys_state_var_mod, ONLY : phys_tstep … … 122 123 IMPLICIT none 123 124 124 INCLUDE "clesphys.h"125 125 126 126 ! Arguments : … … 515 515 !====================================================================== 516 516 517 USE phys_state_var_mod, ONLY : phys_tstep, ftsol 517 USE clesphys_mod_h 518 USE phys_state_var_mod, ONLY : phys_tstep, ftsol 518 519 USE geometry_mod, ONLY: longitude_deg, latitude_deg 519 520 USE print_control_mod, ONLY: prt_level … … 535 536 IMPLICIT none 536 537 537 include "clesphys.h"538 538 539 539 ! Arguments : -
LMDZ6/trunk/libf/phylmd/albedo.f90
r5274 r5282 2 2 module albedo 3 3 4 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 4 USE clesphys_mod_h 5 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 5 6 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 6 7 , R_ecc, R_peri, R_incl & … … 20 21 SUBROUTINE alboc(rjour, rlat, albedo) 21 22 USE dimphy 23 USE clesphys_mod_h 22 24 ! ====================================================================== 23 25 ! Auteur(s): Z.X. Li (LMD/CNRS) (adaptation du GCM du LMD) … … 31 33 ! albedo (out,R): albedo obtenu (de 0 a 1) 32 34 ! ====================================================================== 33 34 include "clesphys.h"35 35 36 36 INTEGER npts ! il controle la precision de l'integration … … 147 147 ! albedo (out): albedo de surface de l'ocean 148 148 ! ====================================================================== 149 include "clesphys.h"150 149 REAL, intent(in):: rmu0(klon) 151 150 real, intent(out):: albedo(klon) -
LMDZ6/trunk/libf/phylmd/albsno.f90
r5268 r5282 4 4 SUBROUTINE albsno(klon, knon, dtime, agesno, alb_neig_grid, precip_snow) 5 5 6 USE clesphys_mod_h 6 7 IMPLICIT NONE 7 8 8 INCLUDE "clesphys.h"9 9 10 10 ! Input arguments -
LMDZ6/trunk/libf/phylmd/calcul_fluxs_mod.f90
r5274 r5282 4 4 MODULE calcul_fluxs_mod 5 5 6 IMPLICIT NONE 6 USE clesphys_mod_h 7 IMPLICIT NONE 7 8 8 9 CONTAINS … … 14 15 tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l, & 15 16 sens_prec_liq, sens_prec_sol, lat_prec_liq, lat_prec_sol, rhoa) 16 17 17 18 18 19 USE dimphy, ONLY : klon 19 20 USE indice_sol_mod … … 32 33 , RALPD, RBETD, RGAMD 33 34 34 INCLUDE "clesphys.h"35 35 36 36 ! Cette routine calcule les fluxs en h et q a l'interface et eventuellement … … 299 299 flux_u1, flux_v1) 300 300 301 USE clesphys_mod_h 301 302 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 302 303 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 313 314 USE dimphy 314 315 315 INCLUDE "clesphys.h"316 316 317 317 ! Input arguments -
LMDZ6/trunk/libf/phylmd/calltherm.F90
r5217 r5282 40 40 #endif 41 41 #endif 42 42 USE clesphys_mod_h 43 43 implicit none 44 include "clesphys.h"45 44 include "thermcell_old.h" 46 45 -
LMDZ6/trunk/libf/phylmd/carbon_cycle_mod.f90
r5271 r5282 226 226 227 227 USE dimensions_mod, ONLY: iim, jjm, llm, ndm 228 USE clesphys_mod_h 228 229 IMPLICIT NONE 229 INCLUDE "clesphys.h"230 230 231 231 ! Local variables … … 282 282 USE mod_phys_lmdz_omp_transfert 283 283 USE dimphy, ONLY: klon 284 USE iniprint_mod_h 285 USE clesphys_mod_h 284 286 285 287 IMPLICIT NONE … … 329 331 ! Declarations 330 332 331 INCLUDE "clesphys.h" 332 333 INCLUDE "iniprint.h" 333 334 334 335 335 ! Local variables -
LMDZ6/trunk/libf/phylmd/cdrag_mod.f90
r5274 r5282 41 41 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 42 42 , RALPD, RBETD, RGAMD 43 USE clesphys_mod_h 43 44 44 45 IMPLICIT NONE … … 127 128 !****************************************************************** 128 129 INCLUDE "YOETHF.h" 129 INCLUDE "clesphys.h"130 130 131 131 -
LMDZ6/trunk/libf/phylmd/change_srf_frac_mod.f90
r5274 r5282 4 4 MODULE change_srf_frac_mod 5 5 6 IMPLICIT NONE 6 USE clesphys_mod_h 7 IMPLICIT NONE 7 8 8 9 CONTAINS 9 ! 10 ! 10 11 ! Change Surface Fractions 11 12 ! Author J Ghattas 2008 … … 14 15 pctsrf, evap, z0m, z0h, agesno, & 15 16 alb_dir, alb_dif, tsurf, ustar, u10m, v10m, pbl_tke) 16 17 18 19 ! 20 ! This subroutine is called from physiq.F at each timestep. 17 18 19 20 ! 21 ! This subroutine is called from physiq.F at each timestep. 21 22 ! 1- For each type of ocean (force, slab, couple) receive new fractions only if 22 ! it's time to modify (is_modified=true). Otherwise nothing is done (is_modified=false). 23 ! it's time to modify (is_modified=true). Otherwise nothing is done (is_modified=false). 23 24 ! If received new fraction : 24 ! 2- Tests and ajustements are done on the fractions 25 ! 3- Initialize variables where a new fraction(new or melted ice) has appered, 25 ! 2- Tests and ajustements are done on the fractions 26 ! 3- Initialize variables where a new fraction(new or melted ice) has appered, 26 27 ! 27 28 … … 49 50 50 51 !albedo SB >>> 51 include "clesphys.h"52 52 !albedo SB <<< 53 53 -
LMDZ6/trunk/libf/phylmd/clcdrag.f90
r5274 r5282 7 7 pcfm, pcfh) 8 8 9 USE clesphys_mod_h 9 10 USE dimphy 10 11 USE indice_sol_mod … … 55 56 56 57 INCLUDE "YOETHF.h" 57 INCLUDE "clesphys.h"58 58 ! 59 59 ! Quelques constantes et options: -
LMDZ6/trunk/libf/phylmd/clesphys_mod_h.f90
r5281 r5282 1 ! $Id$ 2 ! 3 ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre 4 ! veillez \`a n'utiliser que des ! pour les commentaires 5 ! et \`a bien positionner les & des lignes de continuation 6 ! (les placer en colonne 6 et en colonne 73) 7 ! 8 !..include cles_phys.h 9 10 ! threshold on to activate SSO schemes 11 REAL zrel_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t 12 INTEGER iflag_cycle_diurne 13 LOGICAL soil_model,new_oliq,ok_orodr,ok_orolf 14 LOGICAL ok_limitvrai 15 LOGICAL ok_all_xml 16 LOGICAL ok_lwoff 17 INTEGER nbapp_rad, iflag_con, nbapp_cv, nbapp_wk, iflag_ener_conserv 18 REAL co2_ppm, co2_ppm0, solaire 19 INTEGER iflag_thermals,nsplit_thermals 20 INTEGER iflag_physiq 21 REAL tau_thermals 22 23 !FC 24 REAL Cd_frein 25 LOGICAL ok_suntime_rrtm 26 REAL(kind=8) RCO2, RCH4, RN2O, RCFC11, RCFC12 27 REAL(kind=8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act 28 REAL(kind=8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt 29 !IM ajout CFMIP2/CMIP5 30 REAL(kind=8) RCO2_per,RCH4_per,RN2O_per,RCFC11_per,RCFC12_per 31 REAL(kind=8) CH4_ppb_per,N2O_ppb_per,CFC11_ppt_per,CFC12_ppt_per 32 33 !OM ---> correction du bilan d'eau global 34 !OM Correction sur precip KE 35 REAL cvl_corr 36 !OM Fonte calotte dans bilan eau 37 LOGICAL ok_lic_melt 38 !OB Depot de vapeur d eau sur la calotte pour le bilan eau 39 LOGICAL ok_lic_cond 40 41 !IM simulateur ISCCP 42 INTEGER top_height, overlap 43 !IM seuils cdrm, cdrh 44 REAL cdmmax, cdhmax 45 !IM pour les params différentes Olivier Torres 46 INTEGER choix_bulk, nit_bulk, kz0 47 !IM param. stabilite s/ terres et en dehors 48 REAL ksta, ksta_ter, f_ri_cd_min 49 !IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH 50 LOGICAL ok_kzmin 51 !IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif - 52 ! pour regler l albedo sur ocean 53 REAL fmagic, pmagic 54 ! Hauteur (imposee) du contenu en eau du sol 55 REAL qsol0,albsno0,evap0 56 ! Frottement au sol (Cdrag) 57 Real f_cdrag_ter,f_cdrag_oce 58 REAL min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce 59 REAL z0m_seaice,z0h_seaice 60 REAL z0m_landice, z0h_landice 61 INTEGER iflag_gusts,iflag_z0_oce 62 63 ! Rugoro 64 Real f_rugoro,z0min 65 66 ! tau_gl : constante de rappel de la temperature a la surface de la glace 67 REAL tau_gl 68 69 !IM lev_histhf : niveau sorties 6h 70 !IM lev_histday : niveau sorties journalieres 71 !IM lev_histmth : niveau sorties mensuelles 72 !IM lev_histdayNMC : on peut sortir soit sur 8 (comme AR5) ou bien 73 ! sur 17 niveaux de pression 74 INTEGER lev_histhf, lev_histday, lev_histmth 75 INTEGER lev_histdayNMC 76 Integer lev_histins, lev_histLES 77 !IM ok_histNMC : sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) 78 !IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) 79 !IM freq_calNMC : frequences de calcul fis. hist*NMC.nc 80 LOGICAL ok_histNMC(3) 81 INTEGER levout_histNMC(3) 82 REAL freq_outNMC(3) , freq_calNMC(3) 83 CHARACTER(len=4) type_run 84 ! aer_type: pour utiliser un fichier constant dans readaerosol 85 CHARACTER(len=8) :: aer_type 86 LOGICAL ok_regdyn 87 REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins 88 REAL ecrit_ins, ecrit_hf, ecrit_day 89 REAL ecrit_mth, ecrit_tra, ecrit_reg 90 REAL ecrit_LES 91 REAL freq_ISCCP, ecrit_ISCCP 92 REAL freq_COSP, freq_AIRS 93 LOGICAL :: ok_cosp,ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP 94 LOGICAL :: ok_airs 95 INTEGER :: ip_ebil_phy, iflag_rrtm, iflag_ice_thermo, NSW, iflag_albedo 96 LOGICAL :: ok_ice_supersat, ok_plane_h2o, ok_plane_contrail 97 LOGICAL :: ok_chlorophyll 98 LOGICAL :: ok_strato 99 LOGICAL :: ok_hines, ok_gwd_rando 100 LOGICAL :: ok_qch4 101 LOGICAL :: ok_conserv_q 102 LOGICAL :: adjust_tropopause 103 LOGICAL :: ok_daily_climoz 104 LOGICAL :: ok_new_lscp 105 LOGICAL :: ok_bs, ok_rad_bs 106 ! flag to bypass or not the phytrac module 107 INTEGER :: iflag_phytrac 108 109 !AI flags pour ECRAD 110 LOGICAL :: ok_3Deffect 111 112 !OB flag to activate water mass fixer in physiq 113 LOGICAL :: ok_water_mass_fixer 114 115 COMMON/clesphys/ & 116 ! REAL FIRST 117 ! rajout choix_bulk et nit_bulk kz0 par Olivier Torres 118 & co2_ppm, solaire & 119 & , RCO2, RCH4, RN2O, RCFC11, RCFC12 & 120 & , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act & 121 & , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per & 122 & , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt & 123 & , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per & 124 & , cdmmax,cdhmax,ksta,ksta_ter,f_ri_cd_min & 125 & , fmagic, pmagic & 126 & , f_cdrag_ter,f_cdrag_oce,f_rugoro,z0min,tau_gl & 127 & , min_wind_speed,f_gust_wk,f_gust_bl,f_qsat_oce,f_z0qh_oce & 128 & , z0m_seaice,z0h_seaice,z0m_landice,z0h_landice & 129 & , freq_outNMC, freq_calNMC & 130 & , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins & 131 & , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS & 132 & , cvl_corr & 133 & , qsol0,albsno0,evap0 & 134 & , co2_ppm0 & 135 !FC 136 & , Cd_frein,zrel_oro_t,zpmm_orodr_t,zpmm_orolf_t,zstd_orodr_t & 137 & , ecrit_LES & 138 & , ecrit_ins, ecrit_hf, ecrit_day & 139 & , ecrit_mth, ecrit_tra, ecrit_reg & 140 ! THEN INTEGER AND LOGICALS 141 & , top_height & 142 & , iflag_cycle_diurne, soil_model, new_oliq & 143 & , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad & 144 & , iflag_con, nbapp_cv, nbapp_wk & 145 & , choix_bulk, nit_bulk, kz0 & 146 & , iflag_ener_conserv & 147 & , ok_suntime_rrtm & 148 & , overlap & 149 & , ok_kzmin & 150 & , lev_histhf, lev_histday, lev_histmth & 151 & , lev_histins, lev_histLES, lev_histdayNMC, levout_histNMC & 152 & , ok_histNMC & 153 & , type_run, ok_regdyn, ok_cosp, ok_airs & 154 & , ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP & 155 & , ip_ebil_phy & 156 & , iflag_gusts ,iflag_z0_oce & 157 & , ok_lic_melt, ok_lic_cond, aer_type & 158 & , iflag_rrtm, ok_strato,ok_hines, ok_qch4 & 159 & , iflag_ice_thermo, ok_ice_supersat & 160 & , ok_plane_h2o, ok_plane_contrail & 161 & , ok_gwd_rando, NSW, iflag_albedo & 162 & , ok_chlorophyll,ok_conserv_q, adjust_tropopause & 163 & , ok_daily_climoz, ok_all_xml, ok_lwoff & 164 & , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs & 165 & , iflag_thermals,nsplit_thermals, tau_thermals & 166 & , iflag_physiq, ok_3Deffect, ok_water_mass_fixer 167 save /clesphys/ 168 !$OMP THREADPRIVATE(/clesphys/) 1 ! Replaces clesphys.h 2 3 MODULE clesphys_mod_h 4 IMPLICIT NONE; PRIVATE 5 6 PUBLIC co2_ppm, solaire & 7 , RCO2, RCH4, RN2O, RCFC11, RCFC12 & 8 , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act & 9 , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per & 10 , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt & 11 , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per & 12 , cdmmax, cdhmax, ksta, ksta_ter, f_ri_cd_min & 13 , fmagic, pmagic & 14 , f_cdrag_ter, f_cdrag_oce, f_rugoro, z0min, tau_gl & 15 , min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce & 16 , z0m_seaice, z0h_seaice, z0m_landice, z0h_landice & 17 , freq_outNMC, freq_calNMC & 18 , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins & 19 , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS & 20 , cvl_corr & 21 , qsol0, albsno0, evap0 & 22 , co2_ppm0 & 23 , tau_thermals & 24 , Cd_frein, zrel_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t & 25 , ecrit_LES & 26 , ecrit_ins, ecrit_hf, ecrit_day & 27 , ecrit_mth, ecrit_tra, ecrit_reg & 28 , top_height & 29 , iflag_cycle_diurne, soil_model, new_oliq & 30 , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad & 31 , iflag_con, nbapp_cv, nbapp_wk & 32 , choix_bulk, nit_bulk, kz0 & 33 , iflag_ener_conserv & 34 , ok_suntime_rrtm & 35 , overlap & 36 , ok_kzmin & 37 , lev_histhf, lev_histday, lev_histmth & 38 , lev_histins, lev_histLES, lev_histdayNMC, levout_histNMC & 39 , ok_histNMC & 40 , type_run, ok_regdyn, ok_cosp, ok_airs & 41 , ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP & 42 , ip_ebil_phy & 43 , iflag_gusts, iflag_z0_oce & 44 , ok_lic_melt, ok_lic_cond, aer_type & 45 , iflag_rrtm, ok_strato, ok_hines, ok_qch4 & 46 , iflag_ice_thermo, ok_ice_supersat & 47 , ok_plane_h2o, ok_plane_contrail & 48 , ok_gwd_rando, NSW, iflag_albedo & 49 , ok_chlorophyll, ok_conserv_q, adjust_tropopause & 50 , ok_daily_climoz, ok_all_xml, ok_lwoff & 51 , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs & 52 , iflag_thermals, nsplit_thermals & 53 , iflag_physiq, ok_3Deffect, ok_water_mass_fixer 54 55 56 ! threshold on to activate SSO schemes 57 ! threshold on to activate SSO schemes 58 REAL zrel_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t 59 INTEGER iflag_cycle_diurne 60 LOGICAL soil_model, new_oliq, ok_orodr, ok_orolf 61 LOGICAL ok_limitvrai 62 LOGICAL ok_all_xml 63 LOGICAL ok_lwoff 64 INTEGER nbapp_rad, iflag_con, nbapp_cv, nbapp_wk, iflag_ener_conserv 65 REAL co2_ppm, co2_ppm0, solaire 66 INTEGER iflag_thermals, nsplit_thermals 67 INTEGER iflag_physiq 68 REAL tau_thermals 69 70 !FC 71 REAL Cd_frein 72 LOGICAL ok_suntime_rrtm 73 REAL(kind = 8) RCO2, RCH4, RN2O, RCFC11, RCFC12 74 REAL(kind = 8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act 75 REAL(kind = 8) CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt 76 !IM ajout CFMIP2/CMIP5ok_bs 77 REAL(kind = 8) RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per 78 REAL(kind = 8) CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per 79 80 !OM ---> correction du bilan d'eau global 81 !OM Correction sur precip KE 82 REAL cvl_corr 83 !OM Fonte calotte dans bilan eau 84 LOGICAL ok_lic_melt 85 !OB Depot de vapeur d eau sur la calotte pour le bilan eau 86 LOGICAL ok_lic_cond 87 88 !IM simulateur ISCCP 89 INTEGER top_height, overlap 90 !IM seuils cdrm, cdrh 91 REAL cdmmax, cdhmax 92 !IM pour les params différentes Olivier Torres 93 INTEGER choix_bulk, nit_bulk, kz0 94 !IM param. stabilite s/ terres et en dehors 95 REAL ksta, ksta_ter, f_ri_cd_min 96 !IM ok_kzmin : clef calcul Kzmin dans la CL de surface cf FH 97 LOGICAL ok_kzmin 98 !IM, MAFo fmagic, pmagic : parametres - additionnel et multiplicatif - 99 ! pour regler l albedo sur ocean 100 REAL fmagic, pmagic 101 ! Hauteur (imposee) du contenu en eau du sol 102 REAL qsol0, albsno0, evap0 103 ! Frottement au sol (Cdrag) 104 Real f_cdrag_ter, f_cdrag_oce 105 REAL min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce 106 REAL z0m_seaice, z0h_seaice 107 REAL z0m_landice, z0h_landice 108 INTEGER iflag_gusts, iflag_z0_oce 109 110 ! Rugoro 111 Real f_rugoro, z0min 112 113 ! tau_gl : constante de rappel de la temperature a la surface de la glace 114 REAL tau_gl 115 116 !IM lev_histhf : niveau sorties 6h 117 !IM lev_histday : niveau sorties journalieres 118 !IM lev_histmth : niveau sorties mensuelles 119 !IM lev_histdayNMC : on peut sortir soit sur 8 (comme AR5) ou bien 120 ! sur 17 niveaux de pression 121 INTEGER lev_histhf, lev_histday, lev_histmth 122 INTEGER lev_histdayNMC 123 Integer lev_histins, lev_histLES 124 !IM ok_histNMC : sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) 125 !IM freq_outNMC : frequences de sortie fichiers niveaux de pression (histmthNMC, histdayNMC, histhfNMC) 126 !IM freq_calNMC : frequences de calcul fis. hist*NMC.nc 127 LOGICAL ok_histNMC(3) 128 INTEGER levout_histNMC(3) 129 REAL freq_outNMC(3), freq_calNMC(3) 130 CHARACTER(len = 4) type_run 131 ! aer_type: pour utiliser un fichier constant dans readaerosol 132 CHARACTER(len = 8) :: aer_type 133 LOGICAL ok_regdyn 134 REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins 135 REAL ecrit_ins, ecrit_hf, ecrit_day 136 REAL ecrit_mth, ecrit_tra, ecrit_reg 137 REAL ecrit_LES 138 REAL freq_ISCCP, ecrit_ISCCP 139 REAL freq_COSP, freq_AIRS 140 LOGICAL :: ok_cosp, ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP 141 LOGICAL :: ok_airs 142 INTEGER :: ip_ebil_phy, iflag_rrtm, iflag_ice_thermo, NSW, iflag_albedo 143 LOGICAL :: ok_ice_supersat, ok_plane_h2o, ok_plane_contrail 144 LOGICAL :: ok_chlorophyll 145 LOGICAL :: ok_strato 146 LOGICAL :: ok_hines, ok_gwd_rando 147 LOGICAL :: ok_qch4 148 LOGICAL :: ok_conserv_q 149 LOGICAL :: adjust_tropopause 150 LOGICAL :: ok_daily_climoz 151 LOGICAL :: ok_new_lscp 152 LOGICAL :: ok_bs, ok_rad_bs 153 ! flag to bypass or not the phytrac module 154 INTEGER :: iflag_phytrac 155 156 !AI flags pour ECRAD 157 LOGICAL :: ok_3Deffect 158 159 !OB flag to activate water mass fixer in physiq 160 LOGICAL :: ok_water_mass_fixer 161 162 163 !$OMP THREADPRIVATE(co2_ppm, solaire & 164 !$OMP , RCO2, RCH4, RN2O, RCFC11, RCFC12 & 165 !$OMP , RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act & 166 !$OMP , RCO2_per, RCH4_per, RN2O_per, RCFC11_per, RCFC12_per & 167 !$OMP , CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt & 168 !$OMP , CH4_ppb_per, N2O_ppb_per, CFC11_ppt_per, CFC12_ppt_per & 169 !$OMP , cdmmax, cdhmax, ksta, ksta_ter, f_ri_cd_min & 170 !$OMP , fmagic, pmagic & 171 !$OMP , f_cdrag_ter, f_cdrag_oce, f_rugoro, z0min, tau_gl & 172 !$OMP , min_wind_speed, f_gust_wk, f_gust_bl, f_qsat_oce, f_z0qh_oce & 173 !$OMP , z0m_seaice, z0h_seaice, z0m_landice, z0h_landice & 174 !$OMP , freq_outNMC, freq_calNMC & 175 !$OMP , lonmin_ins, lonmax_ins, latmin_ins, latmax_ins & 176 !$OMP , freq_ISCCP, ecrit_ISCCP, freq_COSP, freq_AIRS & 177 !$OMP , cvl_corr & 178 !$OMP , qsol0, albsno0, evap0 & 179 !$OMP , co2_ppm0 & 180 !$OMP , tau_thermals & 181 !$OMP , Cd_frein, zrel_oro_t, zpmm_orodr_t, zpmm_orolf_t, zstd_orodr_t & 182 !$OMP , ecrit_LES & 183 !$OMP , ecrit_ins, ecrit_hf, ecrit_day & 184 !$OMP , ecrit_mth, ecrit_tra, ecrit_reg & 185 !$OMP , top_height & 186 !$OMP , iflag_cycle_diurne, soil_model, new_oliq & 187 !$OMP , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad & 188 !$OMP , iflag_con, nbapp_cv, nbapp_wk & 189 !$OMP , choix_bulk, nit_bulk, kz0 & 190 !$OMP , iflag_ener_conserv & 191 !$OMP , ok_suntime_rrtm & 192 !$OMP , overlap & 193 !$OMP , ok_kzmin & 194 !$OMP , lev_histhf, lev_histday, lev_histmth & 195 !$OMP , lev_histins, lev_histLES, lev_histdayNMC, levout_histNMC & 196 !$OMP , ok_histNMC & 197 !$OMP , type_run, ok_regdyn, ok_cosp, ok_airs & 198 !$OMP , ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP & 199 !$OMP , ip_ebil_phy & 200 !$OMP , iflag_gusts, iflag_z0_oce & 201 !$OMP , ok_lic_melt, ok_lic_cond, aer_type & 202 !$OMP , iflag_rrtm, ok_strato, ok_hines, ok_qch4 & 203 !$OMP , iflag_ice_thermo, ok_ice_supersat & 204 !$OMP , ok_plane_h2o, ok_plane_contrail & 205 !$OMP , ok_gwd_rando, NSW, iflag_albedo & 206 !$OMP , ok_chlorophyll, ok_conserv_q, adjust_tropopause & 207 !$OMP , ok_daily_climoz, ok_all_xml, ok_lwoff & 208 !$OMP , iflag_phytrac, ok_new_lscp, ok_bs, ok_rad_bs & 209 !$OMP , iflag_thermals, nsplit_thermals & 210 !$OMP , iflag_physiq, ok_3Deffect, ok_water_mass_fixer) 211 212 END MODULE clesphys_mod_h -
LMDZ6/trunk/libf/phylmd/coare30_flux_cnrm_mod.f90
r5274 r5282 70 70 ! 71 71 ! 72 USE clesphys_mod_h 72 73 !USE MODD_SEAFLUX_n, ONLY : SEAFLUX_t 73 74 ! … … 242 243 INTEGER :: NGRVWAVES ! Pour le choix du z0 243 244 244 INCLUDE "clesphys.h"245 245 246 246 !-------------------------------------- -
LMDZ6/trunk/libf/phylmd/coef_diff_turb_mod.f90
r5274 r5282 6 6 ! at surface(cdrag) 7 7 ! 8 IMPLICIT NONE 9 8 USE clesphys_mod_h 9 IMPLICIT NONE 10 10 11 CONTAINS 11 12 ! … … 15 16 ypaprs, ypplay, yu, yv, yq, yt, yts, yqsurf, ycdragm, & 16 17 ycoefm, ycoefh ,yq2, yeps, ydrgpro) 17 18 18 19 USE dimphy 19 20 USE indice_sol_mod … … 32 33 , RALPD, RBETD, RGAMD 33 34 ! 34 ! Calculate coefficients(ycoefm, ycoefh) for turbulent diffusion in the 35 ! atmosphere 36 ! NB! No values are calculated between surface and the first model layer. 35 ! Calculate coefficients(ycoefm, ycoefh) for turbulent diffusion in the 36 ! atmosphere 37 ! NB! No values are calculated between surface and the first model layer. 37 38 ! ycoefm(:,1) and ycoefh(:,1) are not valid !!! 38 39 ! … … 56 57 !**************************************************************************************** 57 58 REAL, DIMENSION(klon,klev+1), INTENT(INOUT):: yq2 58 59 59 60 ! Output arguments 60 61 !**************************************************************************************** … … 72 73 ! Include 73 74 !**************************************************************************************** 74 INCLUDE "clesphys.h"75 75 INCLUDE "compbl.h" 76 76 INCLUDE "YOETHF.h" -
LMDZ6/trunk/libf/phylmd/coefcdrag.f90
r5274 r5282 7 7 cdram, cdrah, cdran, zri1, pref) 8 8 9 USE clesphys_mod_h 9 10 USE indice_sol_mod 10 11 … … 64 65 65 66 include "YOETHF.h" 66 INCLUDE "clesphys.h"67 67 ! Quelques constantes : 68 68 REAL, parameter :: RKAR=0.40, CB=5.0, CC=5.0, CD=5.0, cepdu2=(0.1)**2 -
LMDZ6/trunk/libf/phylmd/concvl.f90
r5274 r5282 30 30 31 31 32 USE clesphys_mod_h 32 33 USE dimphy 33 34 USE infotrac_phy, ONLY: nbtr … … 98 99 99 100 100 include "clesphys.h"101 101 102 102 INTEGER, INTENT(IN) :: iflag_clos -
LMDZ6/trunk/libf/phylmd/condsurf.f90
r5270 r5282 2 2 3 3 SUBROUTINE condsurf(jour, jourvrai, lmt_bils) 4 USE clesphys_mod_h 4 5 USE dimphy 5 6 USE mod_grid_phy_lmdz … … 24 25 INTEGER epais(2) 25 26 26 include "clesphys.h"27 27 28 28 INTEGER nannemax -
LMDZ6/trunk/libf/phylmd/conf_phys_m.f90
r5274 r5282 6 6 MODULE conf_phys_m 7 7 8 IMPLICIT NONE 8 USE clesphys_mod_h 9 IMPLICIT NONE 9 10 10 11 CONTAINS … … 17 18 iflag_cld_th, & 18 19 ratqsbas,ratqshaut,tau_ratqs, & 19 ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan, flag_volc_surfstrat, aerosol_couple, & 20 ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan, flag_volc_surfstrat, aerosol_couple, & 20 21 chemistry_couple, flag_aerosol, flag_aerosol_strat, flag_aer_feedback, & 21 22 flag_bc_internal_mixture, bl95_b0, bl95_b1,& … … 56 57 57 58 !IM : on inclut/initialise les taux de CH4, N2O, CFC11 et CFC12 58 INCLUDE "clesphys.h"59 59 INCLUDE "compbl.h" 60 60 INCLUDE "comsoil.h" -
LMDZ6/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90
r4619 r5282 431 431 ! ug Routine pour definir itau_iocosp depuis cosp_output_write_mod: 432 432 SUBROUTINE set_itau_iocosp(ito) 433 IMPLICIT NONE 433 USE clesphys_mod_h 434 IMPLICIT NONE 434 435 INTEGER, INTENT(IN) :: ito 435 436 itau_iocosp = ito … … 448 449 IMPLICIT NONE 449 450 450 INCLUDE "clesphys.h"451 451 452 452 INTEGER :: iff … … 456 456 CHARACTER(LEN=20) :: typeecrit 457 457 458 ! ug On r écupère le type écrit de la structure:459 ! Assez moche, Ã| refaire si meilleure méthode...458 ! ug On récupère le type écrit de la structure: 459 ! Assez moche, �| refaire si meilleure méthode... 460 460 IF (INDEX(var%cosp_typeecrit(iff), "once") > 0) THEN 461 461 typeecrit = 'once' … … 499 499 500 500 SUBROUTINE histdef3d_cosp (iff,var,nvertsave,ncols) 501 USE clesphys_mod_h 501 502 USE ioipsl 502 503 USE dimphy … … 509 510 IMPLICIT NONE 510 511 511 INCLUDE "clesphys.h"512 512 513 513 INTEGER :: iff, klevs … … 558 558 END IF 559 559 560 ! ug On r écupère le type écrit de la structure:561 ! Assez moche, Ã| refaire si meilleure méthode...560 ! ug On récupère le type écrit de la structure: 561 ! Assez moche, �| refaire si meilleure méthode... 562 562 IF (INDEX(var%cosp_typeecrit(iff), "once") > 0) THEN 563 563 typeecrit = 'once' … … 602 602 603 603 SUBROUTINE histwrite2d_cosp(var,field) 604 USE clesphys_mod_h 604 605 USE dimphy 605 606 USE mod_phys_lmdz_para … … 611 612 612 613 IMPLICIT NONE 613 INCLUDE 'clesphys.h'614 614 615 615 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 628 628 IF (prt_level >= 9) WRITE(lunout,*)'Begin histrwrite2d ',var%name 629 629 630 ! On regarde si on est dans la phase de d éfinition ou d'écriture:630 ! On regarde si on est dans la phase de définition ou d'écriture: 631 631 IF(.NOT.cosp_varsdefined) THEN 632 632 !$OMP MASTER 633 !Si phase de d éfinition.... on définit633 !Si phase de définition.... on définit 634 634 CALL conf_cospoutputs(var%name,var%cles) 635 635 DO iff=1, 3 … … 640 640 !$OMP END MASTER 641 641 ELSE 642 !Et sinon on.... écrit642 !Et sinon on.... écrit 643 643 IF (SIZE(field)/=klon) & 644 644 CALL abort_physic('iophy::histwrite2d_cosp','Field first DIMENSION not equal to klon',1) … … 688 688 ! AI sept 2013 689 689 SUBROUTINE histwrite3d_cosp(var, field, nverts, ncols) 690 USE clesphys_mod_h 690 691 USE dimphy 691 692 USE mod_phys_lmdz_para … … 697 698 698 699 IMPLICIT NONE 699 INCLUDE 'clesphys.h'700 700 701 701 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 725 725 nom=var%name 726 726 END IF 727 ! On regarde si on est dans la phase de d éfinition ou d'écriture:727 ! On regarde si on est dans la phase de définition ou d'écriture: 728 728 IF(.NOT.cosp_varsdefined) THEN 729 !Si phase de d éfinition.... on définit729 !Si phase de définition.... on définit 730 730 !$OMP MASTER 731 731 CALL conf_cospoutputs(var%name,var%cles) … … 737 737 !$OMP END MASTER 738 738 ELSE 739 !Et sinon on.... écrit739 !Et sinon on.... écrit 740 740 IF (SIZE(field,1)/=klon) & 741 741 CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) … … 784 784 ! AI sept 2013 785 785 SUBROUTINE histwrite4d_cosp(var, field) 786 USE clesphys_mod_h 786 787 USE dimphy 787 788 USE mod_phys_lmdz_para … … 793 794 794 795 IMPLICIT NONE 795 INCLUDE 'clesphys.h'796 796 797 797 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 809 809 810 810 IF(cosp_varsdefined) THEN 811 !Et sinon on.... écrit811 !Et sinon on.... écrit 812 812 IF (SIZE(field,1)/=klon) & 813 813 CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) -
LMDZ6/trunk/libf/phylmd/cospv2/lmdz_cosp_output_write_mod.f90
r5268 r5282 644 644 ! ug Routine pour definir itau_iocosp depuis cosp_output_write_mod: 645 645 SUBROUTINE set_itau_iocosp(ito) 646 IMPLICIT NONE 646 USE clesphys_mod_h 647 IMPLICIT NONE 647 648 INTEGER, INTENT(IN) :: ito 648 649 itau_iocosp = ito … … 661 662 IMPLICIT NONE 662 663 663 INCLUDE "clesphys.h"664 664 665 665 INTEGER :: iff … … 669 669 CHARACTER(LEN=20) :: typeecrit 670 670 671 ! ug On r écupère le type écrit de la structure:672 ! Assez moche, Ã| refaire si meilleure méthode...671 ! ug On récupère le type écrit de la structure: 672 ! Assez moche, �| refaire si meilleure méthode... 673 673 IF (INDEX(var%cosp_typeecrit(iff), "once") > 0) THEN 674 674 typeecrit = 'once' … … 704 704 705 705 SUBROUTINE histdef3d_cosp (iff,var,nvertsave,ncols) 706 USE clesphys_mod_h 706 707 USE ioipsl 707 708 USE dimphy … … 716 717 IMPLICIT NONE 717 718 718 INCLUDE "clesphys.h"719 719 720 720 INTEGER :: iff, klevs … … 765 765 END IF 766 766 767 ! ug On r écupère le type écrit de la structure:768 ! Assez moche, Ã| refaire si meilleure méthode...767 ! ug On récupère le type écrit de la structure: 768 ! Assez moche, �| refaire si meilleure méthode... 769 769 IF (INDEX(var%cosp_typeecrit(iff), "once") > 0) THEN 770 770 typeecrit = 'once' … … 800 800 801 801 SUBROUTINE histwrite2d_cosp(var,field) 802 USE clesphys_mod_h 802 803 USE dimphy 803 804 USE mod_phys_lmdz_para … … 810 811 811 812 IMPLICIT NONE 812 INCLUDE 'clesphys.h'813 813 814 814 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 827 827 IF (prt_level >= 9) WRITE(lunout,*)'Begin histrwrite2d ',var%name 828 828 829 ! On regarde si on est dans la phase de d éfinition ou d'écriture:829 ! On regarde si on est dans la phase de définition ou d'écriture: 830 830 IF(.NOT.cosp_varsdefined) THEN 831 831 !$OMP MASTER 832 832 print*,'var, cosp_varsdefined dans cosp_varsdefined ',var%name, cosp_varsdefined 833 !Si phase de d éfinition.... on définit833 !Si phase de définition.... on définit 834 834 CALL conf_cospoutputs(var%name,var%cles) 835 835 DO iff=1, 3 … … 840 840 !$OMP END MASTER 841 841 ELSE 842 !Et sinon on.... écrit842 !Et sinon on.... écrit 843 843 IF (SIZE(field)/=klon) & 844 844 CALL abort_physic('iophy::histwrite2d_cosp','Field first DIMENSION not equal to klon',1) … … 882 882 ! AI sept 2013 883 883 SUBROUTINE histwrite3d_cosp(var, field, nverts, ncols) 884 USE clesphys_mod_h 884 885 USE dimphy 885 886 USE mod_phys_lmdz_para … … 893 894 894 895 IMPLICIT NONE 895 INCLUDE 'clesphys.h'896 896 897 897 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 921 921 nom=var%name 922 922 END IF 923 ! On regarde si on est dans la phase de d éfinition ou d'écriture:923 ! On regarde si on est dans la phase de définition ou d'écriture: 924 924 IF(.NOT.cosp_varsdefined) THEN 925 !Si phase de d éfinition.... on définit925 !Si phase de définition.... on définit 926 926 !$OMP MASTER 927 927 CALL conf_cospoutputs(var%name,var%cles) … … 933 933 !$OMP END MASTER 934 934 ELSE 935 !Et sinon on.... écrit935 !Et sinon on.... écrit 936 936 IF (SIZE(field,1)/=klon) & 937 937 CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) … … 973 973 ! AI sept 2013 974 974 SUBROUTINE histwrite4d_cosp(var, field) 975 USE clesphys_mod_h 975 976 USE dimphy 976 977 USE mod_phys_lmdz_para … … 984 985 985 986 IMPLICIT NONE 986 INCLUDE 'clesphys.h'987 987 988 988 TYPE(ctrl_outcosp), INTENT(IN) :: var … … 1000 1000 1001 1001 IF(cosp_varsdefined) THEN 1002 !Et sinon on.... écrit1002 !Et sinon on.... écrit 1003 1003 IF (SIZE(field,1)/=klon) & 1004 1004 CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) -
LMDZ6/trunk/libf/phylmd/create_etat0_unstruct_mod.f90
r5273 r5282 27 27 IMPLICIT NONE 28 28 INTEGER :: file_id, iret 29 29 30 30 ! for coupling activate ocean fraction reading from file "ocean_fraction.nc" 31 31 IF (is_omp_master) THEN … … 52 52 53 53 END SUBROUTINE init_create_etat0_unstruct 54 55 54 55 56 56 SUBROUTINE init_param_gw(zmea, zpic, zval, zstd, zsig, zgam, zthe) 57 57 USE dimphy 58 REAL, INTENT(IN) :: zmea(klon) 58 REAL, INTENT(IN) :: zmea(klon) 59 59 REAL, INTENT(IN) :: zpic(klon) 60 REAL, INTENT(IN) :: zval(klon) 61 REAL, INTENT(IN) :: zstd(klon) 62 REAL, INTENT(IN) :: zsig(klon) 63 REAL, INTENT(IN) :: zgam(klon) 60 REAL, INTENT(IN) :: zval(klon) 61 REAL, INTENT(IN) :: zstd(klon) 62 REAL, INTENT(IN) :: zsig(klon) 63 REAL, INTENT(IN) :: zgam(klon) 64 64 REAL, INTENT(IN) :: zthe(klon) 65 65 66 ALLOCATE(zmea_gw(klon), zpic_gw(klon), zval_gw(klon), zstd_gw(klon), zsig_gw(klon), zgam_gw(klon), zthe_gw(klon)) 67 66 ALLOCATE(zmea_gw(klon), zpic_gw(klon), zval_gw(klon), zstd_gw(klon), zsig_gw(klon), zgam_gw(klon), zthe_gw(klon)) 67 68 68 zmea_gw(:)=zmea(:) 69 69 zpic_gw(:)=zpic(:) … … 93 93 USE ioipsl_getin_p_mod, ONLY: getin_p 94 94 USE dimsoil_mod_h, ONLY: nsoilmx 95 USE clesphys_mod_h 95 96 IMPLICIT NONE 96 include "clesphys.h"97 97 98 98 LOGICAL :: no_ter_antartique ! If true, no land points are allowed at Antartic -
LMDZ6/trunk/libf/phylmd/create_limit_unstruct_mod.f90
r5268 r5282 9 9 10 10 SUBROUTINE create_limit_unstruct 11 USE dimphy11 USE dimphy 12 12 USE lmdz_xios 13 13 USE ioipsl, ONLY : ioget_year_len … … 16 16 USE phys_state_var_mod 17 17 USE mod_phys_lmdz_para 18 USE iniprint_mod_h 18 19 IMPLICIT NONE 19 INCLUDE "iniprint.h"20 20 REAL, DIMENSION(:,:),ALLOCATABLE :: sic 21 21 REAL, DIMENSION(:,:),ALLOCATABLE :: sst … … 41 41 INTEGER :: l,k 42 42 INTEGER :: nbad 43 INTEGER :: sic_time_axis_size 43 INTEGER :: sic_time_axis_size 44 44 INTEGER :: sst_time_axis_size 45 45 CHARACTER(LEN=99) :: mess ! error message 46 47 46 47 48 48 ndays=ioget_year_len(annee_ref) 49 49 50 50 IF (is_omp_master) CALL xios_get_axis_attr("time_sic",n_glo=sic_time_axis_size) 51 51 CALL bcast_omp(sic_time_axis_size) 52 52 ALLOCATE(sic_mpi(klon_mpi,sic_time_axis_size)) 53 53 ALLOCATE(sic(klon,sic_time_axis_size)) 54 55 54 55 56 56 IF (is_omp_master) CALL xios_get_axis_attr("time_sst",n_glo=sst_time_axis_size) 57 57 CALL bcast_omp(sst_time_axis_size) 58 58 ALLOCATE(sst_mpi(klon_mpi,sst_time_axis_size)) 59 59 ALLOCATE(sst(klon,sst_time_axis_size)) 60 60 61 61 IF (is_omp_master) THEN 62 62 CALL xios_recv_field("sic_limit",sic_mpi) … … 69 69 CALL scatter_omp(rugos_mpi,rugos) 70 70 CALL scatter_omp(albedo_mpi,albedo) 71 71 72 72 ALLOCATE(sic_year(klon,ndays)) 73 73 ALLOCATE(sst_year(klon,ndays)) … … 88 88 CALL abort_physic('create_limit_unstruct',TRIM(mess),1) 89 89 ENDIF 90 90 91 91 sic_year(:,:)=sic_year(:,:)/100. ! convert percent to fraction 92 92 WHERE(sic_year(:,:)>1.0) sic_year(:,:)=1.0 ! Some fractions have some time large negative values 93 93 WHERE(sic_year(:,:)<0.0) sic_year(:,:)=0.0 ! probably better to apply alse this filter before horizontal interpolation 94 94 95 95 ! sst 96 96 IF (sst_time_axis_size==lmdep) THEN … … 106 106 107 107 108 ! rugos 108 ! rugos 109 109 DO l=1, lmdep 110 110 WHERE(NINT(zmasq(:))/=1) rugos(:,l)=0.001 … … 112 112 CALL time_interpolation(ndays,rugos,'360_day',rugos_year) 113 113 114 ! albedo 114 ! albedo 115 115 CALL time_interpolation(ndays,albedo,'360_day',albedo_year) 116 116 … … 151 151 IF(nbad>0) WRITE(lunout,*) 'pb sous surface pour nb points = ',nbad 152 152 END DO 153 153 154 154 ALLOCATE(sst_year_mpi(klon_mpi,ndays)) 155 155 ALLOCATE(rugos_year_mpi(klon_mpi,ndays)) … … 157 157 ALLOCATE(pctsrf_t_mpi(klon_mpi,nbsrf,ndays)) 158 158 ALLOCATE(phy_bil_mpi(klon_mpi,ndays)) 159 159 160 160 CALL gather_omp(pctsrf_t , pctsrf_t_mpi) 161 161 CALL gather_omp(sst_year , sst_year_mpi) … … 171 171 CALL xios_send_field("sst_limout", sst_year_mpi) 172 172 CALL xios_send_field("bils_limout",phy_bil_mpi) 173 CALL xios_send_field("alb_limout", albedo_year_mpi) 174 CALL xios_send_field("rug_limout", rugos_year_mpi) 173 CALL xios_send_field("alb_limout", albedo_year_mpi) 174 CALL xios_send_field("rug_limout", rugos_year_mpi) 175 175 ENDIF 176 176 END SUBROUTINE create_limit_unstruct 177 178 177 178 179 179 SUBROUTINE time_interpolation(ndays,field_in,calendar,field_out) 180 180 USE pchsp_95_m, only: pchsp_95 … … 185 185 USE time_phylmdz_mod, ONLY : annee_ref 186 186 USE mod_phys_lmdz_para 187 USE iniprint_mod_h 187 188 IMPLICIT NONE 188 INCLUDE "iniprint.h"189 189 190 190 INTEGER, INTENT(IN) :: ndays -
LMDZ6/trunk/libf/phylmd/dyn1d/old_lmdz1d.f90
r5274 r5282 5 5 SUBROUTINE old_lmdz1d 6 6 7 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar,getin 7 USE clesphys_mod_h 8 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar,getin 8 9 USE phys_state_var_mod, ONLY : phys_state_var_init, phys_state_var_end, & 9 10 clwcon, detr_therm, & … … 23 24 u10m,v10m,ale_wake,ale_bl_stat 24 25 25 26 26 27 USE dimphy 27 28 USE surface_data, only : type_ocean,ok_veget 28 29 USE pbl_surface_mod, only : ftsoil, pbl_surface_init, & 29 30 pbl_surface_final 30 USE fonte_neige_mod, only : fonte_neige_init, fonte_neige_final 31 USE fonte_neige_mod, only : fonte_neige_init, fonte_neige_final 31 32 32 33 USE infotrac ! new … … 66 67 67 68 !! INCLUDE "control.h" 68 INCLUDE "clesphys.h"69 69 ! INCLUDE "indicesol.h" 70 70 -
LMDZ6/trunk/libf/phylmd/dyn1d/scm.f90
r5274 r5282 1 1 SUBROUTINE scm 2 2 3 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar,getin 3 USE clesphys_mod_h 4 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar,getin 4 5 USE phys_state_var_mod, ONLY : phys_state_var_init, phys_state_var_end, & 5 6 clwcon, detr_therm, & … … 19 20 u10m,v10m,ale_wake,ale_bl_stat, ratqs_inter_ 20 21 21 22 22 23 USE dimphy 23 24 USE surface_data, only : type_ocean,ok_veget 24 25 USE pbl_surface_mod, only : ftsoil, pbl_surface_init, & 25 26 pbl_surface_final 26 USE fonte_neige_mod, only : fonte_neige_init, fonte_neige_final 27 USE fonte_neige_mod, only : fonte_neige_init, fonte_neige_final 27 28 28 29 USE infotrac ! new … … 62 63 63 64 !! INCLUDE "control.h" 64 INCLUDE "clesphys.h"65 65 ! INCLUDE "indicesol.h" 66 66 -
LMDZ6/trunk/libf/phylmd/ecrad/lmdz/readaerosol_optic_ecrad.f90
r5268 r5282 13 13 ! 14 14 15 USE clesphys_mod_h 15 16 USE dimphy 16 17 USE aero_mod 17 18 USE phys_local_var_mod, only: sconcso4,sconcno3,sconcoa,sconcbc,sconcss,sconcdust, & 18 19 concso4,concno3,concoa,concbc,concss,concdust,loadso4,loadoa,loadbc,loadss,loaddust, & 19 loadno3,load_tmp1,load_tmp2,load_tmp3,load_tmp4,load_tmp5,load_tmp6,load_tmp7, & 20 loadno3,load_tmp1,load_tmp2,load_tmp3,load_tmp4,load_tmp5,load_tmp6,load_tmp7, & 20 21 load_tmp8,load_tmp9,load_tmp10 21 22 … … 25 26 IMPLICIT NONE 26 27 27 include "clesphys.h"28 28 29 29 ! Input arguments -
LMDZ6/trunk/libf/phylmd/ecrad/lmdz/readaerosolstrato_ecrad.F90
r4853 r5282 25 25 #endif 26 26 27 USE clesphys_mod_h 27 28 IMPLICIT NONE 28 29 29 INCLUDE "clesphys.h"30 30 31 31 CHARACTER (len = 80) :: abort_message -
LMDZ6/trunk/libf/phylmd/ecumev6_flux.f90
r5274 r5282 114 114 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 115 115 , RALPD, RBETD, RGAMD 116 USE clesphys_mod_h 116 117 IMPLICIT NONE 117 118 ! … … 255 256 256 257 REAL :: qsat_seawater2,qsat_seawater 257 258 INCLUDE "clesphys.h"259 258 260 259 !REAL(KIND=JPRB) :: ZHOOK_HANDLE -
LMDZ6/trunk/libf/phylmd/ener_conserv.f90
r5274 r5282 20 20 21 21 ! From module 22 USE clesphys_mod_h 22 23 USE phys_local_var_mod, ONLY : d_u_vdf,d_v_vdf,d_t_vdf,d_u_ajs,d_v_ajs,d_t_ajs, & 23 24 & d_u_con,d_v_con,d_t_con,d_t_diss … … 27 28 USE phys_state_var_mod, ONLY : du_gwd_front,du_gwd_rando 28 29 USE phys_output_var_mod, ONLY : bils_ec,bils_ech,bils_tke,bils_kinetic,bils_enthalp,bils_latent,bils_diss 29 USE add_phys_tend_mod, ONLY : fl_cor_ebil 30 USE add_phys_tend_mod, ONLY : fl_cor_ebil 30 31 USE infotrac_phy, ONLY: nqtot 31 32 … … 46 47 47 48 INCLUDE "YOETHF.h" 48 INCLUDE "clesphys.h"49 49 INCLUDE "compbl.h" 50 50 -
LMDZ6/trunk/libf/phylmd/flott_gwd_rando_m.f90
r5274 r5282 4 4 module FLOTT_GWD_rando_m 5 5 6 implicit none 6 USE clesphys_mod_h 7 implicit none 7 8 8 9 contains … … 12 13 13 14 ! Parametrization of the momentum flux deposition due to a discrete 14 ! number of gravity waves. 15 ! number of gravity waves. 15 16 ! Author: F. Lott 16 17 ! July, 12th, 2012 … … 39 40 40 41 41 include "clesphys.h"42 42 ! OFFLINE: 43 43 ! include "dimensions_mod.f90" -
LMDZ6/trunk/libf/phylmd/fonte_neige_mod.F90
r5274 r5282 246 246 #endif 247 247 #endif 248 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 248 USE clesphys_mod_h 249 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 249 250 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 250 251 , R_ecc, R_peri, R_incl & … … 258 259 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 259 260 , RALPD, RBETD, RGAMD 260 261 261 262 ! Routine de traitement de la fonte de la neige dans le cas du traitement 262 263 ! de sol simplifie! … … 266 267 ! nisurf surface a traiter 267 268 ! knindex index des mailles valables pour surface a traiter 268 ! dtime 269 ! dtime 269 270 ! tsurf temperature de surface 270 271 ! precip_rain precipitations liquides … … 279 280 INCLUDE "YOETHF.h" 280 281 INCLUDE "FCTTRE.h" 281 INCLUDE "clesphys.h"282 282 283 283 ! Input variables -
LMDZ6/trunk/libf/phylmd/freinage.f90
r5274 r5282 6 6 7 7 !ONLINE: 8 USE clesphys_mod_h 8 9 use dimphy, only: klon, klev 9 10 ! USE control, ONLY: nvm … … 26 27 27 28 28 include "clesphys.h"29 29 include "YOEGWD.h" 30 30 !FC -
LMDZ6/trunk/libf/phylmd/infotrac_phy.F90
r5271 r5282 130 130 131 131 SUBROUTINE init_infotrac_phy 132 USE iniprint_mod_h 132 133 USE ioipsl_getin_p_mod, ONLY: getin_p 133 134 USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_trac … … 155 156 ! Declarations: 156 157 157 INCLUDE "iniprint.h"158 158 159 159 !------------------------------------------------------------------------------------------------------------------------------ -
LMDZ6/trunk/libf/phylmd/ini_undefSTD.f90
r5268 r5282 4 4 5 5 SUBROUTINE ini_undefstd(itap, itapm1) 6 USE clesphys_mod_h 6 7 USE dimphy 7 8 USE phys_state_var_mod ! Variables sauvegardees de la physique 8 9 USE phys_cal_mod, ONLY: mth_len 9 10 IMPLICIT NONE 10 include "clesphys.h"11 11 12 12 ! ==================================================================== -
LMDZ6/trunk/libf/phylmd/iniradia.F90
r2470 r5282 1 1 SUBROUTINE iniradia(klon, klev, pres) 2 2 3 USE clesphys_mod_h 3 4 IMPLICIT NONE 4 5 ! ====================================================================== … … 19 20 REAL pres(klev+1) 20 21 21 include "clesphys.h"22 22 23 23 ! CALL suphel ! initialiser constantes et parametres phys. -
LMDZ6/trunk/libf/phylmd/inlandsis/surf_inlandsis_mod.f90
r5273 r5282 1028 1028 1029 1029 SUBROUTINE sisvatetat0 (fichnom, ikl2i) 1030 USE clesphys_mod_h 1030 1031 USE dimphy 1031 1032 USE mod_grid_phy_lmdz … … 1038 1039 USE indice_sol_mod 1039 1040 USE dimsoil_mod_h, ONLY: nsoilmx, nsnowmx, nsismx 1041 USE clesphys_mod_h 1040 1042 IMPLICIT none 1041 1043 !====================================================================== … … 1046 1048 1047 1049 ! 1048 include "clesphys.h"1049 1050 include "compbl.h" 1050 1051 … … 1279 1280 1280 1281 IMPLICIT none 1281 include "clesphys.h"1282 1282 include "compbl.h" 1283 1283 -
LMDZ6/trunk/libf/phylmd/iophy.F90
r5267 r5282 207 207 208 208 SUBROUTINE histbeg_phyxios(name,itau0,zjulian,dtime,ffreq,lev,nhori,nid_day) 209 ! USE dimphy 209 USE clesphys_mod_h 210 USE dimphy 210 211 USE mod_phys_lmdz_para, ONLY: is_sequential, is_using_mpi, is_mpi_root, & 211 212 jj_begin, jj_end, jj_nb … … 214 215 USE wxios, ONLY: wxios_add_file, using_xios 215 216 IMPLICIT NONE 216 INCLUDE 'clesphys.h'217 217 218 218 CHARACTER*(*), INTENT(IN) :: name … … 463 463 USE aero_mod, ONLY : naero_tot, name_aero_tau 464 464 USE print_control_mod, ONLY: prt_level,lunout 465 465 USE clesphys_mod_h 466 466 IMPLICIT NONE 467 468 INCLUDE "clesphys.h"469 467 470 468 INTEGER :: iff … … 487 485 CALL conf_physoutputs(nomvar,flag_var) 488 486 489 IF(.NOT.lpoint) THEN 487 IF(.NOT.lpoint) THEN 490 488 IF ( flag_var(iff)<=lev_files(iff) ) THEN 491 489 CALL histdef (nid_files(iff),nomvar,titrevar,unitvar, & 492 490 nbp_lon,jj_nb,nhorim(iff), 1,1,1, -99, 32, & 493 type_ecri(iff), zstophym,zoutm(iff)) 491 type_ecri(iff), zstophym,zoutm(iff)) 494 492 ENDIF 495 493 ELSE … … 497 495 CALL histdef (nid_files(iff),nomvar,titrevar,unitvar, & 498 496 npstn,1,nhorim(iff), 1,1,1, -99, 32, & 499 type_ecri(iff), zstophym,zoutm(iff)) 497 type_ecri(iff), zstophym,zoutm(iff)) 500 498 ENDIF 501 499 ENDIF 502 500 503 ! Set swaero_diag=true if at least one of the concerned variables are defined 504 IF (nomvar=='topswad' .OR. nomvar=='topswad0' .OR. nomvar=='solswad' .OR. nomvar=='solswad0' .OR. & 505 nomvar=='toplwad' .OR. nomvar=='toplwad0' .OR. nomvar=='sollwad' .OR. nomvar=='sollwad0' .OR. & 506 nomvar=='topswai' .OR. nomvar=='solswai' ) THEN 501 ! Set swaero_diag=true if at least one of the concerned variables are defined 502 IF (nomvar=='topswad' .OR. nomvar=='topswad0' .OR. nomvar=='solswad' .OR. nomvar=='solswad0' .OR. & 503 nomvar=='toplwad' .OR. nomvar=='toplwad0' .OR. nomvar=='sollwad' .OR. nomvar=='sollwad0' .OR. & 504 nomvar=='topswai' .OR. nomvar=='solswai' ) THEN 507 505 IF ( flag_var(iff)<=lev_files(iff) ) swaero_diag=.TRUE. 508 506 ENDIF 509 507 510 ! Set dryaod_diag=true if at least one of the concerned variables are defined 508 ! Set dryaod_diag=true if at least one of the concerned variables are defined 511 509 IF (nomvar=='dryod550aer') THEN 512 510 IF ( flag_var(iff)<=lev_files(iff) ) dryaod_diag=.TRUE. … … 520 518 ! Set ok_4xCO2atm=true if at least one of the concerned variables are 521 519 ! defined 522 IF (nomvar=='rsut4co2'.OR.nomvar=='rlut4co2'.OR.nomvar=='rsutcs4co2' & 520 IF (nomvar=='rsut4co2'.OR.nomvar=='rlut4co2'.OR.nomvar=='rsutcs4co2' & 523 521 .OR. nomvar=='rlutcs4co2'.OR.nomvar=='rsu4co2'.OR.nomvar=='rsucs4co2' & 524 522 .OR.nomvar=='rsu4co2'.OR.nomvar=='rsucs4co2'.OR.nomvar=='rsd4co2'.OR. & … … 526 524 nomvar=='rld4co2'.OR.nomvar=='rldcs4co2') THEN 527 525 IF ( flag_var(iff)<=lev_files(iff) ) ok_4xCO2atm=.TRUE. 528 ENDIF 526 ENDIF 529 527 END SUBROUTINE histdef2d_old 530 528 … … 539 537 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat 540 538 USE print_control_mod, ONLY: prt_level,lunout 539 USE clesphys_mod_h 541 540 IMPLICIT NONE 542 543 INCLUDE "clesphys.h"544 541 545 542 INTEGER :: iff … … 587 584 clef_stations, phys_out_filenames, lev_files, & 588 585 nid_files, nhorim, swaerofree_diag, swaero_diag, dryaod_diag,& 589 ok_4xCO2atm 590 USE print_control_mod, ONLY: prt_level,lunout 586 ok_4xCO2atm 587 USE print_control_mod, ONLY: prt_level,lunout 591 588 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat 592 589 USE aero_mod, ONLY : naero_tot, name_aero_tau 593 590 USE wxios, ONLY: wxios_add_field_to_file, using_xios 594 591 USE print_control_mod, ONLY: prt_level,lunout 592 USE clesphys_mod_h 595 593 IMPLICIT NONE 596 594 597 INCLUDE "clesphys.h"598 595 599 596 INTEGER :: iff … … 668 665 ENDIF 669 666 670 ! Set swaerofree_diag=true if at least one of the concerned variables are defined 671 IF (var%name=='SWupTOAcleanclr' .OR. var%name=='SWupSFCcleanclr' .OR. var%name=='SWdnSFCcleanclr' .OR. & 667 ! Set swaerofree_diag=true if at least one of the concerned variables are defined 668 IF (var%name=='SWupTOAcleanclr' .OR. var%name=='SWupSFCcleanclr' .OR. var%name=='SWdnSFCcleanclr' .OR. & 672 669 var%name=='LWupTOAcleanclr' .OR. var%name=='LWdnSFCcleanclr' ) THEN 673 670 IF ( var%flag(iff)<=lev_files(iff) ) swaerofree_diag=.TRUE. … … 675 672 676 673 ! set dryaod_dry=true if at least one of the concerned variables are defined 677 IF (var%name=='dryod550aer') THEN 674 IF (var%name=='dryod550aer') THEN 678 675 IF ( var%flag(iff)<=lev_files(iff) ) dryaod_diag=.TRUE. 679 676 ENDIF 680 677 ! 681 DO naero = 1, naero_tot-1 678 DO naero = 1, naero_tot-1 682 679 IF (var%name=='dryod550_'//name_aero_tau(naero)) THEN 683 680 IF ( var%flag(iff)<=lev_files(iff) ) dryaod_diag=.TRUE. … … 686 683 ! Set ok_4xCO2atm=true if at least one of the concerned variables are 687 684 ! defined 688 IF (var%name=='rsut4co2'.OR.var%name=='rlut4co2'.OR.var%name=='rsutcs4co2' & 685 IF (var%name=='rsut4co2'.OR.var%name=='rlut4co2'.OR.var%name=='rsutcs4co2' & 689 686 .OR. var%name=='rlutcs4co2'.OR.var%name=='rsu4co2'.OR.var%name=='rsucs4co2' & 690 687 .OR.var%name=='rsu4co2'.OR.var%name=='rsucs4co2'.OR.var%name=='rsd4co2'.OR. & … … 692 689 var%name=='rld4co2'.OR.var%name=='rldcs4co2') THEN 693 690 IF ( var%flag(iff)<=lev_files(iff) ) ok_4xCO2atm=.TRUE. 694 ENDIF 691 ENDIF 695 692 END SUBROUTINE histdef2d 696 693 … … 708 705 USE wxios, ONLY: wxios_add_field_to_file, using_xios 709 706 USE print_control_mod, ONLY: prt_level,lunout 707 USE clesphys_mod_h 710 708 IMPLICIT NONE 711 709 712 INCLUDE "clesphys.h"713 710 714 711 INTEGER :: iff … … 943 940 SUBROUTINE histwrite2d_phy(var,field, STD_iff) 944 941 942 USE clesphys_mod_h 945 943 USE mod_phys_lmdz_omp_transfert, ONLY: bcast_omp 946 944 USE dimphy, ONLY: klon, klev … … 958 956 959 957 IMPLICIT NONE 960 INCLUDE 'clesphys.h'961 958 962 959 TYPE(ctrl_out), INTENT(IN) :: var … … 1156 1153 SUBROUTINE histwrite3d_phy(var, field, STD_iff) 1157 1154 1155 USE clesphys_mod_h 1158 1156 USE mod_phys_lmdz_omp_transfert, ONLY: bcast_omp 1159 1157 USE dimphy, ONLY: klon, klev … … 1170 1168 1171 1169 IMPLICIT NONE 1172 INCLUDE 'clesphys.h'1173 1170 1174 1171 TYPE(ctrl_out), INTENT(IN) :: var -
LMDZ6/trunk/libf/phylmd/limit_slab.f90
r5268 r5282 3 3 SUBROUTINE limit_slab(itime, dtime, jour, lmt_bils, diff_sst, diff_siv) 4 4 5 USE clesphys_mod_h 5 6 USE dimphy 6 7 USE mod_grid_phy_lmdz, ONLY: klon_glo 7 8 USE mod_phys_lmdz_para 8 USE netcdf 9 USE netcdf 9 10 USE indice_sol_mod 10 11 USE ocean_slab_mod, ONLY: nslay … … 12 13 IMPLICIT NONE 13 14 14 INCLUDE "clesphys.h"15 15 16 16 ! In- and ouput arguments -
LMDZ6/trunk/libf/phylmd/moy_undefSTD.f90
r5268 r5282 3 3 4 4 SUBROUTINE moy_undefstd(itap, itapm1) 5 USE clesphys_mod_h 5 6 USE netcdf 6 7 USE dimphy 7 8 USE phys_state_var_mod 8 9 USE wxios, ONLY: missing_val_xios => missing_val, using_xios 9 10 10 11 USE phys_cal_mod, ONLY: mth_len 11 12 IMPLICIT NONE 12 include "clesphys.h"13 13 REAL :: missing_val 14 14 -
LMDZ6/trunk/libf/phylmd/nuage.f90
r5274 r5282 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 clesphys_mod_h 6 7 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 7 8 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 51 52 52 53 include "nuage.h" ! JBM 3/14 53 include "clesphys.h"54 54 55 55 REAL paprs(klon, klev+1), pplay(klon, klev) -
LMDZ6/trunk/libf/phylmd/ocean_albedo.f90
r5268 r5282 18 18 !! 19 19 !! IMPLICIT ARGUMENTS 20 !! ------------------ 21 !! 20 !! ------------------ 21 !! 22 22 !! REFERENCE 23 23 !! --------- 24 !! 24 !! 25 25 !! AUTHOR 26 26 !! ------ … … 37 37 !! 10/2016 O. Boucher :: some optimisation following R. 38 38 !! Seferian's work in the CNRM Model 39 !! 39 !! 40 40 !------------------------------------------------------------------------------- 41 41 ! … … 46 46 USE dimphy 47 47 USE phys_state_var_mod, ONLY : chl_con 48 USE clesphys_mod_h 48 49 ! 49 50 ! … … 53 54 ! ------------------------- 54 55 ! 55 include "clesphys.h"56 56 ! 57 57 INTEGER, INTENT(IN) :: knon -
LMDZ6/trunk/libf/phylmd/ocean_cpl_mod.f90
r5274 r5282 8 8 ! 9 9 10 IMPLICIT NONE 10 USE clesphys_mod_h 11 IMPLICIT NONE 11 12 PRIVATE 12 13 … … 40 41 ! Initialize module cpl_init 41 42 CALL cpl_init(dtime, rlon, rlat) 42 43 43 44 END SUBROUTINE ocean_cpl_init 44 45 ! … … 60 61 ! 61 62 ! This subroutine treats the "open ocean", all grid points that are not entierly covered 62 ! by ice. The subroutine first receives fields from coupler, then some calculations at 63 ! by ice. The subroutine first receives fields from coupler, then some calculations at 63 64 ! surface is done and finally it sends some fields to the coupler. 64 65 ! … … 82 83 cpl_send_ocean_fields 83 84 use config_ocean_skin_m, only: activate_ocean_skin 84 85 86 INCLUDE "clesphys.h" 87 ! 88 ! Input arguments 85 USE clesphys_mod_h 86 ! Input arguments 89 87 !**************************************************************************************** 90 88 INTEGER, INTENT(IN) :: itime, knon … … 132 130 REAL, DIMENSION(klon), INTENT(INOUT) :: snow 133 131 REAL, DIMENSION(klon), INTENT(INOUT) :: agesno 134 132 135 133 ! Output arguments 136 134 !**************************************************************************************** … … 139 137 REAL, DIMENSION(klon), INTENT(OUT) :: flux_u1, flux_v1 140 138 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new 141 REAL, DIMENSION(klon), INTENT(OUT) :: dflux_s, dflux_l 139 REAL, DIMENSION(klon), INTENT(OUT) :: dflux_s, dflux_l 142 140 REAL, intent(out):: sens_prec_liq(:) ! (knon) 143 141 144 142 REAL, INTENT(OUT):: sss(:) ! (klon) 145 143 ! bulk salinity of the surface layer of the ocean, in ppt 146 144 147 145 148 146 ! Local variables … … 156 154 REAL, DIMENSION(klon) :: u1_lay, v1_lay 157 155 LOGICAL :: check=.FALSE. 158 REAL sens_prec_sol(knon) 159 REAL, DIMENSION(klon) :: lat_prec_liq, lat_prec_sol 156 REAL sens_prec_sol(knon) 157 REAL, DIMENSION(klon) :: lat_prec_liq, lat_prec_sol 160 158 161 159 ! End definitions … … 180 178 agesno(:) = 0. 181 179 lat_prec_liq = 0.; lat_prec_sol = 0. 182 180 183 181 184 182 DO i = 1, knon … … 203 201 204 202 ! assertion: tsurf_new == tsurf_cpl 205 203 206 204 do j = 1, knon 207 205 i = knindex(j) … … 213 211 214 212 215 213 216 214 ! - Flux calculation at first modele level for U and V 217 215 CALL calcul_flux_wind(knon, dtime, & … … 219 217 AcoefU, AcoefV, BcoefU, BcoefV, & 220 218 p1lay, temp_air, & 221 flux_u1, flux_v1) 219 flux_u1, flux_v1) 222 220 223 221 !**************************************************************************************** … … 226 224 !**************************************************************************************** 227 225 fder_new(:) = fder_old(:) + dflux_s(:) + dflux_l(:) 228 226 229 227 iloc = MAXLOC(fder_new(1:klon)) 230 228 IF (check .AND. fder_new(iloc(1))> 0.) THEN … … 262 260 tsurf_new, dflux_s, dflux_l, rhoa) 263 261 ! 264 ! This subroutine treats the ocean where there is ice. The subroutine first receives 265 ! fields from coupler, then some calculations at surface is done and finally sends 262 ! This subroutine treats the ocean where there is ice. The subroutine first receives 263 ! fields from coupler, then some calculations at surface is done and finally sends 266 264 ! some fields to the coupler. 267 ! 265 ! 268 266 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 269 267 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 285 283 286 284 287 INCLUDE "clesphys.h"288 285 289 286 ! Input arguments -
LMDZ6/trunk/libf/phylmd/ocean_forced_mod.F90
r5274 r5282 50 50 #endif 51 51 #endif 52 USE clesphys_mod_h 52 53 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 53 54 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 62 63 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 63 64 , RALPD, RBETD, RGAMD 64 INCLUDE "clesphys.h"65 65 INCLUDE "flux_arp.h" 66 66 … … 286 286 #endif 287 287 #endif 288 USE clesphys_mod_h 288 289 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 289 290 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 302 303 ! INCLUDE "indicesol.h" 303 304 304 INCLUDE "clesphys.h"305 305 INCLUDE "flux_arp.h" 306 306 -
LMDZ6/trunk/libf/phylmd/ocean_slab_mod.f90
r5274 r5282 343 343 tsurf_new, dflux_s, dflux_l, slab_bils) 344 344 345 USE clesphys_mod_h 345 346 USE calcul_fluxs_mod 346 347 USE slab_heat_transp_mod, ONLY: divgrad_phy,slab_ekman1,slab_ekman2,slab_gmdiff 347 348 USE mod_phys_lmdz_para 348 349 349 INCLUDE "clesphys.h"350 350 351 351 ! This routine … … 682 682 tsurf_new, dflux_s, dflux_l, swnet) 683 683 684 USE clesphys_mod_h 684 685 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 685 686 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 697 698 698 699 699 INCLUDE "clesphys.h"700 700 701 701 ! Input arguments -
LMDZ6/trunk/libf/phylmd/paramlmdz_phy_mod.F90
r5274 r5282 8 8 SUBROUTINE ini_paramLMDZ_phy(dtime,nid_ctesGCM) 9 9 10 USE iophy 10 USE clesphys_mod_h 11 USE iophy 11 12 USE dimphy 12 13 USE ioipsl, only: histbeg, histvert, histdef, histend, ymds2ju … … 31 32 IMPLICIT NONE 32 33 33 include "clesphys.h"34 34 35 35 … … 166 166 #endif 167 167 168 USE clesphys_mod_h 168 169 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 169 170 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 180 181 IMPLICIT NONE 181 182 182 include "clesphys.h"183 183 184 184 -
LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90
r5274 r5282 407 407 #endif 408 408 #endif 409 USE clesphys_mod_h 409 410 USE ioipsl_getin_p_mod, ONLY : getin_p 410 411 use phys_state_var_mod, only: ds_ns, dt_ns, delta_sst, delta_sal, dter, & … … 432 433 INCLUDE "YOETHF.h" 433 434 INCLUDE "FCTTRE.h" 434 INCLUDE "clesphys.h"435 435 INCLUDE "compbl.h" 436 436 INCLUDE "flux_arp.h" … … 4298 4298 ! Give default values where new fraction has appread 4299 4299 4300 USE clesphys_mod_h 4300 4301 USE indice_sol_mod 4301 4302 use phys_state_var_mod, only: delta_sal, ds_ns, dt_ns, delta_sst, dter, & 4302 4303 dser, dt_ds 4303 4304 use config_ocean_skin_m, only: activate_ocean_skin 4304 INCLUDE "clesphys.h"4305 4305 INCLUDE "compbl.h" 4306 4306 -
LMDZ6/trunk/libf/phylmd/phyaqua_mod.f90
r5274 r5282 4 4 MODULE phyaqua_mod 5 5 ! Routines complementaires pour la physique planetaire. 6 IMPLICIT NONE 6 USE clesphys_mod_h 7 IMPLICIT NONE 7 8 8 9 CONTAINS … … 54 55 55 56 56 include "clesphys.h"57 57 58 58 INTEGER, INTENT (IN) :: nlon, year_len, iflag_phys -
LMDZ6/trunk/libf/phylmd/phyetat0_mod.f90
r5274 r5282 10 10 SUBROUTINE phyetat0 (fichnom, clesphy0, tabcntr0) 11 11 12 USE clesphys_mod_h 12 13 USE dimphy, only: klon, zmasq, klev 13 14 USE iophy, ONLY : init_iophy_new … … 63 64 ! Objet: Lecture de l'etat initial pour la physique 64 65 !====================================================================== 65 include "clesphys.h"66 66 include "alpale.h" 67 67 include "compbl.h" -
LMDZ6/trunk/libf/phylmd/phyredem.f90
r5273 r5282 9 9 ! Purpose: Write restart state for physics. 10 10 !------------------------------------------------------------------------------- 11 USE clesphys_mod_h 11 12 USE dimphy, ONLY: klon, klev 12 13 USE fonte_neige_mod, ONLY : fonte_neige_final … … 42 43 USE ocean_slab_mod, ONLY : nslay, tslab, seaice, tice, fsic 43 44 USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy, pdtphys 44 use config_ocean_skin_m, only: activate_ocean_skin 45 use config_ocean_skin_m, only: activate_ocean_skin 45 46 USE dimsoil_mod_h, ONLY: nsoilmx 46 47 IMPLICIT none 47 include "clesphys.h"48 48 include "alpale.h" 49 49 include "compbl.h" -
LMDZ6/trunk/libf/phylmd/phys_output_mod.F90
r5274 r5282 57 57 #endif 58 58 59 USE clesphys_mod_h 59 60 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_STRATAER 60 61 … … 72 73 , RALPD, RBETD, RGAMD 73 74 IMPLICIT NONE 74 include "clesphys.h"75 75 76 76 -
LMDZ6/trunk/libf/phylmd/phys_output_var_mod.f90
r5268 r5282 164 164 165 165 REAL, SAVE, ALLOCATABLE:: tkt(:) ! (klon) 166 ! épaisseur (m) de la couche de diffusion thermique (microlayer)166 ! �paisseur (m) de la couche de diffusion thermique (microlayer) 167 167 ! cool skin thickness 168 168 169 169 REAL, SAVE, ALLOCATABLE:: tks(:) ! (klon) 170 ! épaisseur (m) de la couche de diffusion de masse (microlayer)170 ! �paisseur (m) de la couche de diffusion de masse (microlayer) 171 171 172 172 REAL, SAVE, ALLOCATABLE:: taur(:) ! (klon) momentum flux due to rain, in Pa … … 185 185 !====================================================================== 186 186 SUBROUTINE phys_output_var_init 187 USE clesphys_mod_h 187 188 use dimphy 188 189 use config_ocean_skin_m, only: activate_ocean_skin 189 190 USE clesphys_mod_h 190 191 IMPLICIT NONE 191 192 include "clesphys.h"193 194 !------------------------------------------------195 192 196 193 allocate(snow_o(klon), zfra_o(klon)) … … 213 210 allocate(cloudth_sth(klon,klev)) 214 211 allocate(cloudth_senv(klon,klev)) 215 cloudth_sth = 0. ; cloudth_senv = 0. 212 cloudth_sth = 0. ; cloudth_senv = 0. 216 213 allocate(cloudth_sigmath(klon,klev)) 217 214 allocate(cloudth_sigmaenv(klon,klev)) … … 268 265 IMPLICIT NONE 269 266 270 include "clesphys.h"271 267 272 268 deallocate(snow_o,zfra_o,itau_con) -
LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90
r5274 r5282 470 470 USE YOESW, ONLY : RSUN 471 471 #endif 472 USE clesphys_mod_h 472 473 USE tracinca_mod, ONLY: config_inca 473 474 USE config_ocean_skin_m, ONLY: activate_ocean_skin … … 490 491 IMPLICIT NONE 491 492 492 INCLUDE "clesphys.h"493 493 INCLUDE "alpale.h" 494 494 INCLUDE "compbl.h" -
LMDZ6/trunk/libf/phylmd/phys_state_var_mod.F90
r5208 r5282 539 539 USE infotrac_phy, ONLY : ntraciso=>ntiso,niso 540 540 #endif 541 USE clesphys_mod_h 541 542 USE indice_sol_mod 542 543 use config_ocean_skin_m, only: activate_ocean_skin … … 552 553 ! climatology and the daylight climatology 553 554 554 include "clesphys.h"555 555 556 556 print*, 'is_initialized', is_initialized … … 795 795 SUBROUTINE phys_state_var_end 796 796 ! Useful only for lmdz1d. 797 !USE dimphy 797 USE clesphys_mod_h 798 798 USE indice_sol_mod 799 799 use config_ocean_skin_m, only: activate_ocean_skin 800 800 use surface_data, only: type_ocean 801 801 IMPLICIT NONE 802 include "clesphys.h"803 802 804 803 DEALLOCATE(pctsrf, ftsol, falb1, falb2) -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r5274 r5282 370 370 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 371 371 , RALPD, RBETD, RGAMD 372 USE clesphys_mod_h 372 373 373 374 IMPLICIT NONE … … 423 424 424 425 include "regdim.h" 425 include "clesphys.h"426 426 include "alpale.h" 427 427 include "dimpft.h" -
LMDZ6/trunk/libf/phylmd/phytrac_mod.f90
r5274 r5282 58 58 USE infotrac_phy, ONLY: nbtr, type_trac 59 59 USE tracco2i_mod, ONLY: tracco2i_init 60 60 61 61 IMPLICIT NONE 62 62 … … 75 75 !=============================================================================== 76 76 ! -- Do specific treatment according to chemestry model or local LMDZ tracers 77 ! 77 ! 78 78 !=============================================================================== 79 79 ! -- CO2 interactif -- 80 80 IF (ANY(type_trac == ['co2i','inco'])) CALL tracco2i_init() 81 81 82 ! -- type_trac == 'co2i' ! PC 82 ! -- type_trac == 'co2i' ! PC 83 83 ! -- CO2 interactif -- 84 ! -- source is updated with FF and BB emissions 85 ! -- and net fluxes from ocean and orchidee 84 ! -- source is updated with FF and BB emissions 85 ! -- and net fluxes from ocean and orchidee 86 86 ! -- sign convention : positive into the atmosphere 87 87 … … 105 105 da, phi, mp, upwd, & 106 106 phi2, d1a, dam, sij, wght_cvfd, & ! RomP +RL 107 wdtrainA, wdtrainM, sigd, clw, elij, & ! RomP 107 wdtrainA, wdtrainM, sigd, clw, elij, & ! RomP 108 108 evap, ep, epmlmMm, eplaMm, & ! RomP 109 109 dnwd, aerosol_couple, flxmass_w, & … … 111 111 rfname, & 112 112 d_tr_dyn, & ! RomP 113 tr_seri, init_source) 113 tr_seri, init_source) 114 114 ! 115 115 !====================================================================== … … 163 163 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 164 164 , RALPD, RBETD, RGAMD 165 USE clesphys_mod_h 165 166 IMPLICIT NONE 166 167 167 168 168 INCLUDE "clesphys.h"169 169 !========================================================================== 170 170 ! -- ARGUMENT DESCRIPTION -- -
LMDZ6/trunk/libf/phylmd/printflag.f90
r5268 r5282 8 8 ! Auteur : P. Le Van 9 9 10 USE clesphys_mod_h 10 11 IMPLICIT NONE 11 12 … … 16 17 INTEGER radpas, radpas0 17 18 18 include "clesphys.h"19 19 20 20 -
LMDZ6/trunk/libf/phylmd/radiation_AR4.f90
r5274 r5282 5 5 tauae, pizae, cgae, ptaua, pomegaa, ptopswad, psolswad, ptopswai, & 6 6 psolswai, ok_ade, ok_aie) 7 USE clesphys_mod_h 7 8 USE dimphy 8 9 USE print_control_mod, ONLY: lunout … … 60 61 ! IM ctes ds clesphys.h REAL(KIND=8) RCO2 ! concentration CO2 (IPCC: 61 62 ! 353.E-06*44.011/28.97) 62 include "clesphys.h"63 63 64 64 REAL (KIND=8) ppsol(kdlon) ! SURFACE PRESSURE (PA) … … 322 322 SUBROUTINE swu_lmdar4(psct, pcldsw, ppmb, ppsol, prmu0, pfrac, ptave, pwv, & 323 323 paki, pcld, pclear, pdsig, pfact, prmu, psec, pud) 324 USE clesphys_mod_h 324 325 USE dimphy 325 326 USE radiation_ar4_param, ONLY: zpdh2o, zpdumg, zprh2o, zprumg, rtdh2o, & … … 346 347 REAL (KIND=8) psct 347 348 ! IM ctes ds clesphys.h REAL(KIND=8) RCO2 348 include "clesphys.h"349 349 REAL (KIND=8) pcldsw(kdlon, kflev) 350 350 REAL (KIND=8) ppmb(kdlon, kflev+1) … … 1547 1547 ptau, pcgaz, ppizaz, pray1, pray2, prefz, prj, prk, prmue, ptauaz, ptra1, & 1548 1548 ptra2) 1549 USE clesphys_mod_h 1549 1550 USE dimphy 1550 1551 IMPLICIT NONE … … 2201 2202 ! REAL(KIND=8) RCFC12 ! CFC12 CONCENTRATION (IPCC: 484.E-12* 2202 2203 ! 120.9140/28.97) 2203 include "clesphys.h"2204 2204 REAL (KIND=8) pcldld(kdlon, kflev) ! DOWNWARD EFFECTIVE CLOUD COVER 2205 2205 REAL (KIND=8) pcldlu(kdlon, kflev) ! UPWARD EFFECTIVE CLOUD COVER … … 2345 2345 ! IM ctes ds clesphys.h SUBROUTINE LWU(RCO2, RCH4, RN2O, RCFC11, RCFC12, 2346 2346 SUBROUTINE lwu_lmdar4(paer, pdp, ppmb, ppsol, poz, ptave, pview, pwv, pabcu) 2347 USE clesphys_mod_h 2347 2348 USE dimphy 2348 2349 USE radiation_ar4_param, ONLY: tref, rt1, raer, at, bt, oct … … 2400 2401 ! REAL(KIND=8) RCO2 2401 2402 ! REAL(KIND=8) RCH4, RN2O, RCFC11, RCFC12 2402 include "clesphys.h"2403 2403 REAL (KIND=8) paer(kdlon, kflev, 5) 2404 2404 REAL (KIND=8) pdp(kdlon, kflev) -
LMDZ6/trunk/libf/phylmd/radlwsw_m.F90
r5274 r5282 98 98 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 99 99 , RALPD, RBETD, RGAMD 100 USE clesphys_mod_h 100 101 101 102 !====================================================================== … … 203 204 ! ============== 204 205 include "YOETHF.h" 205 include "clesphys.h"206 206 207 207 ! Input arguments -
LMDZ6/trunk/libf/phylmd/readaerosol_interp.f90
r5274 r5282 13 13 ! 4) Test for negative mass values 14 14 15 USE clesphys_mod_h 15 16 USE ioipsl 16 17 USE dimphy, ONLY : klev,klon 17 USE mod_phys_lmdz_para, ONLY : mpi_rank 18 USE mod_phys_lmdz_para, ONLY : mpi_rank 18 19 USE readaerosol_mod 19 20 USE aero_mod, ONLY : naero_spc, name_aero … … 38 39 39 40 40 INCLUDE "chem.h" 41 INCLUDE "clesphys.h" 41 INCLUDE "chem.h" 42 42 43 43 ! -
LMDZ6/trunk/libf/phylmd/regr_pr_time_av_m.f90
r5274 r5282 140 140 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 141 141 , RALPD, RBETD, RGAMD 142 USE clesphys_mod_h 142 143 !------------------------------------------------------------------------------- 143 144 ! Arguments: … … 159 160 !------------------------------------------------------------------------------- 160 161 ! Local variables: 161 include "clesphys.h"162 162 163 163 CHARACTER(LEN=80) :: sub -
LMDZ6/trunk/libf/phylmd/surf_land_bucket_mod.F90
r5274 r5282 44 44 #endif 45 45 #endif 46 USE clesphys_mod_h 46 47 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 47 48 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 60 61 ! Bucket calculations for surface. 61 62 ! 62 INCLUDE "clesphys.h"63 63 64 64 ! Input variables -
LMDZ6/trunk/libf/phylmd/surf_land_mod.F90
r5274 r5282 73 73 #endif 74 74 75 USE clesphys_mod_h 75 76 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 76 77 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 88 89 USE dimsoil_mod_h, ONLY: nsoilmx 89 90 90 INCLUDE "clesphys.h"91 91 INCLUDE "dimpft.h" 92 92 -
LMDZ6/trunk/libf/phylmd/surf_landice_mod.F90
r5274 r5282 49 49 50 50 !FC 51 USE clesphys_mod_h 51 52 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 52 53 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 72 73 ! INCLUDE "indicesol.h" 73 74 74 INCLUDE "clesphys.h"75 75 76 76 ! Input variables -
LMDZ6/trunk/libf/phylmd/surf_ocean_mod.F90
r5274 r5282 43 43 #endif 44 44 #endif 45 USE clesphys_mod_h 45 46 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 46 47 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 65 66 66 67 67 include "clesphys.h"68 68 ! for cycle_diurne and for iflag_z0_oce==-1 (prescribed z0) 69 69 -
LMDZ6/trunk/libf/phylmd/surf_seaice_mod.F90
r5274 r5282 37 37 USE infotrac_phy, ONLY : ntiso,niso 38 38 #endif 39 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 39 USE clesphys_mod_h 40 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 40 41 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 41 42 , R_ecc, R_peri, R_incl & … … 56 57 ! in here because it is the same calculation for the different modes of ocean. 57 58 ! 58 INCLUDE "clesphys.h"59 59 60 60 -
LMDZ6/trunk/libf/phylmd/sw_aeroAR4.f90
r5274 r5282 20 20 ok_ade, ok_aie, flag_aerosol, flag_aerosol_strat ) 21 21 22 USE clesphys_mod_h 22 23 USE dimphy 23 24 USE phys_output_mod, ONLY : swaero_diag … … 39 40 40 41 41 INCLUDE "clesphys.h"42 42 ! 43 43 ! ------------------------------------------------------------------ -
LMDZ6/trunk/libf/phylmd/tracco2i_mod.f90
r5274 r5282 34 34 USE carbon_cycle_mod, ONLY: id_CO2, nbcf_in, fields_in, cfname_in 35 35 USE carbon_cycle_mod, ONLY: fco2_ocn_day, fco2_ff, fco2_bb, fco2_land, fco2_ocean 36 USE carbon_cycle_mod, ONLY: read_fco2_ocean_cor,var_fco2_ocean_cor,fco2_ocean_cor 37 USE carbon_cycle_mod, ONLY: read_fco2_land_cor,var_fco2_land_cor,fco2_land_cor 36 USE carbon_cycle_mod, ONLY: read_fco2_ocean_cor,var_fco2_ocean_cor,fco2_ocean_cor 37 USE carbon_cycle_mod, ONLY: read_fco2_land_cor,var_fco2_land_cor,fco2_land_cor 38 38 USE carbon_cycle_mod, ONLY: co2_send 39 39 USE carbon_cycle_mod, ONLY: fco2_land_nbp, fco2_land_nep, fco2_land_fLuc … … 62 62 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 63 63 , RALPD, RBETD, RGAMD 64 USE clesphys_mod_h 64 65 IMPLICIT NONE 65 66 66 INCLUDE "clesphys.h"67 67 68 68 -
LMDZ6/trunk/libf/phylmd/undefSTD.f90
r5268 r5282 3 3 4 4 SUBROUTINE undefstd(itap, read_climoz) 5 USE clesphys_mod_h 5 6 USE netcdf 6 7 USE dimphy … … 9 10 10 11 IMPLICIT NONE 11 include "clesphys.h"12 12 REAL :: missing_val 13 13 -
LMDZ6/trunk/libf/phylmd/wx_pbl_mod.f90
r5274 r5282 6 6 ! region (inside cold pools) and the (x) region (outside cold pools) 7 7 ! 8 USE dimphy 8 USE clesphys_mod_h 9 USE dimphy 9 10 10 11 IMPLICIT NONE … … 51 52 INCLUDE "FCTTRE.h" 52 53 INCLUDE "YOETHF.h" 53 INCLUDE "clesphys.h"54 54 ! 55 55 INTEGER, INTENT(IN) :: knon ! number of grid cells -
LMDZ6/trunk/libf/phylmd/wx_pbl_var_mod.f90
r5274 r5282 315 315 ) 316 316 ! 317 USE clesphys_mod_h 317 318 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 318 319 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 333 334 INCLUDE "FCTTRE.h" 334 335 INCLUDE "YOETHF.h" 335 INCLUDE "clesphys.h"336 336 ! 337 337 INTEGER, INTENT(IN) :: knon ! number of grid cells -
LMDZ6/trunk/libf/phylmdiso/add_phys_tend_mod.F90
r5274 r5282 160 160 #endif 161 161 #endif 162 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 162 USE clesphys_mod_h 163 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 163 164 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & 164 165 , R_ecc, R_peri, R_incl & … … 174 175 IMPLICIT none 175 176 176 include "clesphys.h"177 177 178 178 ! Arguments : … … 693 693 !====================================================================== 694 694 695 USE phys_state_var_mod, ONLY : phys_tstep, ftsol 695 USE clesphys_mod_h 696 USE phys_state_var_mod, ONLY : phys_tstep, ftsol 696 697 USE geometry_mod, ONLY: longitude_deg, latitude_deg 697 698 USE print_control_mod, ONLY: prt_level … … 713 714 IMPLICIT none 714 715 715 include "clesphys.h"716 716 717 717 ! Arguments : -
LMDZ6/trunk/libf/phylmdiso/change_srf_frac_mod.F90
r5274 r5282 41 41 USE infotrac_phy, ONLY: ntiso 42 42 #endif 43 USE clesphys_mod_h 43 44 USE yomcst_mod_h, ONLY: RPI, RCLUM, RHPLA, RKBOL, RNAVO & 44 45 , RDAY, REA, REPSM, RSIYEA, RSIDAY, ROMEGA & … … 53 54 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 54 55 , RALPD, RBETD, RGAMD 55 56 56 57 !albedo SB >>> 57 include "clesphys.h"58 58 !albedo SB <<< 59 59 -
LMDZ6/trunk/libf/phylmdiso/clesphys_mod_h.f90
r5281 r5282 1 link ../phylmd/clesphys .h1 link ../phylmd/clesphys_mod_h.f90 -
LMDZ6/trunk/libf/phylmdiso/concvl.F90
r5274 r5282 61 61 #endif 62 62 #endif 63 USE clesphys_mod_h 63 64 USE phys_local_var_mod, ONLY: omega 64 65 USE print_control_mod, ONLY: prt_level, lunout … … 127 128 128 129 129 include "clesphys.h"130 130 131 131 INTEGER, INTENT(IN) :: iflag_clos -
LMDZ6/trunk/libf/phylmdiso/isotopes_routines_mod.F90
r5274 r5282 15922 15922 #endif 15923 15923 15924 implicit none 15924 USE clesphys_mod_h 15925 implicit none 15925 15926 15926 15927 ! equivalent de phyetat0 pour les isotopes 15927 INCLUDE "clesphys.h"15928 15928 INCLUDE "compbl.h" 15929 15929 … … 16097 16097 USE isotrac_mod, ONLY: index_iso,index_zone,izone_init 16098 16098 #endif 16099 USE clesphys_mod_h 16099 16100 implicit none 16100 INCLUDE "clesphys.h"16101 ! INCLUDE "thermcell.h"16102 16101 INCLUDE "compbl.h" 16103 16102 … … 16472 16471 USE isotrac_mod, ONLY: strtrac, initialisation_isotrac, index_iso, index_zone, izone_init 16473 16472 #endif 16473 USE clesphys_mod_h 16474 16474 IMPLICIT NONE 16475 INCLUDE "clesphys.h"16476 16475 INCLUDE "compbl.h" 16477 16476 -
LMDZ6/trunk/libf/phylmdiso/phyaqua_mod.F90
r5274 r5282 45 45 USE infotrac_phy, ONLY: niso 46 46 #endif 47 USE clesphys_mod_h 47 48 USE dimsoil_mod_h, ONLY: nsoilmx 48 49 … … 62 63 63 64 64 include "clesphys.h"65 65 66 66 INTEGER, INTENT (IN) :: nlon, year_len, iflag_phys -
LMDZ6/trunk/libf/phylmdiso/phyetat0_mod.F90
r5274 r5282 59 59 #endif 60 60 #endif 61 USE clesphys_mod_h 61 62 USE dimsoil_mod_h, ONLY: nsoilmx 62 63 … … 78 79 ! Objet: Lecture de l'etat initial pour la physique 79 80 !====================================================================== 80 include "clesphys.h"81 81 include "alpale.h" 82 82 include "compbl.h" -
LMDZ6/trunk/libf/phylmdiso/phyredem.F90
r5273 r5282 46 46 #endif 47 47 #endif 48 USE clesphys_mod_h 48 49 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl, co2_send, carbon_cycle_rad, RCO2_glo 49 50 USE indice_sol_mod, ONLY: nbsrf, is_oce, is_sic, is_ter, is_lic, epsfra … … 55 56 56 57 IMPLICIT none 57 include "clesphys.h"58 58 include "alpale.h" 59 59 include "compbl.h" … … 512 512 use isotrac_mod, only: index_zone,index_iso,strtrac 513 513 #endif 514 USE dimsoil_mod_h, ONLY: nsoilmx 514 USE clesphys_mod_h 515 USE dimsoil_mod_h, ONLY: nsoilmx 515 516 implicit none 516 517 517 518 ! equivalent isotopique de phyredem 518 INCLUDE "clesphys.h"519 519 INCLUDE "alpale.h" 520 520 INCLUDE "compbl.h" -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r5274 r5282 443 443 , RESTT, RALPW, RBETW, RGAMW, RALPS, RBETS, RGAMS & 444 444 , RALPD, RBETD, RGAMD 445 USE clesphys_mod_h 445 446 446 447 IMPLICIT NONE … … 496 497 497 498 include "regdim.h" 498 include "clesphys.h"499 499 include "alpale.h" 500 500 include "dimpft.h"
Note: See TracChangeset
for help on using the changeset viewer.