Ignore:
Timestamp:
May 11, 2015, 7:54:05 AM (10 years ago)
Author:
aslmd
Message:

nophys LES. corrected a bug in parallel in heating rates prescription

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F

    r1388 r1425  
    166166   REAL, DIMENSION( ims:ime, jms:jme ), INTENT(INOUT)  :: PSFC,TSK
    167167   REAL, DIMENSION( ims:ime, kms:kme, jms:jme ), INTENT(OUT)  :: RTHBLTEN,RUBLTEN,RVBLTEN
    168    REAL,DIMENSION(:),ALLOCATABLE,SAVE :: dtsw,dtlw
     168   REAL,DIMENSION(:),ALLOCATABLE,SAVE :: dtrad
    169169#endif
    170170!-------------------------------------------
     
    14991499!!!!!!!!!!!!!!!!!!!
    15001500IF (firstcall .EQV. .true.) THEN
    1501   ALLOCATE(dtsw(nlayer))
    1502   ALLOCATE(dtlw(nlayer))
    1503   dtsw(1:nlayer) = M_Q2(1,1:nlayer,1)
    1504   dtlw(1:nlayer) = M_Q2(2,1:nlayer,2)
    1505 ENDIF
    1506 !print *, "SW", dtsw(kps:kpe) ! sw
    1507 !print *, "LW", dtlw(kps:kpe) ! lw
     1501  ALLOCATE(dtrad(nlayer))
     1502  dtrad(1:nlayer) = M_Q2(1,1:nlayer,1)
     1503  print *, "HEATING RATE", dtrad(kps:kpe)
     1504ENDIF
    15081505DO i= 1,ngrid
    1509   pdt(i,kps:kpe) = dtsw(1:nlayer) + dtlw(1:nlayer)
     1506  pdt(i,kps:kpe) = dtrad(1:nlayer)
    15101507ENDDO
    15111508!!!!!!!!!!!!!!!!!!!
Note: See TracChangeset for help on using the changeset viewer.