Changeset 3661 for trunk/LMDZ.TITAN/libf/phytitan/comm_wrf.F90
- Timestamp:
- Feb 27, 2025, 2:53:11 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/comm_wrf.F90
r2291 r3661 18 18 REAL,SAVE,ALLOCATABLE :: comm_FLUXSURF_LW(:) 19 19 REAL,SAVE,ALLOCATABLE :: comm_FLXGRD(:) 20 REAL,SAVE,ALLOCATABLE :: comm_zqfi_omp(:,:,:) 21 REAL,SAVE,ALLOCATABLE :: comm_zdtlc(:,:) 20 22 21 23 contains 22 24 23 subroutine allocate_comm_wrf(ngrid,nlayer )25 subroutine allocate_comm_wrf(ngrid,nlayer,nq) 24 26 implicit none 25 integer,intent(in) :: ngrid ! number of atmospheric columns27 integer,intent(in) :: ngrid ! number of atmospheric columns 26 28 integer,intent(in) :: nlayer ! number of atmospheric layers 29 integer,intent(in) :: nq ! number of tracers 27 30 allocate(comm_HR_SW(ngrid,nlayer)) 28 31 allocate(comm_HR_LW(ngrid,nlayer)) … … 38 41 allocate(comm_FLUXSURF_LW(ngrid)) 39 42 allocate(comm_FLXGRD(ngrid)) 43 allocate(comm_zqfi_omp(ngrid,nlayer,nq)) 44 allocate(comm_zdtlc(ngrid,nlayer)) 40 45 41 46 end subroutine allocate_comm_wrf … … 56 61 deallocate(comm_FLUXSURF_LW) 57 62 deallocate(comm_FLXGRD) 63 deallocate(comm_zqfi_omp) 64 deallocate(comm_zdtlc) 58 65 59 66 end subroutine deallocate_comm_wrf
Note: See TracChangeset
for help on using the changeset viewer.