- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/regr_pr_comb_coefoz_m.F90
r1910 r2408 40 40 41 41 use dimphy, only: klon 42 use mod_grid_phy_lmdz, only: nbp_lev 42 43 43 44 ! Variables local to the procedure: 44 include "dimensions.h"45 45 46 46 !--------------------------------------- … … 49 49 print *, "Call sequence information: alloc_coefoz" 50 50 !$omp end master 51 allocate(c_Mob(klon, llm), a2(klon, llm), a4_mass(klon, llm))52 allocate(a6_mass(klon, llm), r_het_interm(klon, llm))51 allocate(c_Mob(klon, nbp_lev), a2(klon, nbp_lev), a4_mass(klon, nbp_lev)) 52 allocate(a6_mass(klon, nbp_lev), r_het_interm(klon, nbp_lev)) 53 53 54 54 end subroutine alloc_coefoz … … 79 79 use regr_pr_int_m, only: regr_pr_int 80 80 use press_coefoz_m, only: press_in_edg, plev 81 use mod_grid_phy_lmdz, only: nbp_lev 81 82 82 83 integer, intent(in):: julien ! jour julien, 1 <= julien <= 360 … … 85 86 ! (latitude on the partial "physics" grid, in degrees) 86 87 87 real, intent(in):: paprs(:, :) ! (klon, llm+ 1)88 real, intent(in):: paprs(:, :) ! (klon, nbp_lev + 1) 88 89 ! (pression pour chaque inter-couche, en Pa) 89 90 90 real, intent(in):: pplay(:, :) ! (klon, llm)91 real, intent(in):: pplay(:, :) ! (klon, nbp_lev) 91 92 ! (pression pour le mileu de chaque couche, en Pa) 92 93 93 94 ! Variables local to the procedure: 94 95 95 include "dimensions.h"96 96 integer ncid ! for NetCDF 97 97 98 real coefoz(klon, llm, 7)98 real coefoz(klon, nbp_lev, 7) 99 99 ! (temporary storage for 7 ozone coefficients) 100 100 ! (On the partial "physics" grid. … … 102 102 ! middle of layer "k".) 103 103 104 real a6(klon, llm)104 real a6(klon, nbp_lev) 105 105 ! (derivative of "P_net_Mob" with respect to column-density of ozone 106 106 ! above, in cm2 s-1) … … 121 121 call assert((/size(rlat), size(paprs, 1), size(pplay, 1)/) == klon, & 122 122 "regr_pr_comb_coefoz klon") 123 call assert((/size(paprs, 2) - 1, size(pplay, 2)/) == llm, &124 "regr_pr_comb_coefoz llm")123 call assert((/size(paprs, 2) - 1, size(pplay, 2)/) == nbp_lev, & 124 "regr_pr_comb_coefoz nbp_lev") 125 125 126 126 !$omp master … … 150 150 r_het_interm = coefoz(:, :, 7) 151 151 ! Heterogeneous chemistry is only at high latitudes: 152 forall (k = 1: llm)152 forall (k = 1: nbp_lev) 153 153 where (abs(rlat) <= 45.) r_het_interm(:, k) = 0. 154 154 end forall
Note: See TracChangeset
for help on using the changeset viewer.