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/ajsec.F

    r1048 r1530  
    77
    88      use dimphy
     9      use mod_grid_phy_lmdz, only: nbp_lev
    910      use cpdet_mod, only: t2tpot, tpot2t
    1011      IMPLICIT none
     
    2728c d_qfi-----output-R-Incrementation des traceurs
    2829c======================================================================
    29 #include "dimensions.h"
    3030#include "YOMCST.h"
    3131      REAL paprs(klon,klev+1), pplay(klon,klev)
     
    6666c------------------------------------- passage en temperature potentielle
    6767! ADAPTATION GCM POUR CP(T)
    68       call t2tpot(klon*llm,tfi,zh,ppk)
     68      call t2tpot(klon*nbp_lev,tfi,zh,ppk)
    6969c
    7070      DO k = limbas, limhau
     
    168168c------------------------------------- et calcul du d_t
    169169! ADAPTATION GCM POUR CP(T)
    170       call tpot2t(klon*llm,zh,zt,ppk)
     170      call tpot2t(klon*nbp_lev,zh,zt,ppk)
    171171
    172172      DO k = limbas, limhau
Note: See TracChangeset for help on using the changeset viewer.