Changeset 1590 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Aug 30, 2016, 3:04:29 PM (8 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/comm_wrf.F90
r1236 r1590 3 3 !! 4 4 !! This module is useful to output fields in WRF style 5 !! -- useful for diagnostics that are not already in modules 5 6 !! 6 7 … … 23 24 integer,intent(in) :: ngrid ! number of atmospheric columns 24 25 integer,intent(in) :: nlayer ! number of atmospheric layers 25 allocate(comm_HR_SW(ngrid,nlayer))26 allocate(comm_HR_LW(ngrid,nlayer))27 allocate(comm_SWDOWNZ(ngrid))28 allocate(comm_TAU_DUST(ngrid))29 allocate(comm_RDUST(ngrid,nlayer))30 allocate(comm_QSURFDUST(ngrid))31 allocate(comm_MTOT(ngrid))32 allocate(comm_ICETOT(ngrid))33 allocate(comm_VMR_ICE(ngrid,nlayer))34 allocate(comm_TAU_ICE(ngrid))35 allocate(comm_RICE(ngrid,nlayer))26 if (.not.allocated(comm_HR_SW)) allocate(comm_HR_SW(ngrid,nlayer)) 27 if (.not.allocated(comm_HR_LW)) allocate(comm_HR_LW(ngrid,nlayer)) 28 if (.not.allocated(comm_SWDOWNZ)) allocate(comm_SWDOWNZ(ngrid)) 29 if (.not.allocated(comm_TAU_DUST)) allocate(comm_TAU_DUST(ngrid)) 30 if (.not.allocated(comm_RDUST)) allocate(comm_RDUST(ngrid,nlayer)) 31 if (.not.allocated(comm_QSURFDUST)) allocate(comm_QSURFDUST(ngrid)) 32 if (.not.allocated(comm_MTOT)) allocate(comm_MTOT(ngrid)) 33 if (.not.allocated(comm_ICETOT)) allocate(comm_ICETOT(ngrid)) 34 if (.not.allocated(comm_VMR_ICE)) allocate(comm_VMR_ICE(ngrid,nlayer)) 35 if (.not.allocated(comm_TAU_ICE)) allocate(comm_TAU_ICE(ngrid)) 36 if (.not.allocated(comm_RICE)) allocate(comm_RICE(ngrid,nlayer)) 36 37 end subroutine allocate_comm_wrf 37 38 -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1579 r1590 1993 1993 !! --> example : hfmax_th, zmax_th 1994 1994 1995 CALL allocate_comm_wrf(ngrid,nlayer) 1996 1995 1997 !state real HR_SW ikj misc 1 - h "HR_SW" "HEATING RATE SW" "K/s" 1996 1998 comm_HR_SW(1:ngrid,1:nlayer) = zdtsw(1:ngrid,1:nlayer)
Note: See TracChangeset
for help on using the changeset viewer.