Ignore:
Timestamp:
Oct 25, 2016, 9:23:21 AM (8 years ago)
Author:
emillour
Message:

Further work on full dynamics/physics separation.

LMDZ.COMMON:

  • added phy_common/vertical_layers_mod.F90 to store information on vertical grid. This is where routines in the physics should get the information.
  • The contents of vertical_layers_mod intialized via dynphy_lonlat/inigeomphy_mod.F90.

LMDZ.MARS:

  • physics now completely decoupled from dynamics; the physics package may now be compiled as a library (-libphy option of makelmdz_fcm).
  • created an "ini_tracer_mod" routine in module "tracer_mod" for a cleaner initialization of the later.
  • removed some purely dynamics-related outputs (etot0, zoom parameters, etc.) from diagfi.nc and stats.nc outputs as these informations are not available in the physics.

LMDZ.GENERIC:

  • physics now completely decoupled from dynamics; the physics package may now be compiled as a library (-libphy option of makelmdz_fcm).
  • added nqtot to tracer_h.F90.
  • removed some purely dynamics-related outputs (etot0, zoom parameters, etc.) from diagfi.nc and stats.nc outputs as these informations are not available in the physics.

LMDZ.VENUS:

  • physics now completely decoupled from dynamics; the physics package may now be compiled as a library (-libphy option of makelmdz_fcm).
  • added infotrac_phy.F90 to store information on tracers in the physics. Initialized via iniphysiq.
  • added cpdet_phy_mod.F90 to store t2tpot etc. functions to be used in the physics. Initialized via iniphysiq. IMPORTANT: there are some hard-coded constants! These should match what is in cpdet_mod.F90 in the dynamics.
  • got rid of references to moyzon_mod module within the physics. The required variables (tmoy, plevmoy) are passed to the physics as arguments to physiq.

LMDZ.TITAN:

  • added infotrac_phy.F90 to store information on tracers in the physics. Initialized via iniphysiq.
  • added cpdet_phy_mod.F90 to store t2tpot etc. functions to be used in the physics.
  • Extra work required to completely decouple physics and dynamics: moyzon_mod should be cleaned up and information passed from dynamics to physics as as arguments. Likewise moyzon_ch and moyzon_mu should not be queried from logic_mod (which is in the dynamics).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/moldiff_red.F90

    r1609 r1621  
    33
    44USE chemparam_mod
    5 USE infotrac
     5USE infotrac_phy
    66USE dimphy   
    77
     
    935935        SUBROUTINE QMNEW(Q1,DQ,Q2,dtime,nl,nq,gc,ig)
    936936        use chemparam_mod
    937         use infotrac
     937        use infotrac_phy
    938938        IMPLICIT NONE
    939939
     
    971971        SUBROUTINE MMOY(massemoy,mol_tr,qq,gc,nl,nq)
    972972        use chemparam_mod
    973         use infotrac
     973        use infotrac_phy
    974974        IMPLICIT NONE
    975975
     
    10571057     & Nraf,Nrafk,Rraf,Rrafk,il,nl,nq,nlx,ig)
    10581058        use chemparam_mod
    1059         use infotrac
     1059        use infotrac_phy
    10601060        IMPLICIT NONE
    10611061#include "YOMCST.h"
     
    14011401     &    pp,M,gc,nl,nq,nlx,ig)
    14021402        use chemparam_mod
    1403         use infotrac
     1403        use infotrac_phy
    14041404        IMPLICIT NONE
    14051405#include "YOMCST.h"
Note: See TracChangeset for help on using the changeset viewer.