Ignore:
Timestamp:
Apr 6, 2016, 8:51:34 AM (9 years ago)
Author:
emillour
Message:

Venus and Titan GCMs:
Updates in the physics to keep up with updates in LMDZ5 (up to
LMDZ5 trunk, rev 2350) concerning dynamics/physics separation:

  • Adapted makelmdz and makelmdz_fcm script to stop if trying to compile 1d model or newstart or start2archive in parallel.
  • got rid of references to "dimensions.h" in physics. Within physics packages, use nbp_lon (=iim), nbp_lat (=jjmp1) and nbp_lev (=llm) from module mod_grid_phy_lmdz (in phy_common) instead. Only partially done for Titan, because of many hard-coded commons; a necessary first step will be to clean these up (using modules).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/calchim.F

    r1379 r1530  
    1919      USE comgeomphy,  only: rlatd
    2020      USE moyzon_mod, only: tmoy,playmoy,zlaymoy,zlevmoy,klat
     21      use mod_grid_phy_lmdz, only: nbp_lat
    2122      implicit none
    22 #include "dimensions.h"
    2323#include "clesphys.h"
    24 #include "paramet.h"
    2524#include "YOMCST.h"
    2625
     
    105104c ************************************
    106105
    107         allocate(krpd(15,ND+1,NLRT,jjp1),krate(NLEV,NR),md(NLEV,NC))
     106        allocate(krpd(15,ND+1,NLRT,nbp_lat),krate(NLEV,NR),md(NLEV,NC))
    108107
    109108c Verification du nombre de composes: coherence common_mod et nqmax-nmicro
     
    265264c taux de photodissociations:
    266265c --------------------------
    267         call disso(krpd,jjp1)
     266        call disso(krpd,nbp_lat)
    268267
    269268c reactions chimiques:
Note: See TracChangeset for help on using the changeset viewer.