Changeset 1507 for trunk/LMDZ.GENERIC
- Timestamp:
- Jan 13, 2016, 9:09:01 AM (9 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r1498 r1507 1109 1109 == 13/11/2015 == MT 1110 1110 - Spectral Snow Albebdo implemented in the code. 1111 1112 == 13/01/2016 == EM 1113 - Fix/improvement on planetwide_min/max/sum for the 3D fields which assumed the vertical dimension to be klev. 1114 Now works for any (klon,...) field (e.g. albedo). 1115 -
trunk/LMDZ.GENERIC/libf/phystd/planetwide_mod.F90
r1295 r1507 50 50 51 51 subroutine planetwide_maxval_i2(values,values_max) 52 use dimphy, only: klon , klev53 use mod_grid_phy_lmdz, only : klon_glo 54 implicit none 55 integer,intent(in) :: values(:,:) ! local grid (klon, klev)56 integer,intent(out) :: values_max 57 #ifdef CPP_PARA 58 integer :: values_glo(klon_glo, klev) ! global grid52 use dimphy, only: klon 53 use mod_grid_phy_lmdz, only : klon_glo 54 implicit none 55 integer,intent(in) :: values(:,:) ! local grid (klon,...) 56 integer,intent(out) :: values_max 57 #ifdef CPP_PARA 58 integer :: values_glo(klon_glo,size(values,2)) ! global grid 59 59 60 60 ! gather field on master: … … 94 94 95 95 subroutine planetwide_maxval_r2(values,values_max) 96 use dimphy, only: klon , klev97 use mod_grid_phy_lmdz, only : klon_glo 98 implicit none 99 real,intent(in) :: values(:,:) ! local grid (klon, klev)100 real,intent(out) :: values_max 101 #ifdef CPP_PARA 102 real :: values_glo(klon_glo, klev) ! global grid96 use dimphy, only: klon 97 use mod_grid_phy_lmdz, only : klon_glo 98 implicit none 99 real,intent(in) :: values(:,:) ! local grid (klon,...) 100 real,intent(out) :: values_max 101 #ifdef CPP_PARA 102 real :: values_glo(klon_glo,size(values,2)) ! global grid 103 103 104 104 ! gather field on master: … … 140 140 141 141 subroutine planetwide_minval_i2(values,values_max) 142 use dimphy, only: klon , klev143 use mod_grid_phy_lmdz, only : klon_glo 144 implicit none 145 integer,intent(in) :: values(:,:) ! local grid (klon, klev)146 integer,intent(out) :: values_max 147 #ifdef CPP_PARA 148 integer :: values_glo(klon_glo, klev) ! global grid142 use dimphy, only: klon 143 use mod_grid_phy_lmdz, only : klon_glo 144 implicit none 145 integer,intent(in) :: values(:,:) ! local grid (klon,...) 146 integer,intent(out) :: values_max 147 #ifdef CPP_PARA 148 integer :: values_glo(klon_glo,size(values,2)) ! global grid 149 149 150 150 ! gather field on master: … … 184 184 185 185 subroutine planetwide_minval_r2(values,values_max) 186 use dimphy, only: klon , klev187 use mod_grid_phy_lmdz, only : klon_glo 188 implicit none 189 real,intent(in) :: values(:,:) ! local grid (klon, klev)190 real,intent(out) :: values_max 191 #ifdef CPP_PARA 192 real :: values_glo(klon_glo, klev) ! global grid186 use dimphy, only: klon 187 use mod_grid_phy_lmdz, only : klon_glo 188 implicit none 189 real,intent(in) :: values(:,:) ! local grid (klon,...) 190 real,intent(out) :: values_max 191 #ifdef CPP_PARA 192 real :: values_glo(klon_glo,size(values,2)) ! global grid 193 193 194 194 ! gather field on master: … … 230 230 231 231 subroutine planetwide_sumval_i2(values,values_sum) 232 use dimphy, only: klon , klev233 use mod_grid_phy_lmdz, only : klon_glo 234 implicit none 235 integer,intent(in) :: values(:,:) ! local grid (klon, klev)232 use dimphy, only: klon 233 use mod_grid_phy_lmdz, only : klon_glo 234 implicit none 235 integer,intent(in) :: values(:,:) ! local grid (klon,...) 236 236 integer,intent(out) :: values_sum 237 237 #ifdef CPP_PARA 238 integer :: values_glo(klon_glo, klev) ! global grid238 integer :: values_glo(klon_glo,size(values,2)) ! global grid 239 239 240 240 ! gather field on master: … … 274 274 275 275 subroutine planetwide_sumval_r2(values,values_sum) 276 use dimphy, only: klon , klev277 use mod_grid_phy_lmdz, only : klon_glo 278 implicit none 279 real,intent(in) :: values(:,:) ! local grid (klon, klev)276 use dimphy, only: klon 277 use mod_grid_phy_lmdz, only : klon_glo 278 implicit none 279 real,intent(in) :: values(:,:) ! local grid (klon,...) 280 280 real,intent(out) :: values_sum 281 281 #ifdef CPP_PARA 282 real :: values_glo(klon_glo, klev) ! global grid282 real :: values_glo(klon_glo,size(values,2)) ! global grid 283 283 284 284 ! gather field on master:
Note: See TracChangeset
for help on using the changeset viewer.