Changeset 2319 for trunk/ICOSA_LMDZ/src


Ignore:
Timestamp:
May 12, 2020, 4:37:05 PM (5 years ago)
Author:
emillour
Message:

Dynamico-Venus interface:

  • Update to follow up with changes in argument list of physiq() from r2125
  • correct an OpenMP statement

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/src/phyvenus/interface_icosa_lmdz.f90

    r2084 r2319  
    486486!$OMP THREADPRIVATE(p_layer_phy)
    487487    REAL(rstd),ALLOCATABLE,SAVE :: pk_phy(:,:)
    488 !$OMP THREADPRIVATE(p_layer_phy)
     488!$OMP THREADPRIVATE(pk_phy)
    489489    REAL(rstd),ALLOCATABLE,SAVE :: Temp_phy(:,:)
    490490!$OMP THREADPRIVATE(Temp_phy)
     
    516516    LOGICAL,SAVE :: first=.TRUE.
    517517!$OMP THREADPRIVATE(first)
    518     REAL(rstd),ALLOCATABLE,SAVE :: plevmoy(:)
    519 !$OMP THREADPRIVATE(plevmoy)
    520     REAL(rstd),ALLOCATABLE,SAVE :: tmoy(:)
    521 !$OMP THREADPRIVATE(tmoy)
    522518   
    523519    IF(first) THEN
     
    553549      ALLOCATE(dq_phy(klon_omp,llm,nqtot))
    554550      ALLOCATE(dps_phy(klon_omp))
    555       ALLOCATE(plevmoy(llm+1))
    556       ALLOCATE(tmoy(llm))
    557551!$OMP BARRIER
    558552    ENDIF
     
    653647!$OMP BARRIER   
    654648
    655 ! NB: arguments plevmoy(:) planet-averaged mean pressure (Pa) at interlayers
    656 !     and tmoy(:) planet-averaged mean temperature (K) at mid-layers
    657 !     are an issue. For now we just set them to unphysical values
    658     plevmoy(:)=-999
    659     tmoy(:)=-999
    660     ! Ehouarn test: add some noise to ulon_phy and vlon_phy if they are zero
    661     IF(minval(ulon_phy).eq.maxval(ulon_phy)) ulon_phy(:,:)=1.e-15
    662     IF(minval(ulat_phy).eq.maxval(ulat_phy)) ulat_phy(:,:)=-1.e-15
    663649    CALL physiq(klon_omp, llm, nqtot, &
    664650                debut, lafin, &
     
    667653                phi_phy, phis_phy, presnivs, &
    668654                ulon_phy, ulat_phy, Temp_phy, q_phy, &
    669                 wflux_phy, plevmoy, tmoy, &
     655                wflux_phy, &
    670656                dulon_phy, dulat_phy, dTemp_phy, dq_phy, dps_phy)
    671657   
Note: See TracChangeset for help on using the changeset viewer.