Changeset 2599


Ignore:
Timestamp:
Jul 22, 2016, 4:05:15 PM (8 years ago)
Author:
Ehouarn Millour
Message:

Update for phymar which should have been done with revision 2315.
Introduce module vertical_layers_mod to store information on the
vertical grid to be used within the physics (rather than including
the dynamics-related comvert.h).
EM

Location:
LMDZ5/trunk/libf
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynphy_lonlat/phymar/iniphysiq_mod.F90

    r2588 r2599  
    1313  USE dimphy, ONLY: init_dimphy
    1414  USE inigeomphy_mod, ONLY: inigeomphy
     15  USE vertical_layers_mod, ONLY : init_vertical_layers
    1516  USE infotrac, ONLY: nqtot
    1617  USE comcstphy, ONLY: rradius, & ! planet radius (m)
     
    2829 
    2930 
     31  include "dimensions.h"
     32  include "comvert.h"
    3033  include "iniprint.h"
    3134
     
    6972!$OMP PARALLEL
    7073
     74  ! copy over preff , ap(), bp(), etc
     75  CALL init_vertical_layers(nlayer,preff,scaleheight, &
     76                            ap,bp,presnivs,pseudoalt)
     77
    7178  ! Initialize tracer names, numbers, etc. for physics
    7279  CALL init_infotrac_phy(nqtot)
  • LMDZ5/trunk/libf/phymar/iophys.F90

    r2089 r2599  
    6969      SUBROUTINE iophys_ini
    7070      USE mod_phys_lmdz_para
     71      USE vertical_layers_mod, ONLY: presnivs
     72      USE regular_lonlat_mod, ONLY: lon_reg, lat_reg
     73      USE dimphy, ONLY: klev
    7174
    7275      IMPLICIT NONE
     
    8891!   -------------
    8992
    90 #include "dimensions.h"
    91 #include "paramet.h"
    92 #include "comgeom.h"
    93 #include "comvert.h"
    94 
    9593real pi
    9694
     
    102100pi=2.*asin(1.)
    103101call iotd_ini('phys.nc   ', &
    104 iim,jjp1,llm,rlonv(1:iim)*180./pi,rlatu*180./pi,presnivs)
     102!iim,jjp1,llm,rlonv(1:iim)*180./pi,rlatu*180./pi,presnivs)
     103size(lon_reg),size(lat_reg),klev,lon_reg(:)*180./pi,lat_reg*180./pi,presnivs)
    105104    ENDIF
    106105!$OMP END MASTER
  • LMDZ5/trunk/libf/phymar/physiq_mod.F90

    r2418 r2599  
    2929      USE mod_phys_lmdz_para, only : jj_nb
    3030      USE phys_state_var_mod, only : phys_state_var_init
     31      USE vertical_layers_mod, ONLY: ap, bp
    3132! Modules LMDZ utilisés pour LMDZ-MAR:
    3233      USE control_mod     
     
    5253#include "dimensions.h"
    5354! Include LMDZ utilisés ici pour MAR-LMDZ:
    54 #include "comvert.h"
    5555#include "YOMCST.h"
    5656
Note: See TracChangeset for help on using the changeset viewer.