Changeset 1384 for trunk/LMDZ.GENERIC
- Timestamp:
- Mar 4, 2015, 5:00:33 PM (10 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 52 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r1350 r1384 1051 1051 - Added missing allocation in soil_settings, needed when changing number of 1052 1052 soil layers. 1053 1054 == 04/03/2015 == EM 1055 - Some code cleanup: turning comcstfi.h into module comcstfi_mod -
trunk/LMDZ.GENERIC/libf/phystd/aeropacity.F90
r1315 r1384 6 6 USE comgeomfi_h 7 7 USE tracer_h, only: noms,rho_co2,rho_ice 8 use comcstfi_mod, only: g 8 9 9 10 implicit none … … 40 41 !======================================================================= 41 42 42 !#include "dimensions.h"43 !#include "dimphys.h"44 43 #include "callkeys.h" 45 #include "comcstfi.h"46 !#include "comvert.h"47 44 48 45 INTEGER,INTENT(IN) :: ngrid ! number of atmospheric columns -
trunk/LMDZ.GENERIC/libf/phystd/calc_cpp3d.F90
r253 r1384 12 12 ! 13 13 !================================================================== 14 14 use comcstfi_mod, only: cpp, r 15 15 implicit none 16 16 17 #include "comcstfi.h"18 17 #include "callkeys.h" 19 18 #include "cpdet.h" -
trunk/LMDZ.GENERIC/libf/phystd/calc_cpp_mugaz.F90
r1365 r1384 18 18 19 19 use gases_h 20 use comcstfi_mod, only: cpp, mugaz 20 21 implicit none 21 22 22 !#include "dimensions.h"23 !#include "dimphys.h"24 #include "comcstfi.h"25 23 #include "callkeys.h" 26 24 -
trunk/LMDZ.GENERIC/libf/phystd/calc_rayleigh.F90
r1025 r1384 28 28 use radcommon_h, only: WAVEV, BWNV, DWNV, tstellar, tauray, taurayvar, scalep 29 29 use gases_h 30 use comcstfi_mod, only: g, mugaz 30 31 31 32 implicit none 32 33 33 #include "comcstfi.h"34 34 #include "callkeys.h" 35 35 -
trunk/LMDZ.GENERIC/libf/phystd/calcenergy_kcm.F90
r1308 r1384 4 4 use params_h, only : Rc 5 5 use watercommon_h, only : mH2O 6 use comcstfi_mod, only: g, mugaz 6 7 implicit none 7 8 … … 10 11 ! Authour: R. Wordsworth (2011) 11 12 ! ---------------------------------------------------------------- 12 13 !#include "dimensions.h"14 !#include "dimphys.h"15 #include "comcstfi.h"16 !#include "callkeys.h"17 18 13 19 14 -
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1315 r1384 18 18 use aerosol_mod, only : iaero_co2,iaero_h2o,iaero_dust,iaero_h2so4, iaero_back2lay 19 19 USE tracer_h 20 use comcstfi_mod, only: pi, mugaz, cpp 20 21 21 22 implicit none … … 36 37 !================================================================== 37 38 38 !#include "dimphys.h"39 #include "comcstfi.h"40 39 #include "callkeys.h" 41 40 -
trunk/LMDZ.GENERIC/libf/phystd/callsedim.F
r1315 r1384 7 7 use aerosol_mod, only : iaero_h2o 8 8 USE tracer_h, only : igcm_co2_ice,igcm_h2o_ice,radius,rho_q 9 use comcstfi_mod, only: g 9 10 10 11 IMPLICIT NONE … … 28 29 c ------------- 29 30 30 !#include "dimensions.h"31 !#include "dimphys.h"32 #include "comcstfi.h"33 31 #include "callkeys.h" 34 32 -
trunk/LMDZ.GENERIC/libf/phystd/comcstfi_mod.F90
r1382 r1384 1 !----------------------------------------------------------------------- 2 ! INCLUDE "comcstfi.h" 1 MODULE comcstfi_mod 2 IMPLICIT NONE 3 4 REAL :: pi ! something like 3.14159 5 REAL :: rad ! radius of the planet (m) 6 REAL :: g ! gravity (m/s2) 7 REAL :: r ! reduced gas constant (r=8.314511/(mugaz/1000.0)) 8 REAL :: cpp ! Cp of the atmosphere 9 REAL :: rcp ! r/cpp 10 REAL :: dtphys ! physics time step (s) 11 REAL :: daysec ! length of day (s) 12 REAL :: mugaz ! molar mass of the atmosphere (g/mol) 13 REAL :: omeg ! planet rotation rate (rad/s) 14 REAL :: avocado ! something like 6.022e23 3 15 4 common/comcstfi/pi,rad,g,r,cpp,rcp,dtphys,daysec,mugaz,omeg 5 common/comcstfi/avocado!,molrad,visc 6 7 real pi,rad,g,r,cpp,rcp,dtphys,daysec,mugaz,omeg 8 real avocado!,molrad,visc 9 16 END MODULE comcstfi_mod -
trunk/LMDZ.GENERIC/libf/phystd/condense_cloud.F90
r1315 r1384 13 13 USE comgeomfi_h, only: lati 14 14 USE tracer_h, only: noms, rho_co2 15 15 use comcstfi_mod, only: g, r, cpp 16 16 17 17 implicit none … … 56 56 !================================================================== 57 57 58 !#include "dimensions.h"59 !#include "dimphys.h"60 #include "comcstfi.h"61 !#include "comvert.h"62 58 #include "callkeys.h" 63 59 -
trunk/LMDZ.GENERIC/libf/phystd/convadj.F
r1315 r1384 7 7 8 8 USE tracer_h 9 use comcstfi_mod, only: g 9 10 10 11 implicit none … … 29 30 ! ------------ 30 31 31 !#include "dimensions.h"32 !#include "dimphys.h"33 #include "comcstfi.h"34 32 #include "callkeys.h" 35 33 -
trunk/LMDZ.GENERIC/libf/phystd/evap.F
r1308 r1384 6 6 7 7 implicit none 8 9 !#include "dimensions.h"10 !#include "dimphys.h"11 #include "comcstfi.h"12 8 13 9 !================================================================== -
trunk/LMDZ.GENERIC/libf/phystd/forceWCfn.F
r1308 r1384 2 2 3 3 USE tracer_h 4 use comcstfi_mod, only: g 4 5 5 6 implicit none … … 17 18 ! 18 19 !================================================================== 19 20 !#include "dimensions.h"21 !#include "dimphys.h"22 #include "comcstfi.h"23 20 24 21 INTEGER ngrid,nlayer,nq -
trunk/LMDZ.GENERIC/libf/phystd/gfluxi.F
r1146 r1384 32 32 use radinc_h 33 33 use radcommon_h, only: planckir 34 use comcstfi_mod, only: pi 34 35 35 36 implicit none 36 37 #include "comcstfi.h"38 37 39 38 INTEGER NLP -
trunk/LMDZ.GENERIC/libf/phystd/hydrol.F90
r1315 r1384 40 40 !================================================================== 41 41 42 !#include "dimensions.h"43 !#include "dimphys.h"44 #include "comcstfi.h"45 42 #include "callkeys.h" 46 43 -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r1315 r1384 10 10 use comsoil_h, only: ini_comsoil_h 11 11 use control_mod, only: ecritphy 12 use comcstfi_mod, only: rad, daysec, dtphys, cpp, g, r, rcp, 13 & mugaz, pi, avocado 12 14 use planete_mod, only: nres 13 15 use planetwide_mod, only: planetwide_sumval … … 53 55 USE ioipsl_getincom_p 54 56 IMPLICIT NONE 55 !#include "dimensions.h" 56 !#include "dimphys.h" 57 !#include "planete.h" 58 #include "comcstfi.h" 57 59 58 #include "callkeys.h" 60 59 … … 712 711 713 712 !$OMP MASTER 714 pi=2.*asin(1.) ! NB: pi is a common in comcstfi .h713 pi=2.*asin(1.) ! NB: pi is a common in comcstfi_mod 715 714 !$OMP END MASTER 716 715 !$OMP BARRIER -
trunk/LMDZ.GENERIC/libf/phystd/iniorbit.F
r1308 r1384 4 4 USE planete_mod, only: apoastr, periastr, year_day, obliquit, 5 5 & peri_day, e_elips, p_elips, timeperi 6 use comcstfi_mod, only: pi 6 7 IMPLICIT NONE 7 8 8 c======================================================================= 9 c 10 c Auteur: 11 c ------- 12 c Frederic Hourdin 22 Fevrier 1991 13 c 14 c Objet: 15 c ------ 16 c Initialisation du sous programme orbite qui calcule 17 c a une date donnee de l'annee de duree year_day commencant 18 c a l'equinoxe de printemps et dont le periastre se situe 19 c a la date peri_day, la distance au soleil et la declinaison. 20 c 21 c Interface: 22 c ---------- 23 c - Doit etre appele avant d'utiliser orbite. 24 c - initialise une partie du common planete_mod 25 c 26 c Arguments: 27 c ---------- 28 c 29 c Input: 30 c ------ 31 c apoastr \ apoastron and periastron of the orbit in AU 32 c periastr / 33 c 34 c======================================================================= 35 36 c----------------------------------------------------------------------- 37 c Declarations: 38 c ------------- 39 40 !#include "planete.h" 41 #include "comcstfi.h" 9 !======================================================================= 10 ! Initialisation of orbital parameters (stored in planete_h module) 11 !======================================================================= 42 12 43 13 c Arguments: 44 14 c ---------- 45 15 46 REAL papoastr,pperiastr,pyear_day,pperi_day,pobliq16 REAL,INTENT(IN) :: papoastr,pperiastr,pyear_day,pperi_day,pobliq 47 17 48 18 c Local: … … 80 50 81 51 82 PRINT*,' Periastron in AU ',periastr83 PRINT*,' Apoastron in AU ',apoastr84 PRINT*,' Obliquity in degrees :',obliquit52 PRINT*,'iniorbit: Periastron in AU ',periastr 53 PRINT*,'iniorbit: Apoastron in AU ',apoastr 54 PRINT*,'iniorbit: Obliquity in degrees :',obliquit 85 55 86 56 … … 88 58 p_elips=0.5*(periastr+apoastr)*(1-e_elips*e_elips) 89 59 90 print*,' e_elips',e_elips91 print*,' p_elips',p_elips60 print*,'iniorbit: e_elips',e_elips 61 print*,'iniorbit: p_elips',p_elips 92 62 93 c-----------------------------------------------------------------------94 c calcul de l'angle polaire et de la distance au soleil:95 c-------------------------------------------------------63 !----------------------------------------------------------------------- 64 ! compute polar angle and distance to the Sun: 65 ! ------------------------------------------------------- 96 66 97 c calcul de l'zanomalie moyenne 67 ! compute mean anomaly zanom 98 68 99 69 zz=(year_day-pperi_day)/year_day 100 70 zanom=2.*pi*(zz-nint(zz)) 101 71 zxref=abs(zanom) 102 PRINT*,' zanom ',zanom72 PRINT*,'iniorbit: zanom ',zanom 103 73 104 c resolution de l'equation horaire zx0 - e * sin (zx0) = zxref 105 c methode de Newton 74 ! solve equation zx0 - e * sin (zx0) = zxref for eccentric anomaly zx0 75 ! using Newton method 106 76 107 77 zx0=zxref+e_elips*sin(zxref) 108 DO 110iter=1,10078 DO iter=1,100 109 79 zdx=-(zx0-e_elips*sin(zx0)-zxref)/(1.-e_elips*cos(zx0)) 110 if(abs(zdx).le.(1.e-12)) goto 12080 if(abs(zdx).le.(1.e-12)) exit 111 81 zx0=zx0+zdx 112 110 continue 113 120 continue 82 ENDDO 83 114 84 zx0=zx0+zdx 115 85 if(zanom.lt.0.) zx0=-zx0 116 PRINT*,'zx0 ',zx0 117 118 c zteta est la longitude solaire 86 PRINT*,'iniorbit: zx0 ',zx0 119 87 120 88 timeperi=2.*atan(sqrt((1.+e_elips)/(1.-e_elips))*tan(zx0/2.)) 121 PRINT*,'Solar longitude of periastron timeperi = ',timeperi 89 PRINT*,'iniorbit: Perihelion solar long. Ls (deg)=', 90 & 360.-timeperi*180./pi 122 91 123 RETURN124 92 END -
trunk/LMDZ.GENERIC/libf/phystd/initracer.F
r1308 r1384 24 24 25 25 #include "dimensions.h" 26 !#include "dimphys.h"27 #include "comcstfi.h"28 26 #include "callkeys.h" 29 27 -
trunk/LMDZ.GENERIC/libf/phystd/iniwrite.F
r1216 r1384 2 2 3 3 use comsoil_h, only: mlayer, nsoilmx 4 use comcstfi_mod, only: rad, omeg, g, mugaz, rcp, daysec, dtphys, 5 & pi 4 6 IMPLICIT NONE 5 7 … … 22 24 #include "dimensions.h" 23 25 #include "paramet.h" 24 #include "comcstfi.h"25 26 #include "comvert.h" 26 27 #include "comgeom.h" -
trunk/LMDZ.GENERIC/libf/phystd/iniwrite_specIR.F
r1308 r1384 3 3 use radinc_h, only: L_NSPECTI 4 4 use radcommon_h, only: WNOI,DWNI 5 ! use comsoil_h 5 use comcstfi_mod, only: rad, omeg, g, mugaz, rcp, daysec, dtphys, 6 & pi 6 7 7 8 implicit none … … 25 26 #include "dimensions.h" 26 27 #include "paramet.h" 27 !include "comconst.h"28 #include "comcstfi.h"29 28 #include "comvert.h" 30 29 #include "comgeom.h" -
trunk/LMDZ.GENERIC/libf/phystd/iniwrite_specVI.F
r1308 r1384 4 4 use radcommon_h, only: WNOV,DWNV 5 5 use comsoil_h 6 6 use comcstfi_mod, only: rad, omeg, g, mugaz, rcp, daysec, dtphys, 7 & pi 7 8 implicit none 8 9 … … 25 26 #include "dimensions.h" 26 27 #include "paramet.h" 27 !include "comconst.h"28 #include "comcstfi.h"29 28 #include "comvert.h" 30 29 #include "comgeom.h" -
trunk/LMDZ.GENERIC/libf/phystd/iniwritesoil.F90
r1216 r1384 6 6 7 7 use comsoil_h, only: mlayer, inertiedat, nsoilmx 8 use comcstfi_mod, only: pi 8 9 9 10 implicit none … … 11 12 #include"dimensions.h" 12 13 #include"paramet.h" 13 #include"comcstfi.h"14 14 #include"comgeom.h" 15 15 #include"netcdf.inc" … … 89 89 ierr=NF_PUT_VAR_REAL(nid,varid,rlonv*(180./pi)) 90 90 #endif 91 ! Note: rlonv is known from comgeom.h and pi from comcstfi.h91 ! Note: rlonv is known from comgeom.h 92 92 if (ierr.ne.NF_NOERR) then 93 93 write(*,*)"iniwritesoil: Error, could not write longitude variable" … … 121 121 ierr=NF_PUT_VAR_REAL(nid,varid,rlatu*(180./pi)) 122 122 #endif 123 ! Note: rlatu is known from comgeom.h and pi from comcstfi.h123 ! Note: rlatu is known from comgeom.h 124 124 if (ierr.ne.NF_NOERR) then 125 125 write(*,*)"iniwritesoil: Error, could not write longitude variable" -
trunk/LMDZ.GENERIC/libf/phystd/kcm1d.F90
r1308 r1384 9 9 use planete_mod 10 10 ! use control_mod 11 11 use comcstfi_mod 12 12 implicit none 13 13 … … 33 33 !#include "dimphys.h" 34 34 #include "callkeys.h" 35 #include "comcstfi.h"36 !#include "planete.h"37 !#include "control.h"38 35 39 36 ! -------------------------------------------------------------- -
trunk/LMDZ.GENERIC/libf/phystd/kcmprof_fn.F90
r1308 r1384 4 4 use watercommon_h, only : mH2O 5 5 use gases_h 6 use comcstfi_mod, only: mugaz, cpp, g 6 7 implicit none 7 8 … … 12 13 ! ---------------------------------------------------------------- 13 14 14 !#include "dimensions.h"15 !#include "dimphys.h"16 #include "comcstfi.h"17 15 #include "callkeys.h" 18 16 -
trunk/LMDZ.GENERIC/libf/phystd/largescale.F90
r1315 r1384 23 23 ! 24 24 !================================================================== 25 26 !#include "dimensions.h"27 !#include "dimphys.h"28 #include "comcstfi.h"29 25 30 26 #include "callkeys.h" -
trunk/LMDZ.GENERIC/libf/phystd/mass_redistribution.F90
r1315 r1384 10 10 USE tracer_h 11 11 USE planete_mod, only: bp 12 12 use comcstfi_mod, only: g 13 13 14 IMPLICIT NONE 14 15 !======================================================================= … … 51 52 ! ------------------ 52 53 ! 53 !#include "dimensions.h"54 !#include "dimphys.h"55 #include "comcstfi.h"56 !#include "comvert.h"57 !#include "paramet.h"58 54 #include "callkeys.h" 59 55 -
trunk/LMDZ.GENERIC/libf/phystd/moistadj.F90
r1315 r1384 3 3 use watercommon_h, only: T_h2O_ice_liq, RLVTT, RCPD, RCPV, Psat_water, Lcpdqsat_water 4 4 USE tracer_h, only: igcm_h2o_vap, igcm_h2o_ice 5 use comcstfi_mod, only: r 5 6 6 7 implicit none … … 19 20 ! 20 21 !===================================================================== 21 22 !#include "dimensions.h"23 !#include "dimphys.h"24 #include "comcstfi.h"25 22 26 23 INTEGER,INTENT(IN) :: ngrid, nlayer, nq -
trunk/LMDZ.GENERIC/libf/phystd/newsedim.F
r1315 r1384 1 1 SUBROUTINE newsedim(ngrid,nlay,naersize,ptimestep, 2 2 & pplev,masse,epaisseur,pt,rd,rho,pqi,wq) 3 4 use comcstfi_mod, only: r, g 3 5 IMPLICIT NONE 4 6 … … 15 17 ! declarations 16 18 ! ------------ 17 18 !#include "dimensions.h"19 !#include "dimphys.h"20 #include "comcstfi.h"21 19 22 20 ! arguments -
trunk/LMDZ.GENERIC/libf/phystd/newtrelax.F90
r1315 r1384 1 1 subroutine newtrelax(ngrid,nlayer,mu0,sinlat,popsk,temp,pplay,pplev,dtrad,firstcall) 2 2 3 use comcstfi_mod, only: rcp, pi 3 4 implicit none 4 5 5 !#include "dimensions.h"6 !#include "dimphys.h"7 #include "comcstfi.h"8 6 #include "callkeys.h" 9 7 #include "netcdf.inc" -
trunk/LMDZ.GENERIC/libf/phystd/ocean_slab_mod.F90
r1315 r1384 15 15 16 16 17 !#include "dimensions.h"18 !#include "dimphys.h"19 #include "comcstfi.h"20 17 #include "callkeys.h" 21 18 … … 67 64 68 65 69 !#include "dimensions.h"70 !#include "dimphys.h"71 #include "comcstfi.h"72 66 #include "callkeys.h" 73 67 … … 210 204 use slab_ice_h 211 205 212 !#include "dimensions.h"213 !#include "dimphys.h"214 #include "comcstfi.h"215 206 #include "callkeys.h" 216 207 … … 451 442 use slab_ice_h 452 443 453 !#include "dimensions.h"454 !#include "comcstfi.h"455 ! INCLUDE "iniprint.h"456 444 #include "callkeys.h" 457 445 -
trunk/LMDZ.GENERIC/libf/phystd/optci.F90
r1194 r1384 6 6 use radcommon_h, only: gasi,tlimit,wrefVAR,Cmk,tgasref,pfgasref,wnoi,scalep,indi,glat_ig 7 7 use gases_h 8 use comcstfi_mod, only: g, r, mugaz 8 9 implicit none 9 10 … … 28 29 !================================================================== 29 30 30 #include "comcstfi.h"31 31 #include "callkeys.h" 32 32 -
trunk/LMDZ.GENERIC/libf/phystd/optcv.F90
r1194 r1384 6 6 use radcommon_h, only: gasv, tlimit, wrefVAR, Cmk, tgasref, pfgasref,wnov,scalep,indv,glat_ig 7 7 use gases_h 8 use comcstfi_mod, only: g, r, mugaz 8 9 9 10 implicit none … … 35 36 !------------------------------------------------------------------- 36 37 37 #include "comcstfi.h"38 38 #include "callkeys.h" 39 39 -
trunk/LMDZ.GENERIC/libf/phystd/orbite.F
r1327 r1384 2 2 3 3 use planete_mod, only: p_elips, e_elips, timeperi, obliquit 4 use comcstfi_mod, only: pi 4 5 implicit none 5 6 !================================================================== … … 24 25 c Declarations: 25 26 c ------------- 26 27 #include "comcstfi.h"28 27 29 28 c arguments: -
trunk/LMDZ.GENERIC/libf/phystd/phyetat0.F90
r1308 r1384 20 20 !====================================================================== 21 21 #include "netcdf.inc" 22 !#include "dimensions.h"23 !#include "dimphys.h"24 !#include "planete.h"25 #include "comcstfi.h"26 22 27 23 !====================================================================== -
trunk/LMDZ.GENERIC/libf/phystd/phyredem.F90
r1308 r1384 19 19 use planete_mod, only: year_day, periastr, apoastr, peri_day, & 20 20 obliquit, z0, lmixmin, emin_turb 21 use comcstfi_mod, only: rad, omeg, g, mugaz, rcp, daysec 21 22 22 23 implicit none 23 !#include "planete.h" 24 #include "comcstfi.h" 24 25 25 character(len=*), intent(in) :: filename 26 26 real,intent(in) :: lonfi(ngrid) … … 147 147 implicit none 148 148 !====================================================================== 149 !#include "temps.h"150 #include "comcstfi.h"151 !#include "planete.h"152 149 #include "callkeys.h" 153 150 !====================================================================== -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r1346 r1384 34 34 use planete_mod, only: apoastr, periastr, year_day, peri_day, & 35 35 obliquit, nres, z0 36 36 use comcstfi_mod, only: pi, g, rcp, r, rad, mugaz, cpp, daysec 37 37 implicit none 38 38 … … 132 132 ! ------------------ 133 133 134 !#include "dimensions.h"135 !#include "dimphys.h"136 134 #include "callkeys.h" 137 #include "comcstfi.h"138 !#include "planete.h"139 !#include "control.h"140 135 #include "netcdf.inc" 141 136 -
trunk/LMDZ.GENERIC/libf/phystd/radii_mod.F90
r1315 r1384 142 142 !================================================================== 143 143 use watercommon_h, Only: T_h2O_ice_liq,T_h2O_ice_clouds,rhowater,rhowaterice 144 use comcstfi_mod, only: pi 144 145 Implicit none 145 146 146 147 include "callkeys.h" 147 ! include "dimensions.h"148 ! include "dimphys.h"149 include "comcstfi.h"150 148 151 149 integer,intent(in) :: ngrid … … 203 201 !================================================================== 204 202 use watercommon_h, Only: rhowater,rhowaterice 203 use comcstfi_mod, only: pi 205 204 Implicit none 206 205 207 206 include "callkeys.h" 208 ! include "dimensions.h"209 ! include "dimphys.h"210 include "comcstfi.h"211 207 212 208 integer,intent(in) :: ngrid … … 252 248 !================================================================== 253 249 USE tracer_h, only:igcm_co2_ice,rho_co2 250 use comcstfi_mod, only: pi 254 251 Implicit none 255 252 256 253 include "callkeys.h" 257 ! include "dimensions.h"258 ! include "dimphys.h"259 include "comcstfi.h"260 254 261 255 integer,intent(in) :: ngrid,nlayer,nq … … 300 294 Implicit none 301 295 302 ! include "callkeys.h"303 ! include "dimensions.h"304 ! include "dimphys.h"305 306 296 integer,intent(in) :: ngrid 307 297 integer,intent(in) :: nlayer … … 329 319 Implicit none 330 320 331 ! include "callkeys.h"332 ! include "dimensions.h"333 ! include "dimphys.h"334 335 321 integer,intent(in) :: ngrid 336 322 integer,intent(in) :: nlayer … … 360 346 361 347 include "callkeys.h" 362 ! include "dimensions.h"363 ! include "dimphys.h"364 348 365 349 integer,intent(in) :: ngrid -
trunk/LMDZ.GENERIC/libf/phystd/rain.F90
r1315 r1384 8 8 use radii_mod, only: h2o_cloudrad 9 9 USE tracer_h, only: igcm_h2o_vap, igcm_h2o_ice 10 use comcstfi_mod, only: g, r 10 11 implicit none 11 12 … … 24 25 !================================================================== 25 26 26 ! include "dimensions.h"27 ! include "dimphys.h"28 include "comcstfi.h"29 27 include "callkeys.h" 30 28 -
trunk/LMDZ.GENERIC/libf/phystd/rcm1d.F
r1371 r1384 19 19 & obliquit,nres,z0,lmixmin,emin_turb,coefvis,coefir, 20 20 & timeperi,e_elips,p_elips 21 21 use comcstfi_mod, only: pi, cpp, daysec, dtphys, rad, g, r, 22 & mugaz, rcp, omeg 22 23 implicit none 23 24 … … 50 51 !include "dimphys.h" 51 52 #include "callkeys.h" 52 #include "comcstfi.h"53 !#include "planete.h"54 !#include "control.h"55 53 #include "comvert.h" 56 54 #include "netcdf.inc" -
trunk/LMDZ.GENERIC/libf/phystd/setspi.F90
r1315 r1384 25 25 use radcommon_h, only: BWNI,BLAMI,WNOI,DWNI,WAVEI,planckir,sigma 26 26 use datafile_mod, only: datadir 27 use comcstfi_mod, only: pi 27 28 28 29 implicit none 29 30 30 31 #include "callkeys.h" 31 #include "comcstfi.h"32 32 33 33 logical file_ok -
trunk/LMDZ.GENERIC/libf/phystd/setspv.F90
r1315 r1384 30 30 implicit none 31 31 32 #include "comcstfi.h"33 32 #include "callkeys.h" 34 33 -
trunk/LMDZ.GENERIC/libf/phystd/sfluxi.F
r961 r1384 6 6 use radinc_h 7 7 use radcommon_h, only: planckir, tlimit,sigma 8 use comcstfi_mod, only: pi 8 9 9 10 implicit none 10 11 #include "comcstfi.h"12 11 13 12 integer NLEVRAD, L, NW, NG, NTS, NTT -
trunk/LMDZ.GENERIC/libf/phystd/stellarlong.F
r1308 r1384 2 2 3 3 USE planete_mod, ONLY: year_day, peri_day, e_elips, timeperi 4 use comcstfi_mod, only: pi 4 5 IMPLICIT NONE 5 6 … … 41 42 c Declarations: 42 43 c ------------- 43 44 !#include "planete.h"45 #include "comcstfi.h"46 44 47 45 c arguments: -
trunk/LMDZ.GENERIC/libf/phystd/stokes.F90
r1324 r1384 14 14 15 15 ! use radcommon_h, only : Rgas 16 use comcstfi_mod, only: g, pi, avocado 16 17 17 18 implicit none 18 19 #include "comcstfi.h"20 19 21 20 ! input -
trunk/LMDZ.GENERIC/libf/phystd/su_watercycle.F90
r875 r1384 2 2 3 3 use watercommon_h 4 use comcstfi_mod, only: cpp, mugaz 4 5 implicit none 5 #include "comcstfi.h" 6 6 7 #include "callkeys.h" 7 8 -
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r1328 r1384 26 26 use radcommon_h, only : wrefvar,WNOI,WNOV 27 27 use datafile_mod, only: datadir 28 28 use comcstfi_mod, only: mugaz 29 29 use gases_h 30 30 ! use ioipsl_getincom … … 33 33 34 34 #include "callkeys.h" 35 #include "comcstfi.h"36 35 37 36 !================================================================== -
trunk/LMDZ.GENERIC/libf/phystd/surf_heat_transp_mod.F90
r1308 r1384 16 16 !#include "dimphys.h" 17 17 #include "paramet.h" 18 #include "comcstfi.h"19 18 #include "comgeom.h" 20 19 #include "comhdiff.h" … … 51 50 !#include "dimphys.h" 52 51 #include "paramet.h" 53 #include "comcstfi.h"54 52 #include "comgeom.h" 55 53 #include "comhdiff.h" … … 115 113 !#include "dimphys.h" 116 114 #include "paramet.h" 117 #include "comcstfi.h"118 115 #include "callkeys.h" 119 116 #include "comgeom.h" -
trunk/LMDZ.GENERIC/libf/phystd/surface_nature.F
r1308 r1384 33 33 !================================================================== 34 34 35 !#include "dimensions.h"36 !#include "dimphys.h"37 #include "comcstfi.h"38 35 #include "callkeys.h" 39 36 -
trunk/LMDZ.GENERIC/libf/phystd/tabfi.F
r1308 r1384 53 53 use planete_mod, only: year_day, periastr, apoastr, peri_day, 54 54 & obliquit, z0, lmixmin, emin_turb 55 55 use comcstfi_mod, only: rad, omeg, g, mugaz, rcp, cpp, dtphys, 56 & daysec, r 56 57 implicit none 57 58 58 #include "comcstfi.h"59 !#include "planete.h"60 59 #include "netcdf.inc" 61 60 #include "callkeys.h" -
trunk/LMDZ.GENERIC/libf/phystd/totalcloudfrac.F90
r1308 r1384 19 19 !================================================================== 20 20 21 !#include "dimensions.h"22 !#include "dimphys.h"23 #include "comcstfi.h"24 21 #include "callkeys.h" 25 22 -
trunk/LMDZ.GENERIC/libf/phystd/turbdiff.F90
r1315 r1384 11 11 use surfdat_h, only: dryness 12 12 use tracer_h, only: igcm_h2o_vap, igcm_h2o_ice 13 use comcstfi_mod, only: rcp, g, r, cpp 13 14 14 15 implicit none … … 41 42 ! ------------ 42 43 43 ! include "dimensions.h"44 ! include "dimphys.h"45 include "comcstfi.h"46 44 include "callkeys.h" 47 45 -
trunk/LMDZ.GENERIC/libf/phystd/vdifc.F
r1315 r1384 12 12 USE comgeomfi_h 13 13 USE tracer_h 14 use comcstfi_mod, only: g, r, cpp, rcp 14 15 15 16 implicit none … … 38 39 ! ------------ 39 40 40 !#include "dimensions.h"41 !#include "dimphys.h"42 #include "comcstfi.h"43 41 #include "callkeys.h" 44 42 -
trunk/LMDZ.GENERIC/libf/phystd/writeg1d.F
r135 r1384 128 128 129 129 SUBROUTINE endg1d(ngrid,nlayer,zlayer,ndt) 130 USE comcstfi_mod, ONLY: dtphys, daysec 130 131 IMPLICIT NONE 131 132 c....................................................................... … … 142 143 c 143 144 #include "comg1d.h" 144 #include "comcstfi.h"145 145 146 146
Note: See TracChangeset
for help on using the changeset viewer.