Ignore:
Timestamp:
Jan 3, 2016, 11:16:34 AM (10 years ago)
Author:
Ehouarn Millour
Message:

Improving the physics/dynamics interface:

  • added module callphysiq_mod.F90 in dynphy_lonlat/phy* which contains the routine "call_physiq" which is called by calfis* and calls the physics. This way different "physiq" routine from different physics packages may be called: The calfis* routines now exposes all available fields that might be transmitted to physiq but which is actually send (ie: expected/needed by physiq) is decided in call_physiq.
  • turned "physiq.F90" into module "physiq_mod.F90" for better control of "physiq" arguments. Extracted embeded "gr_fi_ecrit" as self-standing routine (but note that this routine actually only works in serial mode).

EM

File:
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phydev/physiq_mod.F90

    r2416 r2418  
    11! $Id: physiq.F 1565 2011-08-31 12:53:29Z jghattas $
    2 !#define IO_DEBUG
     2MODULE physiq_mod
     3
     4IMPLICIT NONE
     5
     6CONTAINS
    37
    48      SUBROUTINE physiq (nlon,nlev, &
    59     &            debut,lafin,jD_cur, jH_cur,pdtphys, &
    610     &            paprs,pplay,pphi,pphis,presnivs, &
    7      &            u,v,rot,t,qx, &
     11     &            u,v,t,qx, &
    812     &            flxmass_w, &
    9      &            d_u, d_v, d_t, d_qx, d_ps &
    10      &            , dudyn)
     13     &            d_u, d_v, d_t, d_qx, d_ps)
    1114
    1215      USE dimphy, only : klon,klev
     
    5255      real,intent(out) :: d_qx(klon,klev,nqtot) ! physics tendency on tracers
    5356      real,intent(out) :: d_ps(klon) ! physics tendency on surface pressure
    54       real,intent(in) :: dudyn(nbp_lon+1,nbp_lat,klev) ! Not used
    55       REAL, intent(in):: rot(klon, klev) ! Not used
    56       ! relative vorticity, in s-1, needed for frontal waves
    5757
    5858integer,save :: itau=0 ! counter to count number of calls to physics
     
    200200
    201201end subroutine physiq
     202
     203END MODULE physiq_mod
Note: See TracChangeset for help on using the changeset viewer.