- Timestamp:
- Aug 25, 2015, 1:40:19 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/aaam_bud.F90
r2346 r2350 6 6 7 7 USE dimphy 8 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat 8 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo 9 9 IMPLICIT NONE 10 10 ! ====================================================================== … … 127 127 hadley = 1.E18 128 128 hadday = 1.E18*24.*3600. 129 dlat = xpi/real(nbp_lat-1) 129 IF(klon_glo.EQ.1) THEN 130 dlat = xpi 131 ELSE 132 dlat = xpi/real(nbp_lat-1) 133 ENDIF 130 134 dlon = 2.*xpi/real(nbp_lon) 131 135 -
LMDZ5/trunk/libf/phylmd/iophy.F90
r2346 r2350 76 76 77 77 !$OMP MASTER 78 ALLOCATE(io_lat(nbp_lat-1/(nbp_lon*(nbp_lat-1)))) 79 io_lat(1)=rlat_glo(1) 80 io_lat(nbp_lat-1/(nbp_lon*(nbp_lat-1)))=rlat_glo(klon_glo) 81 IF ((nbp_lon*nbp_lat) > 1) then 78 ALLOCATE(io_lat(nbp_lat)) 79 IF (klon_glo == 1) THEN 80 io_lat(1)=rlat_glo(1) 81 ELSE 82 io_lat(1)=rlat_glo(1) 83 io_lat(nbp_lat)=rlat_glo(klon_glo) 82 84 DO i=2,nbp_lat-1 83 85 io_lat(i)=rlat_glo(2+(i-2)*nbp_lon)
Note: See TracChangeset
for help on using the changeset viewer.