Changeset 4886


Ignore:
Timestamp:
Apr 1, 2024, 6:09:01 PM (8 months ago)
Author:
oboucher
Message:

Correcting a couple of bugs in the mass fixer for water vapour in the physics (the mass_fixer is switched to FALSE by default)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4881 r4886  
    24502450             qs_seri(i,k) = qx(i,k,isol)
    24512451             IF (ok_ice_sursat) THEN
    2452              rneb_seri(i,k) = qx(i,k,irneb)
     2452               rneb_seri(i,k) = qx(i,k,irneb)
    24532453             ENDIF
    24542454             IF (ok_bs) THEN
    2455              qbs_seri(i,k)= qx(i,k,ibs)
     2455               qbs_seri(i,k)= qx(i,k,ibs)
    24562456             ENDIF
    2457 
    24582457          ENDIF
    2459 
    2460 
    24612458       ENDDO
    24622459    ENDDO
     
    55885585    qql2(:)=0.0
    55895586    DO k = 1, klev
    5590       qql2(:)=qql2(:)+(q_seri(:,k)+ql_seri(:,k)+qs_seri(:,k))*zmasse(:,k)
     5587      qql2(:)=qql2(:)+(q_seri(:,k)+ql_seri(:,k)+qs_seri(:,k)+qbs_seri(:,k))*zmasse(:,k)
    55915588    ENDDO
    55925589
     
    56105607        q_seri(i,k) =q_seri(i,k)*corrqql
    56115608        ql_seri(i,k)=ql_seri(i,k)*corrqql
     5609        qs_seri(i,k)=qs_seri(i,k)*corrqql
     5610        qbs_seri(i,k)=qbs_seri(i,k)*corrqql
    56125611      ENDDO
    56135612    ENDDO
Note: See TracChangeset for help on using the changeset viewer.