- Timestamp:
- Apr 22, 2015, 6:28:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/regr_pr_comb_coefoz_m.F90
r3809 r3819 39 39 ! It allocates module variables. 40 40 41 use dimphy, only: klon 41 use dimphy, only: klon, klev 42 42 43 43 ! Variables local to the procedure: 44 include "dimensions.h"45 44 46 45 !--------------------------------------- … … 49 48 print *, "Call sequence information: alloc_coefoz" 50 49 !$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))50 allocate(c_Mob(klon, klev), a2(klon, klev), a4_mass(klon, klev)) 51 allocate(a6_mass(klon, klev), r_het_interm(klon, klev)) 53 52 54 53 end subroutine alloc_coefoz … … 74 73 use netcdf, only: nf90_nowrite 75 74 use assert_m, only: assert 76 use dimphy, only: klon 75 use dimphy, only: klon, klev 77 76 use mod_phys_lmdz_mpi_data, only: is_mpi_root 78 77 use regr_pr_av_m, only: regr_pr_av … … 85 84 ! (latitude on the partial "physics" grid, in degrees) 86 85 87 real, intent(in):: paprs(:, :) ! (klon, llm+ 1)86 real, intent(in):: paprs(:, :) ! (klon, klev + 1) 88 87 ! (pression pour chaque inter-couche, en Pa) 89 88 90 real, intent(in):: pplay(:, :) ! (klon, llm)89 real, intent(in):: pplay(:, :) ! (klon, klev) 91 90 ! (pression pour le mileu de chaque couche, en Pa) 92 91 93 92 ! Variables local to the procedure: 94 93 95 include "dimensions.h"96 94 integer ncid ! for NetCDF 97 95 98 real coefoz(klon, llm, 7)96 real coefoz(klon, klev, 7) 99 97 ! (temporary storage for 7 ozone coefficients) 100 98 ! (On the partial "physics" grid. … … 102 100 ! middle of layer "k".) 103 101 104 real a6(klon, llm)102 real a6(klon, klev) 105 103 ! (derivative of "P_net_Mob" with respect to column-density of ozone 106 104 ! above, in cm2 s-1) … … 121 119 call assert((/size(rlat), size(paprs, 1), size(pplay, 1)/) == klon, & 122 120 "regr_pr_comb_coefoz klon") 123 call assert((/size(paprs, 2) - 1, size(pplay, 2)/) == llm, &124 "regr_pr_comb_coefoz llm")121 call assert((/size(paprs, 2) - 1, size(pplay, 2)/) == klev, & 122 "regr_pr_comb_coefoz klev") 125 123 126 124 !$omp master … … 150 148 r_het_interm = coefoz(:, :, 7) 151 149 ! Heterogeneous chemistry is only at high latitudes: 152 forall (k = 1: llm)150 forall (k = 1: klev) 153 151 where (abs(rlat) <= 45.) r_het_interm(:, k) = 0. 154 152 end forall
Note: See TracChangeset
for help on using the changeset viewer.