Changeset 1912
- Timestamp:
- Apr 3, 2018, 8:13:24 AM (7 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1911 r1912 2537 2537 - in improvedCO2clouds : change of the names of input and output variables according to their names in co2cloud in order to not confuse them (in improvedCO2clouds "ptimestep" corresponds actually to "microtimestep"). 2538 2538 2539 == 03/04/2018 == EM 2540 Tidying the gravity wave routines by turning them into modules: 2541 orodrag.F -> orodrag_mod.F : note that the declared size of pvar(), which is 2542 used in call to gwstress was wrong. 2543 calldrag_noro.F -> calldrag_noro_mod.F 2544 drag_noro.F -> drag_noro_mod.F 2545 gwstress.F -> gwstress_mod.F -
trunk/LMDZ.MARS/libf/phymars/calldrag_noro_mod.F
r1911 r1912 1 MODULE calldrag_noro_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE calldrag_noro(ngrid,nlayer,ptimestep, 2 8 & pplay,pplev,pt,pu,pv,pdtgw,pdugw,pdvgw) … … 6 12 use surfdat_h, only: zstd, zsig, zgam, zthe 7 13 use dimradmars_mod, only: ndomainsz 14 use drag_noro_mod, only: drag_noro 8 15 IMPLICIT NONE 9 16 c======================================================================= … … 202 209 ENDDO ! (boucle jd=1, ndomain) 203 210 204 return 205 end 206 211 END SUBROUTINE calldrag_noro 212 213 END MODULE calldrag_noro_mod 214 -
trunk/LMDZ.MARS/libf/phymars/drag_noro_mod.F
r1911 r1912 1 MODULE drag_noro_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE drag_noro (klon,klev,dtime,pplay,pplev, 2 8 e pvar, psig, pgam, pthe, … … 51 57 c 52 58 use dimradmars_mod, only: ndlo2 53 USE comcstfi_h 59 USE orodrag_mod, ONLY: orodrag 60 USE comcstfi_h, ONLY: g, r 54 61 IMPLICIT none 55 62 c====================================================================== … … 160 167 ENDDO 161 168 c 162 RETURN 163 END 169 170 END SUBROUTINE drag_noro 171 172 END MODULE drag_noro_mod -
trunk/LMDZ.MARS/libf/phymars/gwstress_mod.F
r1911 r1912 1 MODULE gwstress_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE GWSTRESS 2 8 * ( klon , klev … … 49 55 integer klon,klev,kidia,kfdia 50 56 51 #include "yoegwd.h"57 include "yoegwd.h" 52 58 53 59 C----------------------------------------------------------------------- … … 129 135 301 CONTINUE 130 136 C 131 RETURN 132 END 137 138 END SUBROUTINE GWSTRESS 139 140 END MODULE gwstress_mod -
trunk/LMDZ.MARS/libf/phymars/orodrag_mod.F
r1911 r1912 1 MODULE orodrag_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE ORODRAG( klon,klev 2 8 I , KGWD, KGWDIM, KDX, KTEST … … 71 77 C----------------------------------------------------------------------- 72 78 use dimradmars_mod, only: ndlo2 73 USE comcstfi_h 79 USE gwstress_mod, ONLY: gwstress 80 USE comcstfi_h, ONLY: g, cpp 74 81 implicit none 75 82 C … … 79 86 integer, save :: kfdia ! =NDLO2 80 87 81 #include "yoegwd.h"88 include "yoegwd.h" 82 89 C----------------------------------------------------------------------- 83 90 C … … 116 123 integer ji,jk,jl,klevm1,ilevp1 117 124 C real gkwake 118 real ztmst,pvar ,ztauf,zrtmst,zdelp,zb,zc,zbet125 real ztmst,pvar(NDLO2,4),ztauf,zrtmst,zdelp,zb,zc,zbet 119 126 real zconb,zabsv,zzd1,ratio,zust,zvst,zdis,ztemp 120 127 C … … 283 290 C 284 291 C 285 RETURN 286 END 292 293 END SUBROUTINE ORODRAG 294 295 END MODULE orodrag_mod -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1818 r1912 46 46 & obliquit 47 47 USE comcstfi_h, only: r, cpp, mugaz, g, rcp, pi, rad 48 USE calldrag_noro_mod, ONLY: calldrag_noro 48 49 use param_v4_h, only: nreact,n_avog, 49 50 & fill_data_thermos, allocate_param_thermos
Note: See TracChangeset
for help on using the changeset viewer.