Skip to content
Snippets Groups Projects
Commit d5bdd52d authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Benoit V. 03/03/2020: minor corrections on activation of water deposition on...

Benoit V. 03/03/2020: minor corrections on activation of water deposition on the ground and restrict a test for depot
parent 2ff9ae2d
No related branches found
No related tags found
No related merge requests found
...@@ -623,7 +623,7 @@ END IF ...@@ -623,7 +623,7 @@ END IF
IF (LWARM .AND. LDEPOC) THEN IF (LWARM .AND. LDEPOC) THEN
PINDEP(:,:)=0. PINDEP(:,:)=0.
GDEP(:,:) = .FALSE. GDEP(:,:) = .FALSE.
GDEP(:,:) = ZRCS(:,:,IKB) >0 .AND. ZCCS(:,:,IKB) >0 GDEP(:,:) = ZRCS(:,:,IKB) >0 .AND. ZCCS(:,:,IKB) >0 .AND. ZRCT(:,:,IKB) >0 .AND. ZCCT(:,:,IKB) >0
WHERE (GDEP) WHERE (GDEP)
ZRCS(:,:,IKB) = ZRCS(:,:,IKB) - XVDEPOC * ZRCT(:,:,IKB) / PDZZ(:,:,IKB) ZRCS(:,:,IKB) = ZRCS(:,:,IKB) - XVDEPOC * ZRCT(:,:,IKB) / PDZZ(:,:,IKB)
ZCCS(:,:,IKB) = ZCCS(:,:,IKB) - XVDEPOC * ZCCT(:,:,IKB) / PDZZ(:,:,IKB) ZCCS(:,:,IKB) = ZCCS(:,:,IKB) - XVDEPOC * ZCCT(:,:,IKB) / PDZZ(:,:,IKB)
......
...@@ -127,7 +127,7 @@ END MODULE MODI_LIMA_WARM ...@@ -127,7 +127,7 @@ END MODULE MODI_LIMA_WARM
!! C. Barthe * LACy * jan. 2014 add budgets !! C. Barthe * LACy * jan. 2014 add budgets
!! J. Escobar : for real*4 , use XMNH_HUGE !! J. Escobar : for real*4 , use XMNH_HUGE
!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O !! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
!! !! B.Vié 03/02/2020 : correction of activation of water deposition on the ground
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! !
!* 0. DECLARATIONS !* 0. DECLARATIONS
...@@ -231,7 +231,7 @@ REAL, DIMENSION(:,:,:,:), ALLOCATABLE :: ZNAS ! Cloud C. nuclei C. source ...@@ -231,7 +231,7 @@ REAL, DIMENSION(:,:,:,:), ALLOCATABLE :: ZNAS ! Cloud C. nuclei C. source
! !
! !
REAL, DIMENSION(SIZE(PRHODREF,1),SIZE(PRHODREF,2),SIZE(PRHODREF,3)) & REAL, DIMENSION(SIZE(PRHODREF,1),SIZE(PRHODREF,2),SIZE(PRHODREF,3)) &
:: ZT, ZTM :: ZT
REAL, DIMENSION(SIZE(PRHODREF,1),SIZE(PRHODREF,2),SIZE(PRHODREF,3)) & REAL, DIMENSION(SIZE(PRHODREF,1),SIZE(PRHODREF,2),SIZE(PRHODREF,3)) &
:: ZWLBDR,ZWLBDR3,ZWLBDC,ZWLBDC3 :: ZWLBDR,ZWLBDR3,ZWLBDC,ZWLBDC3
INTEGER :: JL INTEGER :: JL
...@@ -305,11 +305,6 @@ WHERE (PRRT(:,:,:)>XRTMIN(3) .AND. PCRT(:,:,:)>XCTMIN(3)) ...@@ -305,11 +305,6 @@ WHERE (PRRT(:,:,:)>XRTMIN(3) .AND. PCRT(:,:,:)>XCTMIN(3))
ZWLBDR(:,:,:) = ZWLBDR3(:,:,:)**XLBEXR ZWLBDR(:,:,:) = ZWLBDR3(:,:,:)**XLBEXR
END WHERE END WHERE
ZT(:,:,:) = PTHT(:,:,:) * (PPABST(:,:,:)/XP00)**(XRD/XCPD) ZT(:,:,:) = PTHT(:,:,:) * (PPABST(:,:,:)/XP00)**(XRD/XCPD)
IF( OACTIT ) THEN
ZTM(:,:,:) = PTHM(:,:,:) * (PPABSM(:,:,:)/XP00)**(XRD/XCPD)
ELSE
ZTM(:,:,:) = ZT(:,:,:)
END IF
! !
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! !
...@@ -338,7 +333,7 @@ END IF ...@@ -338,7 +333,7 @@ END IF
IF (LDEPOC) THEN IF (LDEPOC) THEN
PINDEP(:,:)=0. PINDEP(:,:)=0.
GDEP(:,:) = .FALSE. GDEP(:,:) = .FALSE.
GDEP(:,:) = PRCS(:,:,2) >0 .AND. PCCS(:,:,2) >0 GDEP(:,:) = PRCS(:,:,2) >0 .AND. PCCS(:,:,2) >0 .AND. PRCT(:,:,2) >0 .AND. PCCT(:,:,2) >0
WHERE (GDEP) WHERE (GDEP)
PRCS(:,:,2) = PRCS(:,:,2) - XVDEPOC * PRCT(:,:,2) / ( PZZ(:,:,3) - PZZ(:,:,2)) PRCS(:,:,2) = PRCS(:,:,2) - XVDEPOC * PRCT(:,:,2) / ( PZZ(:,:,3) - PZZ(:,:,2))
PCCS(:,:,2) = PCCS(:,:,2) - XVDEPOC * PCCT(:,:,2) / ( PZZ(:,:,3) - PZZ(:,:,2)) PCCS(:,:,2) = PCCS(:,:,2) - XVDEPOC * PCCT(:,:,2) / ( PZZ(:,:,3) - PZZ(:,:,2))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment